Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: license-webpack-plugin #9

Open
hongan126 opened this issue Feb 22, 2018 · 1 comment
Open

Error: license-webpack-plugin #9

hongan126 opened this issue Feb 22, 2018 · 1 comment

Comments

@hongan126
Copy link

hongan126 commented Feb 22, 2018

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/node_modules/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
Copy link

janKir commented Feb 23, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants