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

Warn: PP0023: Program may terminate with exception: require is not defined #47

Open
micheleriso opened this issue Jul 24, 2018 · 4 comments
Labels

Comments

@micheleriso
Copy link

Hi, I'm trying to include this plugin in my webpack configuration but it is throwing this error:

Warn: PP0023: Program may terminate with exception: require is not defined ReferenceError at server.js:22302:18 at __webpack_require__ (server.js:20:12) at server.js:22293:1 at __webpack_require__ (server.js:20:12) at server.js:84:18 at server.js:1:10 at 22302:17 to 22302:24 Error

I'm using babel and I've removed Uglify to avoid any incompatibility
Thanks

@gajus gajus added the question label Jul 24, 2018
@stackdumper
Copy link
Contributor

Please provide the following information:

  1. Webpack configuration
  2. Webpack version
  3. Node.js version

@gajus
Copy link
Owner

gajus commented Jul 27, 2018

Please provide the following information:

@stackdumper Could you PR contributing guidelines?

https://help.github.com/articles/setting-guidelines-for-repository-contributors/

Just a polite message asking to provide the necessary environment variables and command line to get those variables.

@stackdumper
Copy link
Contributor

stackdumper commented Jul 30, 2018

Could you PR contributing guidelines?

@gajus Would the issue templates be suitable for this?

@gajus
Copy link
Owner

gajus commented Jul 30, 2018

@gajus Would the issue templates be suitable for this?

Sorry, thats exactly what I have meant – issue template.

Here are several examples:

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

No branches or pull requests

3 participants