

Uninstall any existing versions of Node.js before installing NVM for

Don't cut corners and don't jump to the next steps until you do it.
#NVM INSTALL NODE 6.10.3 MANUAL#
Please, make sure you read the nvm for Windows' manual and follow it exactly. Overall, it seems you didn't install nvm for windows correctly. * 8.16.2 (Currently using 64-bit executable) If you don't see it, then your nvm use didn't work.

When you run nvm list, make sure you have (Currently using 64-bit executable) next to the correct node version. (C:\spfx-MyModalPopup\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:1:37)Īt Module._compile (node:internal/modules/cjs/loader:1097:14)Īt Object.Module._extensions.js (node:internal/modules/cjs/loader:1149:10)Īt Module.load (node:internal/modules/cjs/loader:975:32)Īt Function.Module._load (node:internal/modules/cjs/loader:822:12)Īt Module.require (node:internal/modules/cjs/loader:999:19)Īt require (node:internal/modules/cjs/helpers:102:18)Įxit status 145: The directory is not empty.īefore running gulp serve command, first make sure you successfully select a node version. ReferenceError: primordials is not definedĪt req_ (C:\spfx-MyModalPopup\node_modules\natives\index.js:143:24)Īt Object.req (C:\spfx-MyModalPopup\node_modules\natives\index.js:55:10)Īt Object. but i got this error:- C:\spfx-MyModalPopup>gulp serve Now i am trying to run gulp serve on this SPFx web part. I have 2 versions of node.js, as follow:- Your environment has been set up for using Node.js 17.1.0 (圆4) and npm.
