You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed as per the README.md instructions and ran webgl-workshop which gave the following error:
Error: Cannot find module '@workshop/server'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at boot (C:\Users\crowne\AppData\Roaming\npm\node_modules\webgl-workshop\node.js:49:3)
at PromptUI.completed (C:\Users\crowne\AppData\Roaming\npm\node_modules\webgl-workshop\node.js:44:5)
at PromptUI.onCompletion (C:\Users\crowne\AppData\Roaming\npm\node_modules\webgl-workshop\node_modules\inquirer\lib\ui\prompt.js:51:10)
at C:\Users\crowne\AppData\Roaming\npm\node_modules\webgl-workshop\node_modules\inquirer\node_modules\async\lib\async.js:254:17
at C:\Users\crowne\AppData\Roaming\npm\node_modules\webgl-workshop\node_modules\inquirer\node_modules\async\lib\async.js:157:25
at C:\Users\crowne\AppData\Roaming\npm\node_modules\webgl-workshop\node_modules\inquirer\node_modules\async\lib\async.js:251:21
@andyearnshaw I've got same problem, according to your suggestion I installed nvm and press "nvm install 4 && npm install -g webgl-workshop", It works! Thanks a lot.
Activity
andyearnshaw commentedon Jun 7, 2016
Something changed in Node 5.x that broke webgl-workshop. If you use nvm,
nvm install 4 && npm install -g webgl-workshop. Everything should work then.thatmichaelpark commentedon Jun 19, 2016
What if you don't use nvm?
And Node is now at 6 and counting; shouldn't someone just fix the actual problem?
andyearnshaw commentedon Jun 22, 2016
Someone should fix the actual problem. In the meantime, there's a workaround.
Jornason commentedon Jun 26, 2016
@andyearnshaw I've got same problem, according to your suggestion I installed nvm and press "nvm install 4 && npm install -g webgl-workshop", It works! Thanks a lot.
Ninerian commentedon Aug 5, 2016
It seems, the subfolder work-shop and exercises are not installed. I cloned the repo and linked the start file to the bin folder.
bmsdave commentedon Sep 23, 2017
Same issue.
error:
PaulineStich commentedon Jan 22, 2018
I've got the same problem here..
Mark2xv commentedon Jan 26, 2018
@RamonGebben Could you please look at this.
[edit]
Cloning manually and running
npm i; node node.jsfixed it.hbbdmc commentedon Jan 22, 2019
I've got the same problem too.......How to solve it on Windows