javascript - 未找到外部依赖/回购
问题描述
Live Development Server 正在监听 localhost:3000,在http://localhost:3000/上打开浏览器**
92% additional asset processing scripts-webpack-plugin× 「wdm」: Error: ENOENT: no such file or directory, open 'E:\SVN\Agilent-bildZoom\node_modules\skycons\skycons.js'
at Object.openSync (fs.js:438:3)
at Object.readFileSync (fs.js:343:35)
at Storage.provideSync (E:\SVN\Agilent-bildZoom\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:98:13)
at CachedInputFileSystem.readFileSync (E:\SVN\Agilent-bildZoom\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:259:32)
at Observable.rxjs_1.Observable.obs [as _subscribe] (E:\SVN\Agilent-bildZoom\node_modules\@ngtools\webpack\src\webpack-input-host.js:35:51)
at Observable._trySubscribe (E:\SVN\Agilent-bildZoom\node_modules\@ngtools\webpack\node_modules\rxjs\internal\Observable.js:44:25)
at Observable.subscribe (E:\SVN\Agilent-bildZoom\node_modules\@ngtools\webpack\node_modules\rxjs\internal\Observable.js:30:22)
at SyncDelegateHost._doSyncCall (E:\SVN\Agilent-bildZoom\node_modules\@angular-devkit\core\src\virtual-fs\host\sync.js:22:20)
at SyncDelegateHost.read (E:\SVN\Agilent-bildZoom\node_modules\@angular-devkit\core\src\virtual-fs\host\sync.js:49:21)
at WebpackCompilerHost.readFileBuffer (E:\SVN\Agilent-bildZoom\node_modules\@ngtools\webpack\src\compiler_host.js:125:44)
at VirtualFileSystemDecorator.readFile (E:\SVN\Agilent-bildZoom\node_modules\@ngtools\webpack\src\virtual_file_system_decorator.js:39:54)
at Promise (E:\SVN\Agilent-bildZoom\node_modules\@angular-devkit\build-angular\src\angular-cli-files\plugins\scripts-webpack-plugin.js:69:49)s-webpack-plugin.js:69:49)
at new Promise (<anonymous>)
at scripts.map.fullPath (E:\SVN\Agilent-bildZoom\node_modules\@angular-devkit\build-angular\src\angular-cli-files\plugins\scripts-webpack-plugin.js:68:24)
at Array.map (<anonymous>)
at hook (E:\SVN\Agilent-bildZoom\node_modules\@angular-devkit\build-angular\src\angular-cli-files\plugins\scripts-webpack-plugin.js:67:43)
解决方案
'E:\SVN\Agilent-bildZoom\node_modules\skycons\skycons.js'
- webpack 在错误中所述的位置找不到此文件。
所以检查你的 node_modules 并确保你在你的 angular.json 中正确地引用了它。
推荐阅读
- graphql - 我可以将 GraphQL 用于 mongoDB 或 mySQL 吗?
- c# - 带有字符串连接的 LINQ 动态表达式
- python - 根据其他列表中的元素对元组列表进行排序
- c# - 如何让 HttpListener 在 Mac OS 上监听 443?
- express - 在计算机上开发后端并在真实的移动设备上进行测试?
- c# - 查找申请人的当前网址
- c# - 重新加载场景后,GameObject.Find 在 Android 构建中不起作用
- javascript - 有没有办法阻止用户在他/她至少移动滑块(输入类型=范围)之前提交表单?
- mysql - mysql多个相似表查询[好像不重复]
- java - 如何通过另一个类的分组来打印一个类中的数组列表?