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

Hiccups upgrading from 0.7.4 to 0.8.0 #301

Closed
dereklin opened this issue Mar 1, 2018 · 3 comments
Closed

Hiccups upgrading from 0.7.4 to 0.8.0 #301

dereklin opened this issue Mar 1, 2018 · 3 comments
Labels

Comments

@dereklin
Copy link

dereklin commented Mar 1, 2018

I manually changed these to:

    "@nrwl/nx": "0.8.0",
    "@nrwl/schematics": "0.8.0",
    "@angular/cli": "1.7.1",

I ran

npm i
npm nx-migrate
npm i
npm run update
npm i

I can see that @angular-devkit/schematics and some others were removed by the migration/update

Then I did

ng generate lib test --dry-run

I got:

Cannot find module '@angular-devkit/schematics'
Error: Cannot find module '@angular-devkit/schematics'
    at Function.Module._resolveFilename (module.js:542:15)
    at Function.Module._load (module.js:472:25)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)
@dereklin
Copy link
Author

dereklin commented Mar 2, 2018

removing node_modules and package-lock.json and npm i again made it work

@dereklin dereklin closed this as completed Mar 2, 2018
@Yonet
Copy link
Contributor

Yonet commented Mar 2, 2018

@dereklin can you check your local version of your nrwl node_modules. You don't need the @angular-devkit/schematics with 0.8.0.

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants