我正在尝试使用在 Angular 项目中安装 mqtt,npm i ngx-mqtt
但出现以下与angular-devkit
. 我已经在使用"@angular-devkit/build-angular": "^0.803.24"
它,它已安装并且我正在使用Angular 8
.
[Error: ENOENT: no such file or directory, open '**PATH**\node_modules\@angular-devkit\build-angular\src\webpack\configs\browser.js'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'PATH\\node_modules\\@angular-devkit\\build-angular\\src\\webpack\\configs\\browser.js'
}
**PATH**\node_modules\ngx-mqtt\postinstall.js:12
throw err;
^
[Error: ENOENT: no such file or directory, open '**PATH**\node_modules\@angular-devkit\build-angular\src\webpack\configs\browser.js'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: '**PATH**\\node_modules\\@angular-devkit\\build-angular\\src\\webpack\\configs\\browser.js'
}
有任何想法吗?