-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testenv issue #82
Comments
I fixed the issue this way: Check the extra-webpack.config.js file. const TESTENV = path.resolve(__dirname, "..", "testenv"); You can console.log(TESTENV); then run ng serve and it'll print the file path in the console. Make sure the testenv file path is correct and it should start working. Changing the value ".." to "." worked for me. |
@staffordp - thanks for the report. Unfortunately, the testenv file isn't yet supported for this sample. See https://github.com/okta/samples-js-angular#running-the-tests - you'll have to export the values as environment variables, or do a work-around like @mrgrape suggests. |
Internal ref: OKTA-317699 |
Hello guys! Cannot run custom login page example. Got error on Mac: $ ng serve |
@a-titorenko this does not seem to be related to the SDK code - does clearing node_modules resolve this? Which Angular version you are using? |
I am following the documentation and have created a testenv file in the same directory as the README file.
I've tried pasting in our correct values, but I get the error below. Finally, I just copied the code from the README and pasted into:
Yet I get this error after running ng serve:
An unhandled exception occurred: Environment variable ISSUER must be set. See README.md
Not sure what I am doing wrong.
The text was updated successfully, but these errors were encountered: