oktadev/schematics

Running into an error with npm install

alecnicolas opened this issue · 5 comments

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'

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:

Thanks for reporting this issue. Fixing now...

Should be fixed now.

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