Skip to content

"Octal literal in strict mode" error in Webpack #82

Description

@larongbingo

Webpack shows me an error at ./node_modules/bcrypt-nodejs/bCrypt.js (293:40), anyone know how to fix this?

ERROR in ./node_modules/bcrypt-nodejs/bCrypt.js
Module parse failed: Octal literal in strict mode (293:40)
You may need an appropriate loader to handle this file type.
|       rounds = r1 + r2;
|       real_salt = salt.substring(off + 3, off + 25);
|       password = password + (minor >= 'a' ? "\000" : "");
|
|       var buf = new Buffer(password);

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