losags.blogg.se

Npm config set prefix cant read property get of undefined
Npm config set prefix cant read property get of undefined







  • C:\Users\YOURNAME\AppData\Local\npm-cache - npm modules will go here.
  • If you want to change your user's "global" location to %LOCALAPPDATA%\(npm|npm-cache) path instead:
  • Add C:\ProgramData\npm to your System's Path environment variable.
  • npm config -global set cache "C:\ProgramData\npm-cache".
  • npm config set prefix cant read property get of undefined

  • npm config -global set prefix "C:\ProgramData\npm".
  • Set global configuration settings (Administrator Command Prompt).
  • C:\ProgramData\npm\node_modules - globally installed modules will go here.
  • C:\ProgramData\npm - binary scripts for globally installed modules will go here.
  • C:\ProgramData\npm-cache - npm modules will go here.
  • create the global (admin) location(s) for npm modules.
  • this is needed before you try npm config -global.
  • To change the "global" location for all users to a more appropriate shared global location %ALLUSERSPROFILE%\(npm|npm-cache) (do this as an administrator): \npm directory to your users path yourself.
  • INSTALLER BUGS: You may have to create these directories or add the.
  • Some modules/utilities should be installed globally.
  • WARNING: If you're doing timed events or other automation as a different user, make sure you run npm install as that user.
  • %USERPROFILE%\AppData\Roaming\npm-cache.
  • npm config set prefix cant read property get of undefined

    In Windows, the global install path is actually in your user's profile directory

    npm config set prefix cant read property get of undefined

    You can see my answer to this in my answer to another question.









    Npm config set prefix cant read property get of undefined