Open hongan126 opened 6 years ago
Actually, there is another /home/niko/...
path in both webpack.config.dev and webpack.config.prod:
new CircularDependencyPlugin({
"exclude": /(\\|\/)node_modules(\\|\/)/,
"failOnError": false,
"onDetected": false,
"cwd": "/home/niko/WebstormProjects/angularcli-meteor"
}),
But no idea if this has any consequences?
I run "npm run build-prod" and have error message: _"Error: license-webpack-plugin: Output template file does not exist: /home/niko/WebstormProjects/angularcli-meteor/nodemodules/license-webpack-plugin/output.template.ejs"
Solution: In 'webpack.config.js.prod' file. Find: "/home/niko/WebstormProjects/angularcli-meteor/node_modules/license-webpack-plugin/output.template.ejs" and Replace by: "./node_modules/license-webpack-plugin/output.template.ejs"