Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular6 ./node_modules/ng2 completer/esm5/ng2-completer.js未找到模块:错误_Angular6_Ng2 Smart Table - Fatal编程技术网

Angular6 ./node_modules/ng2 completer/esm5/ng2-completer.js未找到模块:错误

Angular6 ./node_modules/ng2 completer/esm5/ng2-completer.js未找到模块:错误,angular6,ng2-smart-table,Angular6,Ng2 Smart Table,smartTable在执行必要的npm安装后显示以下错误 ./node_modules/ng2 completer/esm5/ng2-completer.js 未找到模块:错误:无法解析“C:\POC\projectMgnt\node\u modules\ng2 completer\esm5”中的“rxjs/Observable” 但是,我可以看到esm5文件夹中有ng2 completer.js在项目目录中运行这两个命令。这个错误在我的案例中解决了 npm i rxjs-compat --sa

smartTable在执行必要的
npm
安装后显示以下错误

./node_modules/ng2 completer/esm5/ng2-completer.js 未找到模块:错误:无法解析“C:\POC\projectMgnt\node\u modules\ng2 completer\esm5”中的“rxjs/Observable”


但是,我可以看到
esm5
文件夹中有
ng2 completer.js

在项目目录中运行这两个命令。这个错误在我的案例中解决了

npm i rxjs-compat --save
npm i ng2-completer --save