/usr/local/lib/node_modules/@angular/cli/lib/init.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
at Function.resolve (internal/modules/cjs/helpers.js:99:19)
at SchematicEngineHost._resolveReferenceString (\<path_hidden>/node_modules/@angular/cli/models/schematic-engine-host.js:57:39)
at SchematicEngineHost.createSchematicDescription (\<path_hidden>/node_modules/@angular-devkit/schematics/tools/file-system-engine-host-base.js:181:34)
at SchematicEngine.createSchematic (\<path_hidden>/node_modules/@angular-devkit/schematics/src/engine/engine.js:228:38)
at UpdateCommand.executeMigrations (\<path_hidden>/node_modules/@angular/cli/commands/update-impl.js:168:52)
at UpdateCommand.run (\<path_hidden>/node_modules/@angular/cli/commands/update-impl.js:589:43)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async UpdateCommand.validateAndRun (\<path_hidden>/node_modules/@angular/cli/models/command.js:136:22)
Describe the bug
Update to
3.0.0
withng update apollo-angular
is failing for a project that was using2.6.0
.To Reproduce
Run
ng update apollo-angular
for a project that was using2.6.0
.Expected behavior
I expect the package to be installed and for the project to be updated according to the schematic logic.
Environment:
Additional context
[error] Error: Cannot find module '\<path_hidden>/node_modules/apollo-angular/schematics/migrations/v2' Require stack: