question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

After update to Node 11.0.0 running Gulp exits with 'ReferenceError: internalBinding is not defined'

See original GitHub issue

I am running MacOS 10.13.6 and use Homebrew to keep Node and NPM up to date. I’ve updated to Node ‘11.0.0’ and NPM ‘6.4.1’ today. I’ve installed Gulp ‘3.9.1’ globally. When i try to run Gulp in my project folder i get the following error (before ‘11.0.0’ everything worked flawlessly):

$> gulp
fs.js:25
'use strict';
^

ReferenceError: internalBinding is not defined
    at fs.js:25:1
    at req_ (/Users/danton/SitesLocal/myapp/app/public/node_modules/natives/index.js:140:5)
    at Object.req [as require] (/Users/danton/SitesLocal/myapp/app/public/node_modules/natives/index.js:54:10)
    at Object.<anonymous> (/Users/danton/SitesLocal/myapp/app/public/node_modules/graceful-fs/fs.js:1:99)
    at Module._compile (internal/modules/cjs/loader.js:707:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
    at Module.load (internal/modules/cjs/loader.js:605:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
    at Function.Module._load (internal/modules/cjs/loader.js:536:3)
    at Module.require (internal/modules/cjs/loader.js:643:17)

Is it possible that the error goes back to the following change in Node ‘11.0.0’

https://github.com/nodejs/node/pull/22146

So that changes have to be applied to graceful-fs and or natives? If you need any further infos let me know. Thanks r.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

11reactions
shamotjcommented, Nov 2, 2018

This issue is not resolved. Reinstalling node_modules doesn’t help.

7reactions
mgdhscommented, Nov 4, 2018

Update to natives@1.1.6. Run npm install natives@1.1.6.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gulp - internalBinding is not defined
I ran into the same issue as you. To fix it, I added the following to my package.json in the devDependencies section "natives":...
Read more >
Update gulp, Referenceerror: internalbinding is not defined ...
本文主要使用gnvm来管理多版本node一 After update to Node 11.0.0 running Gulp exits with 'ReferenceError: internalBinding is not defined' #2246 rpkoller ...
Read more >
Referenceerror: internalbinding is not defined
See the following issue comment on After update to Node 11.0.0 running Gulp exits with 'ReferenceError: internalBinding is not defined'.
Read more >
Node.js – ReferenceError: sass is not defined - iTecNote
When I configured gulp and running task for scss, I am getting Error saying ReferenceError: sass is not defined even I have installed...
Read more >
Gulp & Npm | ReferenceError: internalBinding is not defined
This seems more of a dependency of a dependency issue. For solve it you need to run ? 00001. npm install natives@ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found