node.js - Erreur d'installation npm errno -4068
typecho
typecho 2017-06-17 09:15:51
0
1
1738

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\Software\Program Files\JetBrains\WebStorm 2017.1.4\nodeJs\node.exe" "C:\Software\Program Files\JetBrains\WebStorm 2017.1.4\nodeJs\node_modules\npm\bin\npm-cli.js" "install" "yarn" "-g"
npm ERR! node v6.11.0
npm ERR! npm  v3.10.10
npm ERR! path C:\Software\Program Files\JetBrains\WebStorm 2017.1.4\nodeJs\global\yarn
npm ERR! code EISDIR
npm ERR! errno -4068
npm ERR! syscall open

npm ERR! eisdir EISDIR: illegal operation on a directory, open 'C:\Software\Program Files\JetBrains\WebStorm 2017.1.4\nodeJs\global\yarn'
npm ERR! eisdir This is most likely not a problem with npm itself
npm ERR! eisdir and is related to npm not being able to find a package.json in
npm ERR! eisdir a package you are trying to install.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Windows\system32\npm-debug.log

Ce qui précède est le journal des erreurs lorsque npm installe fil. J'ai essayé de réinstaller nodejs et d'exécuter cmd avec des droits d'administrateur, mais cela n'a pas abouti. Comment le résoudre?

typecho
typecho

Following the voice in heart.

répondre à tous(1)
为情所困

Peut-être un problème de version de npm, essayez de réinstaller npm
Essayez npm uninstall npm
Puis npm install -g npm

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!