Skip to content

Cannot find module '@workshop/server' #89

Description

@crowne

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

Activity

  1. andyearnshaw commented on Jun 7, 2016

    @andyearnshaw

    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.

  2. thatmichaelpark commented on Jun 19, 2016

    @thatmichaelpark

    What if you don't use nvm?

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

  3. andyearnshaw commented on Jun 22, 2016

    @andyearnshaw

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

  4. Jornason commented on Jun 26, 2016

    @Jornason

    @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.

  5. Ninerian commented on Aug 5, 2016

    @Ninerian

    It seems, the subfolder work-shop and exercises are not installed. I cloned the repo and linked the start file to the bin folder.

  6. bmsdave commented on Sep 23, 2017

    @bmsdave

    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)
    
  7. PaulineStich commented on Jan 22, 2018

    @PaulineStich

    I've got the same problem here..

  8. Mark2xv commented on Jan 26, 2018

    @Mark2xv

    @RamonGebben Could you please look at this.

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

  9. hbbdmc commented on Jan 22, 2019

    @hbbdmc

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions