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

Running into an error with npm install #192

Closed
alecnicolas opened this issue Dec 15, 2019 · 5 comments
Closed

Running into an error with npm install #192

alecnicolas opened this issue Dec 15, 2019 · 5 comments

Comments

@alecnicolas
Copy link

alecnicolas commented Dec 15, 2019

Using https://developer.okta.com/blog/2019/05/13/angular-8-spring-boot-2 to set up Okta on an Angular and Spring app.

Upon running ng add @oktadev/schematics:

ENOENT: no such file or directory, open './package-lock.json'

@frlzjosh
Copy link

frlzjosh commented Dec 15, 2019

I get the same issue when runningng add @oktadev/schematics as well as with yarn. The error is always ends up being:

npx npm-force-resolutions
Arguments:
Directory: <app-folder-directory>/@oktadev/schematics
Output:

@mraible
Copy link
Contributor

mraible commented Dec 15, 2019 via email

@mraible
Copy link
Contributor

mraible commented Dec 15, 2019

Thanks for reporting this issue. Fixing now...

@mraible
Copy link
Contributor

mraible commented Jan 5, 2020

Should be fixed now.

@mraible mraible closed this as completed Jan 5, 2020
@bertyhell
Copy link

For future reference this was fixed by removing the npx npm-force-resolutions command from package json:
1d228f3

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

4 participants