Closed abhijeetkpawar closed 6 years ago
The problem is actually here: https://github.com/okta/samples-js-angular-1/blob/master/scripts/build-frontend.js#L23
I'm not yet sure how to fix this so it works under Windows.
It's actually trying to set up an env variable.
In windows, it works like set Foo=bar;
.
Give an shot to see if fix in your local?
An general fix might be executing OS oriented scripts.
If you made it here and just want the quick fix, click the Windows build fix # 19 above to see what to change in your \node_modules\@okta\samples-js-angular-1\scripts\build-frontend.js
there is some discussion about how to fix more properly, but until pull request accepted or fixed another way, since you're just running a sample project.... Thanks @abhijeetkpawar !
The downstream fix for build-frontend.js
has been merged. Also, this repo will be significantly overhauled in #31 and we're testing to make sure Windows works just fine. 😄
Closing this as the issue should be fixed now, but if anyone runs into more build problems, please open new issues. Thanks for your patience y'all!
npm start
gives following error: