I can't even do something simple (create an HTML 5 boiler template) without stupid errors
My copy of webstorm can't find the NPM package. I tried manually telling it /usr/bin/npm . It's right there. I checked.... it can't run it even when i tell it the exact location. HALP
Please sign in to leave a comment.
https://imgur.com/a/wcc2oeO
Also how is it possible that I can't even create a boiler plate HTML 5 document without needing the node package manager? All I want to do is follow along a simple book with simple HTML.
Please try specifying a full path to npm package (like
/usr/local/lib/node_modules/npm) in this field (note that it should be a package, not a binary,/usr/bin/npmwon't work. Normally npm is installed to{prefix}/lib/node_modules, whereprefixcan be obtained vianpm config get prefixEdit: I got it with this /usr/local/lib/node_modules/npm-cli/node_modules/npm
hmm interesting I have a directory: /usr/local/lib/node_modules/npm-cli/node_modules/npm/node_modules and in that directory I have more npm folders:
npm-cache-filename
npm-install-checks
npmlog
npm-package-arg
npm-registry-client
npm-user-validate
please run
npm --helpand provide the full outputI got it to work with this directory: /usr/local/lib/node_modules/npm-cli/node_modules/npm
Is that unusual or something? I thought everything about my installation was default. I thought a package was an uninstalled program . Why is there /usr/lib and /usr/lib/local ? Arghhh so many questions
>Is that unusual or something?
yes, a bit unusual:) But if it works, it's fine:)