Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module '@workshop/server' #89

Open
crowne opened this issue May 20, 2016 · 9 comments
Open

Cannot find module '@workshop/server' #89

crowne opened this issue May 20, 2016 · 9 comments

Comments

@crowne
Copy link

crowne commented May 20, 2016

Hi,

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
Copy link

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
Copy link

What if you don't use nvm?

And Node is now at 6 and counting; shouldn't someone just fix the actual problem?

@andyearnshaw
Copy link

andyearnshaw commented Jun 22, 2016

Someone should fix the actual problem. In the meantime, there's a workaround.

@Jornason
Copy link

@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
Copy link

Ninerian commented 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
Copy link

bmsdave commented Sep 23, 2017

Same issue.

λ npm -v
5.3.0

λ node -v
v6.9.1

λ uname
MSYS_NT-10.0

error:

readline.js:982
            throw err;
            ^

Error: Cannot find module '@workshop/server'
    at Function.Module._resolveFilename (module.js:469:15)

@PaulineStich
Copy link

I've got the same problem here..

@Mark2xv
Copy link

Mark2xv commented Jan 26, 2018

@RamonGebben Could you please look at this.

[edit]
Cloning manually and running npm i; node node.js fixed it.

@hbbdmc
Copy link

hbbdmc commented Jan 22, 2019

I've got the same problem too.......How to solve it on Windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants