Answer the question
In order to leave comments, you need to log in
Node JS: "primordials is not defined". How to fix the error?
Good afternoon friends! I first installed node.js to try out the foundation for emails2 Sass version.
When trying to initialize the framework with the command in the foundation new --framework emails console
, an error occurs:
fs.js:45
} = primordials;
^
ReferenceError: primordials is not defined
←[90m at fs.js:45:5←[39m
at req_ (C:\Users\byket\AppData\Roaming\npm\node_modules\←[4mfoundation-cli←[24m\node_modules\←[4mnatives←[24m\index.js:143:24)
at Object.req [as require] (C:\Users\byket\AppData\Roaming\npm\node_modules\←[4mfoundation-cli←[24m\node_modules\←[4mnatives←[24m\index.js:55:10)
at Object.<anonymous> (C:\Users\byket\AppData\Roaming\npm\node_modules\←[4mfoundation-cli←[24m\node_modules\←[4mgraceful-fs←[24m\fs.js:1:37)
←[90m at Module._compile (internal/modules/cjs/loader.js:1063:30)←[39m
←[90m at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)←[39m
←[90m at Module.load (internal/modules/cjs/loader.js:928:32)←[39m
←[90m at Function.Module._load (internal/modules/cjs/loader.js:769:14)←[39m
←[90m at Module.require (internal/modules/cjs/loader.js:952:19)←[39m
←[90m at require (internal/modules/cjs/helpers.js:88:18)←[39m
Answer the question
In order to leave comments, you need to log in
found a solution to the problem, maybe it will come in handy for someone:
instead of foundation new --framework emails
using the command, npx -p [email protected] foundation new --framework emails
that is, the problem is in the version of node js, as far as I understand, 10 is better for working with this framework
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question