Internal/util/inspect.js:31 error

#1
internal/util/inspect.js:31

4:50 PM

const types = internalBinding(‘types’);

4:50 PM

^

4:50 PM

4:50 PM

ReferenceError: internalBinding is not defined

4:50 PM

at internal/util/inspect.js:31:15

4:50 PM

at req_ (/rbd/pnpm-volume/b52d0e3a-9ca1-4d21-a1a9-98a121573186/node_modules/.registry.npmjs.org/natives/1.1.4/node_modules/natives/index.js:137:5)

4:50 PM

at require (/rbd/pnpm-volume/b52d0e3a-9ca1-4d21-a1a9-98a121573186/node_modules/.registry.npmjs.org/natives/1.1.4/node_modules/natives/index.js:110:12)

4:50 PM

at util.js:25:21

4:50 PM

at req_ (/rbd/pnpm-volume/b52d0e3a-9ca1-4d21-a1a9-98a121573186/node_modules/.registry.npmjs.org/natives/1.1.4/node_modules/natives/index.js:137:5)

4:50 PM

at require (/rbd/pnpm-volume/b52d0e3a-9ca1-4d21-a1a9-98a121573186/node_modules/.registry.npmjs.org/natives/1.1.4/node_modules/natives/index.js:110:12)

4:50 PM

at fs.js:42:21

4:50 PM

at req_ (/rbd/pnpm-volume/b52d0e3a-9ca1-4d21-a1a9-98a121573186/node_modules/.registry.npmjs.org/natives/1.1.4/node_modules/natives/index.js:137:5)

4:50 PM

at Object.req [as require] (/rbd/pnpm-volume/b52d0e3a-9ca1-4d21-a1a9-98a121573186/node_modules/.registry.npmjs.org/natives/1.1.4/node_modules/natives/index.js:54:10)

4:50 PM

at Object.<anonymous> (/rbd/pnpm-volume/b52d0e3a-9ca1-4d21-a1a9-98a121573186/node_modules/.registry.npmjs.org/graceful-fs/3.0.11/node_modules/graceful-fs/fs.js:1:99)

any help? (above is the logs)

0 Likes

#2

i think it has to do with node.js

0 Likes

#3

the project name is arrascraft-io

0 Likes

#4

Hey @geoffrey1900 this sounds a little like a problem we’ve seen elsewhere recently that we’re still looking into. In that case it was related to using Node 10; it might be worthwhile to try setting your node version to node 8 and seeing if that helps resolve things. You can do that by adding the following to package.json:

  "engines": {
    "node": "8.x"
  },

Let us know if that helps!

0 Likes

#5

Did the following and it worked:
npm install natives@1.1.6

0 Likes