-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
Versions
Angular CLI: 6.0.0
Node: 8.11.1
OS: darwin x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.6.0
@angular-devkit/build-angular 0.6.0
@angular-devkit/build-optimizer 0.6.0
@angular-devkit/core 0.6.0
@angular-devkit/schematics 0.6.0
@ngtools/webpack 6.0.0
@schematics/angular 0.6.0
@schematics/update 0.6.0
rxjs 6.1.0
typescript 2.7.2
webpack 4.6.0
Repro steps
- Update from Angular 5 to 6 using
ng updatefollowing official docs - Run
ng serve
Observed behavior
** Angular Live Development Server is listening on localhost: 4200, open your browser on http://localhost:4200/ **
u Date: 2018-05-08T15:54:59.281Z
Hash: da671adf478a1eedee6e
Time: 10345ms
chunk {main} main.js, main.js.map (main) 74.1 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 227 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.4 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 59.7 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 4.86 MB [initial] [rendered]
ERROR in ./node_modules/graceful-fs/polyfills.js
Module not found: Error: Can't resolve 'constants' in '/Users/joe/projects/verado/node_modules/graceful-fs'
ERROR in ./node_modules/graceful-fs/graceful-fs.js
Module not found: Error: Can't resolve 'fs' in '/Users/joe/projects/verado/node_modules/graceful-fs'
ERROR in ./node_modules/graceful-fs/fs.js
Module not found: Error: Can't resolve 'fs' in '/Users/joe/projects/verado/node_modules/graceful-fs'
ERROR in ./node_modules/node-localstorage/LocalStorage.js
Module not found: Error: Can't resolve 'fs' in '/Users/joe/projects/verado/node_modules/node-localstorage'
ERROR in ./node_modules/node-localstorage/LocalStorage.js
Module not found: Error: Can't resolve 'path' in '/Users/joe/projects/verado/node_modules/node-localstorage'
ERROR in ./node_modules/graceful-fs/legacy-streams.js
Module not found: Error: Can't resolve 'stream' in '/Users/joe/projects/verado/node_modules/graceful-fs'
ℹ 「wdm」: Failed to compile.
Desired behavior
It should compile successfully
Mention any other details that might be useful (optional)
I am currently talking with @SanderElias and both agree this is a cli issue as I don't have any external deps that use graceful-fs or node-localstorage
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels