简体   繁体   中英

Module not found: Error: Can't resolve 'module

I did an update from Angular 6 to Angular 8. I get this warning if I run ng serve :

WARNING in ./node_modules/typescript/lib/typescript.js 94814:19-45
Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/source-map-support/source-map-support.js
Module not found: Error: Can't resolve 'module' in 'C:\Soupport'

Nailing the source-map-support version to 0.4.3 indeed fixes the problem.

For more details : Module not found: Error: Cannot resolve module 'module' in [...]source-map-support

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM