It doesn't matter if I use the script or a globally installed @angular/cli I just keep getting this error:
Binary is fine
added 969 packages in 33.703s
Creating a new project...
Cannot find module '@angular-devkit/schematics'
Error: Cannot find module '@angular-devkit/schematics'
at Function.Module._resolveFilename (module.js:489:15)
at Function.Module._load (module.js:439:25)
at Module.require (module.js:517:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/@nrwl/schematics/src/application/index.js:11:20)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
Naturally I tried to install @angular-devkit/schematics but then the error changed to this one:
Cannot find module '@schematics/angular/strings'
Error: Cannot find module '@schematics/angular/strings'
at Function.Module._resolveFilename (module.js:489:15)
at Function.Module._load (module.js:439:25)
at Module.require (module.js:517:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/@nrwl/schematics/src/application/index.js:12:19)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
I'm not familiar enough with schematics and @schematics/angular/strings isn't a module (or, at least, I can't install it through yarn/npm. What's happening here?
I tried both the current and next scripts, and installing nx globally and everything is failing.
It doesn't matter if I use the script or a globally installed
@angular/cliI just keep getting this error:Naturally I tried to install
@angular-devkit/schematicsbut then the error changed to this one:I'm not familiar enough with schematics and
@schematics/angular/stringsisn't a module (or, at least, I can't install it through yarn/npm. What's happening here?I tried both the current and next scripts, and installing nx globally and everything is failing.