在终端中输入git credential-manager delete https://github.com/user1/repo1
命令时,出现以下错误:
user2
我已经使用以下命令来安装所需的依赖项:
ng serve
并且在 10% building 3/3 modules 0 activei 「wds」: Project is running at http://localhost:4200/webpack-dev-server/
i 「wds」: webpack output is served from /
i 「wds」: 404s will fallback to //index.html 92% additional asset processing scripts-webpack-plugin× 「wdm」: Error: ENOENT: no such file or directory, open 'C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\popper.js\dist\umd\popper.min.js'
at Object.openSync (fs.js:436:3)
at Object.readFileSync (fs.js:341:35)
at Storage.provideSync (C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:98:13)
at CachedInputFileSystem.readFileSync (C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:259:32)
at Observable.rxjs_1.Observable.obs [as _subscribe] (C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\@ngtools\webpack\src\webpack-input-host.js:35:51)
at Observable._trySubscribe (C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\rxjs\internal\Observable.js:44:25)
at Observable.subscribe (C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\rxjs\internal\Observable.js:30:22)
at SyncDelegateHost._doSyncCall (C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\@ngtools\webpack\node_modules\@angular-devkit\core\src\virtual-fs\host\sync.js:22:20)
at SyncDelegateHost.read (C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\@ngtools\webpack\node_modules\@angular-devkit\core\src\virtual-fs\host\sync.js:49:21)
at WebpackCompilerHost.readFileBuffer (C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\@ngtools\webpack\src\compiler_host.js:134:44)
at VirtualFileSystemDecorator.readFile (C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\@ngtools\webpack\src\virtual_file_system_decorator.js:42:54)
at Promise (C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\@angular-devkit\build-angular\src\angular-cli-files\plugins\scripts-webpack-plugin.js:69:49)
at new Promise (<anonymous>)
at scripts.map.fullPath (C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\@angular-devkit\build-angular\src\angular-cli-files\plugins\scripts-webpack-plugin.js:68:24)
at Array.map (<anonymous>)
at hook (C:\Users\Acer\Desktop\startup\ATM-Project\ATM-Project\ATM-Project\node_modules\@angular-devkit\build-angular\src\angular-cli-files\plugins\scripts-webpack-plugin.js:67:43)
中也尝试过此操作:
npm install jquery -- save
npm install jquery -- save
npm i @angular-devkit/build-webpack
但是他们都没有解决错误。
请有人可以帮助我吗?
答案 0 :(得分:1)
尝试在以下命令下运行:
npm install popper.js --save
该错误清除了404
路径的状态node_modules\popper.js\dist\umd\popper.min.js
。