Skip to content

Instantly share code, notes, and snippets.

@prochafilho
Last active June 12, 2019 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prochafilho/ed33b0e9f92148bcc75bfa7e9e304fe2 to your computer and use it in GitHub Desktop.
Save prochafilho/ed33b0e9f92148bcc75bfa7e9e304fe2 to your computer and use it in GitHub Desktop.
webstorm nodejs require unresolved

https://youtrack.jetbrains.com/issue/WEB-36436

Sergey Simonchik commented 6 Jan 2019 01:42 @Morten Ryum As a workaround, disable nodejs.core.library.use.typings registry key - for that, please do the following:

"Help | Find Action..." on the main menu; Type "registry" and click "Registry..." found element; Find nodejs.core.library.use.typings key and disable it. BTW, the problem is caused by failed command:

/usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js install @types/node --ignore-scripts IDE runs it to install @types/node for coding assistance. Since it fails, IDE cannot provide assistance for globals like process. Can you run the command manually outside IDE? Will it fail too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment