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

internalBinding #238

Open
icetee opened this issue Dec 4, 2018 · 1 comment
Open

internalBinding #238

icetee opened this issue Dec 4, 2018 · 1 comment

Comments

@icetee
Copy link

icetee commented Dec 4, 2018

I use Node v11.3.0 and I get error message, after load webshot package. Previous node version was good.

npm: 6.4.1
os: MacOS 10.13.6

fs.js:25
'use strict';
^

ReferenceError: internalBinding is not defined
    at fs.js:25:1
    at req_ (/Users/###/node_modules/natives/index.js:137:5)
    at Object.req [as require] (/Users/###/node_modules/natives/index.js:54:10)
    at Object.<anonymous> (/Users/###/node_modules/graceful-fs/fs.js:1:99)
    at Module._compile (internal/modules/cjs/loader.js:722:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
    at Function.Module._load (internal/modules/cjs/loader.js:552:3)
    at Module.require (internal/modules/cjs/loader.js:658:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ##@1.1.0 start: `node main.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ##@1.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
@lkgoerges
Copy link

Hey,

I solved the issue by running npm update --depth=9999
alternatively cd into /node_modules/webshot/ and run npm i [email protected]

This fixed the "internalBinding is not defined" reference error for me.

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