After update to Node 11.0.0 running Gulp exits with 'ReferenceError: internalBinding is not defined'
See original GitHub issueI 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:
- Created 5 years ago
- Reactions:10
- Comments:11 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This issue is not resolved. Reinstalling node_modules doesn’t help.
Update to natives@1.1.6. Run
npm install natives@1.1.6
.