survivejs / react-book

From apprentice to master (CC BY-NC-ND)
https://survivejs.com/react/introduction/
2.02k stars 366 forks source link

Error: Cannot find module '../lib/utils/unsupported.js' #447

Open jordancclive opened 6 years ago

jordancclive commented 6 years ago

I am unable to successfully run npm install. I get this error.

bebraw commented 6 years ago

Can you provide steps for me to follow? I need a bit more information to debug.

On Thu, Sep 27, 2018, 19:46 Jordan Clive notifications@github.com wrote:

I am unable to successfully run npm install. I get this error.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/survivejs/react-book/issues/447, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKMCZkXkD8rsMtAMzMo6yNfhOI4tqcSks5ufQ7VgaJpZM4W9Jm3 .

McWatt commented 6 years ago

I had the same error in the Visual Studio Code terminal. It was due to there being a version of Node that I installed before switching to NVM still being there. Visual Studio Code was using that version, which was rather outdated. The fix was to simply uninstall that standalone version of Node. Once I removed it, I restarted the vsc terminal and it picked up the current NVM version.