在生产环境中运行Angular 6时出现此错误。
91%Additional asset processing scripts webpack-plugin✖“wdm”:错误: ENOENT:没有这样的文件或目录,请打开'/var/www/client-admin/node_modules/jquery.flot.spline/jquery.flot.spline.js‘
有什么可行的解决方案吗?
发布于 2019-03-13 13:48:18
我在angular.json文件中做了一些小改动就解决了这个问题
"styles": [
"src/styles.css",
"node_modules/bootstrap/dist/css/bootstrap.min.css"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
"node_modules/bootstrap/dist/js/bootstrap.min.js"
]https://stackoverflow.com/questions/51552240
复制相似问题