Skip to content

Error when building with webpack #261

Description

@rafaelcorreiapoli

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions