-
Notifications
You must be signed in to change notification settings - Fork 11
Natives module seems to be broken in recent versions of node #1
Copy link
Copy link
Open
Description
Hello,
I was running through your cours on FrontendMasters.com and I noticed that when I tried to run gulp I got the following error:
fs.js:27
const { Math, Object, Reflect } = primordials;
^
ReferenceError: primordials is not defined
at fs.js:27:35
at req_ (/var/www/app/node_modules/natives/index.js:143:24)
at Object.req [as require] (/var/www/app/node_modules/natives/index.js:55:10)
at Object.<anonymous> (/var/www/app/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:759:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10)
at Module.load (internal/modules/cjs/loader.js:628:32)
at Function.Module._load (internal/modules/cjs/loader.js:555:12)
at Module.require (internal/modules/cjs/loader.js:666:19)
at require (internal/modules/cjs/helpers.js:16:16)
I think that the natives module doesn't work anymore.
Unfortunately I am not able to say the exact version of node it stopped working from.
I know that at least up to version 6.4.0 it runs withouth any errors.
Kind regards,
Cristian Gabbanini
P.S. I am writing this as reminder to anyone who could fall into the same problem
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels