Ask questionsReferenceError: internalBinding is not defined
<!-- Please provide more details below this comment. --> I updated node to the latest v10.x.x and now when running gulp I'm getting an error on the util module
internal/util/inspect.js:31
const types = internalBinding('types');
^
ReferenceError: internalBinding is not defined
at internal/util/inspect.js:31:15
at req_ (/var/www/node/movie-website/node_modules/natives/index.js:137:5)
at require (/var/www/node/movie-website/node_modules/natives/index.js:110:12)
at util.js:25:21
at req_ (/var/www/node/movie-website/node_modules/natives/index.js:137:5)
at require (/var/www/node/movie-website/node_modules/natives/index.js:110:12)
at fs.js:42:21
at req_ (/var/www/node/movie-website/node_modules/natives/index.js:137:5)
at Object.req [as require] (/var/www/node/movie-website/node_modules/natives/index.js:54:10)
at Object.<anonymous> (/var/www/node/movie-website/node_modules/gulp-nodemon/node_modules/graceful-fs/fs.js:1:99)
Answer
questions
hellatan
Should it be installed globally?
this seems more of a dependency of a dependency issue. You shouldn't install modules globally b/c they won't be installed on other systems if you do. I'm pretty sure this is a problem with the graceful-fs
package based on the stacktrace here and the comment I posted in andrewrk/node-s3-client#213.
Related questions