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 when building with webpack #261

Open
rafaelcorreiapoli opened this issue Sep 2, 2016 · 0 comments
Open

Error when building with webpack #261

rafaelcorreiapoli opened this issue Sep 2, 2016 · 0 comments

Comments

@rafaelcorreiapoli
Copy link

rafaelcorreiapoli commented Sep 2, 2016

Hi! I'm trying to build a project using webpack and I'm getting this error:

Error: define cannot be used indirect
W20160901-21:59:31.009(-3)? (STDERR)     at Object.module.exports [as define] (webpack:///(webpack)/buildin/amd-define.js:1:1)
W20160901-21:59:31.009(-3)? (STDERR)     at Object.<anonymous> (webpack:///~/json-schema/lib/validate.js:20:1)
W20160901-21:59:31.010(-3)? (STDERR)     at __webpack_require__ (webpack:/webpack/bootstrap 3a9c6425439f5dbac448:22:1)
W20160901-21:59:31.010(-3)? (STDERR)     at Object.<anonymous> (webpack:///~/jsprim/lib/jsprim.js:13:1)
W20160901-21:59:31.010(-3)? (STDERR)     at __webpack_require__ (webpack:/webpack/bootstrap 3a9c6425439f5dbac448:22:1)
W20160901-21:59:31.010(-3)? (STDERR)     at Object.<anonymous> (webpack:///~/http-signature/lib/signer.js:11:1)
W20160901-21:59:31.010(-3)? (STDERR)     at __webpack_require__ (webpack:/webpack/bootstrap 3a9c6425439f5dbac448:22:1)
W20160901-21:59:31.010(-3)? (STDERR)     at Object.<anonymous> (webpack:///~/http-signature/lib/index.js:7:1)
W20160901-21:59:31.011(-3)? (STDERR)     at __webpack_require__ (webpack:/webpack/bootstrap 3a9c6425439f5dbac448:22:1)
W20160901-21:59:31.011(-3)? (STDERR)     at Object.<anonymous> (webpack:///~/pokemon-go-node-api/~/request/request.js:1

Do you have any idea on what is happening?
I think there is something to do with request version but I forked this and used another request version and it didn't worked
request/request#1920

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

1 participant