My Node install can’t find the proper module for Ex08. This is the error I get when trying to get node to reveal the path. I thought I selected “Add to PATH” “Entire feature will be installed on local hard drive.” when installing.
PS C:\Users\Stephanie Westnedge\ljsthw> node --version v11.5.0 PS C:\Users\Stephanie Westnedge\ljsthw> node process.argv internal/modules/cjs/loader.js:605 throw err; ^ Error: Cannot find module 'C:\Users\Stephanie Westnedge\ljsthw\process.argv' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15) at Function.Module._load (internal/modules/cjs/loader.js:529:25) at Function.Module.runMain (internal/modules/cjs/loader.js:774:12) at executeUserCode (internal/bootstrap/node.js:342:17) at startExecution (internal/bootstrap/node.js:276:5) at startup (internal/bootstrap/node.js:227:5) at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
What I did to try to fix:
I tried different fixes from other sites (npm install, reinstalling node into my local “ljsthw” directory) but that didn’t work.
I upgraded from Node 10.14.2 to 11.5 but that didn’t work.
I removed ALL Node instances (including installers) and did a clean install of Node 11.5, rebooted, and that didn’t work. I closely followed the instructions in Ex00. I made sure to select “Add to PATH”, and I also opted for “Entire feature will be installed on local hard drive.” I did not install Chocolatey.
My machine: Windows 10 Home, 64-bit
My Node version: 11.5.0 (Downloaded x64 version)
I’m using Power Shell (not sure how to get version)
Node is installed here: C:\Program Files\nodejs
My working JS files are here: C:\Users\Stephanie Westnedge\ljsthw
Help, I’m really stuck.