cari

Rumah  >  Soal Jawab  >  teks badan

node.js - npm terus menggesa tentang isu kebenaran

$ npm install bootstrap
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\                                                                                                                                  node_modules\npm\bin\npm-cli.js" "install" "bootstrap"
npm ERR! node v6.10.3
npm ERR! npm  v3.10.10
npm ERR! path C:\Program Files\nodejs\node-cache\bootstrap
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall mkdir

npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\n                                                                                                                                  ode-cache\bootstrap'
npm ERR!     at Error (native)
npm ERR!  { Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodej                                                                                                                                  s\node-cache\bootstrap'
npm ERR!     at Error (native)
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: 'C:\Program Files\nodejs\node-cache\bootstrap',
npm ERR!   parent: 'shopping' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!     E:\Project Files\shopping\npm-debug.log

Pada mulanya saya fikir ia adalah masalah dengan laluan pemasangan, tetapi saya masih menghadapi masalah selepas menukarnya kepada pemacu D

曾经蜡笔没有小新曾经蜡笔没有小新2797 hari yang lalu1290

membalas semua(2)saya akan balas

  • 天蓬老师

    天蓬老师2017-06-09 20:14:03

    Jika ia adalah sistem Mac, sila tambah: sudo pada baris arahan untuk mencubanya

    balas
    0
  • 世界只因有你

    世界只因有你2017-06-08 11:05:06

    Jalankan cmd sebagai pentadbir dan kemudian perintah npm

    balas
    0
  • Batalbalas