Skip to content
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

Windows Issues to start project - 'STANDALONE_SAMPLE_BUILD' is not recognized as an internal or external command, operable program or batch file. #315

Open
sgp-tec360 opened this issue Oct 7, 2024 · 1 comment

Comments

@sgp-tec360
Copy link

When running on windows (11 with Visual Studio 2022 installed which installed git and node.js installed too), it gets this error from the Okta-hosted-login folder. 'STANDALONE_SAMPLE_BUILD' is not recognized as an internal or external command, operable program or batch file. If I do npm start in the previous foler, it starts a page where I am supposed to choose either project and then get an error where the route does not exist because its missing a folder /dist/index.html. Does anyone know how to make it run on windows? I am using the CMD.
image
image

@sgp-tec360
Copy link
Author

I think I found a workaround:

must run the app as npm run dev with the testenv file in place in the okta-hosted-login folder or one level up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant