darkbasic / angularcli-meteor

13 stars 4 forks source link

Error: license-webpack-plugin #9

Open hongan126 opened 6 years ago

hongan126 commented 6 years ago

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"

janKir commented 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?