javascript - Pasang menggunakan Pemasangan, $ npm install hexo-renderer-scss --save
PHP中文网
PHP中文网 2017-07-03 11:41:10
0
1
1822

yuexiao@Lenovo-PC MINGW64 ~
$ npm config dapatkan registry
https://registry.npm.taobao.org/

yuexiao@Lenovo-PC MINGW64 ~
$ cd blog

yuexiao@Lenovo-PC MINGW64 ~/blog
$ npm pasang hexo-renderer-scss --save

npm WARN lebih suka global node-gyp@3.6.2 harus dipasang dengan -g

node-sass@3.13.1 pasang C:Usersyuexiaoblognode_modulesnode-sass
skrip nod/install.js

Memuat turun binari daripada https://github.com/sass/node-... 3.1/win32-x64-57_binding.node
Tidak boleh memuat turun "https://github.com/sass/node-sass/releases/download/ v3.13.1/win 32-x64-57_binding.node":

Ralat HTTP 404 Tidak Ditemui

Petunjuk: Jika github.com tidak boleh diakses di lokasi anda

  try setting a proxy via HTTP_PROXY, e.g.

  export HTTP_PROXY=http://example.com:1234

atau konfigurasikan proksi npm melalui

  npm config set proxy http://example.com:8080

node-sass@3.13.1 postinstall C:Usersyuexiaoblognode_modulesnode-sass
node scripts/build.js

Bangunan: C:Program Filesnodejsnode.exe C:Usersyuexiaoblognode_modulesno de-gypbinnode-gyp.js bina semula --verbose --libsass_ext= --libsass_cflags= --libs ass_ldflags= --libsasss it work with
kata kerja gyp cli [ 'C:Program Filesnodejsnode.exe',
kata kerja gyp cli 'C:Usersyuexiaoblognode_modulesnode-gypbinnode-gyp. js',
kata kerja gyp cli 'rebuild',
kata kerja gyp cli '--verbose',
kata kerja gyp cli '--libsass_ext=',
kata kerja gyp cli '--libsass_cflags=',
kata kerja gyp cli '-- libsass_ldflags=',
kata kerja gyp cli '--libsass_library=' ]
info gyp menggunakan node-gyp@3.6.2
info gyp menggunakan node@8.1.2 | win32 | x64
perintah kata kerja gyp bina semula []
perintah kata kerja gyp bersihkan []
kata kerja gyp bersihkan mengalih keluar direktori "bina"
konfigurasi perintah kata kerja gyp []
kata kerja gyp semak python menyemak Python boleh laku "python2" dalam PATH
kata kerja gyp kod>yang gagal Ralat: tidak dijumpai: python2
kata kerja gyp yang gagal di getNotFoundError (C:Usersyuexiaoblognode_modu leswhichwhich.js:13:12)which failed Error: not found: python2
gyp verb which failed at getNotFoundError (C:Usersyuexiaoblognode_modu leswhichwhich.js:13:12)
gyp verb which failed at F (C:Usersyuexiaoblognode_moduleswhichwhich .js:68:19)
gyp verb which failed at E (C:Usersyuexiaoblognode_moduleswhichwhich .js:80:29)
gyp verb which failed at C:Usersyuexiaoblognode_moduleswhichwhich.js :89:16
gyp verb which failed at C:Usersyuexiaoblognode_modulesisexeindex.js :42:5
gyp verb which failed at C:Usersyuexiaoblognode_modulesisexewindows. js:36:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb whichkata kerja gyp yang gagal di F (C:Usersyuexiaoblognode_moduleswhichwhich .js:68:19)
kata kerja gyp which gagal di E (C:Usersyuexiaoblognode_moduleswhichwhich .js:80:29)whip > gagal di C:Usersyuexiaoblognode_moduleswhichwhich.js :89:16🎜 kata kerja gyp which gagal di C:Usersyuexiaoblognode_modulesisexeindex.js :42:5🎜kata kerja gyp which failed at C:Usersyuexiaoblognode_modulesisexeindex.js :42:5🎜kata kerja gyp which gagal di C:Usersyuexiaoblognode_modulesisexeindex.js . js:36:5🎜kata kerja gyp yang gagal di FSReqWrap.oncomplete (fs.js:152:21)🎜kata kerja gyp yang gagal python2 { Ralat: tidak dijumpai: python2 🎜kata kerja gyp which failed at getNotFoundError (C:Usersyuexiaoblognode_modu leswhichwhich.js:13:12)
gyp verb which failed at F (C:Usersyuexiaoblognode_moduleswhichwhich .js:68:19)
gyp verb which failed at E (C:Usersyuexiaoblognode_moduleswhichwhich .js:80:29)
gyp verb which failed at C:Usersyuexiaoblognode_moduleswhichwhich.js :89:16
gyp verb which failed at C:Usersyuexiaoblognode_modulesisexeindex.js :42:5
gyp verb which failed at C:Usersyuexiaoblognode_modulesisexewindows. js:36:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb which failed stack: 'Error: not found: python2n at getNotFoundE rror (C:Usersyuexiaoblognode_moduleswhichwhich.js:13:12)n at F ( C:Usersyuexiaoblognode_moduleswhichwhich.js:68:19)n at E (C:Us ersyuexiaoblognode_moduleswhichwhich.js:80:29)n at C:Usersyuex iaoblognode_moduleswhichwhich.js:89:16n at C:Usersyuexiaoblog node_modulesisexeindex.js:42:5n at C:Usersyuexiaoblognode_modul esisexewindows.js:36:5n at FSReqWrap.oncomplete (fs.js:152:21)',
gyp verb which kod gagal: 'ENOENT' }
kata kerja gyp semak python menyemak "python" boleh laku Python dalam PATH
kata kerja gyp which failed Ralat: tidak dijumpai: pythonwhich failed Error: not found: python
gyp verb which failed at getNotFoundError (C:Usersyuexiaoblognode_modu leswhichwhich.js:13:12)
gyp verb which failed at F (C:Usersyuexiaoblognode_moduleswhichwhich .js:68:19)
gyp verb which failed at E (C:Usersyuexiaoblognode_moduleswhichwhich .js:80:29)
gyp verb which failed at C:Usersyuexiaoblognode_moduleswhichwhich.js :89:16
gyp verb which failed at C:Usersyuexiaoblognode_modulesisexeindex.js :42:5
gyp verb which failed at C:Usersyuexiaoblognode_modulesisexewindows. js:36:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb which failed python { Error: not found: python
gyp verb which failed at getNotFoundError (C:Usersyuexiaoblognode_modu leswhichwhich.js:13:12)
gyp verb which failed at F (C:Usersyuexiaoblognode_moduleswhichwhich .js:68:19)
gyp verb which failed at E (C:Usersyuexiaoblognode_moduleswhichwhich .js:80:29)
gyp verb which failed at C:Usersyuexiaoblognode_moduleswhichwhich.js :89:16
gyp verb whichkata kerja gyp which gagal di getNotFoundError (C: Usersyuexiaoblognode_modu leswhichwhich.js:13:12)
kata kerja gyp which gagal pada F (C:Usersyuexiaoblognode_moduleswhichwhich .js:68:19)🎜kata kerja gyp which gagal :Usersyuexiaoblognode_moduleswhichwhich .js:80:29)🎜kata kerja gyp which gagal di C:Usersyuexiaoblognode_moduleswhichwhich.js :89:16🎜gyp verb which failed at C:Usersyuexiaoblognode_moduleswhichwhich.js :89:16🎜gyp verb which failed atc. 42:5🎜kata kerja gyp yang gagal di C:Usersyuexiaoblognode_modulesisexewindows. js:36:5🎜kata kerja gyp which failed at FSReqWrap.oncomplete (fs.js:152:21)🎜gyp verb which failed python { Error: not found: python 🎜kata kerja gyp which gagal di getNotFoundError (C:Usersyuexiaoblognode_modu leswhichwhich.js:13:12)🎜kata kerja gyp which gagal di F (C:Usersyuexiaoblognode_modules:6:j9whichnode_8:j9whichs )🎜kata kerja gyp which gagal di E (C:Usersyuexiaoblognode_moduleswhichwhich .js:80:29)🎜kata kerja gyp which gagal di C:Usersyuexiaoblognode_moduleswhichwhich.js🎜 kata kerja yang gagal di C:Usersyuexiaoblognode_modulesisexeindex.js :42:5🎜kata kerja gyp which failed at C:Usersyuexiaoblognode_modulesisexewindows. js:36:5
gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb which failed stack: 'Error: not found: pythonn at getNotFoundEr ror (C:Usersyuexiaoblognode_moduleswhichwhich.js:13:12)n at F (C :Usersyuexiaoblognode_moduleswhichwhich.js:68:19)n at E (C:Use rsyuexiaoblognode_moduleswhichwhich.js:80:29)n at C:Usersyuexi aoblognode_moduleswhichwhich.js:89:16n at C:Usersyuexiaoblog node_modulesisexeindex.js:42:5n at C:Usersyuexiaoblognode_module sisexewindows.js:36:5n at FSReqWrap.oncomplete (fs.js:152:21)',
gyp verb which kod gagal: 'ENOENT' }
kata kerja gyp tidak menjumpai "python". memeriksa pelancar ular sawa
kata kerja gyp tidak menemui "python". meneka lokasi
kata kerja gyp memastikan fail itu wujud: C:Python27python.exe
gyp ERR! konfigurasi ralat
gyp ERR! Ralat tindanan: Tidak menemui "python" yang boleh laku Python, anda boleh menetapkan pembolehubah env PYT HON.
gyp ERR! tindanan di PythonFinder.failNoPython (C:Usersyuexiaoblognode_modu lesnode-gyplibconfigure.js:483:19)
gyp ERR! timbunan di PythonFinder.<tanpa nama> (C:Usersyuexiaoblognode_modul esnode-gyplibconfigure.js:508:16)
gyp ERR! tindanan di C:Usersyuexiaoblognode_modulesgraceful-fspolyfills.j s:284:29
gyp ERR! tindanan di FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! Sistem Windows_NT 10.0.14393
gyp ERR! arahan "C:Program Filesnodejsnode.exe" "C:Usersyuexiaoblog node_modulesnode-gypbinnode-gyp.js" "rebuild" "--verbose" "--libsass_ext =" "--libsass_cflags=" "--libsass "--ldflags=" libsass_library="
gyp ERR! cwd C:Usersyuexiaoblognode_modulesnode-sass
gyp ERR! nod -v v8.1.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! tidak ok
Pembinaan gagal dengan kod ralat: 1
npm WARN Ralat: EPERM: operasi tidak dibenarkan, scandir 'C:Usersyuexiaoblogn ode_modulessass-graphnode_modules'
npm WARN { Ralat: EPERM: operasi tidak dibenarkan, scandir 'Clesoblossmoders_modules' '
npm WARN errno: -4048,
npm WARN code: 'EPERM',
npm WARN syscall: 'scandir',
npm WARN path: 'C:Usersyuexiaoblognode_modulessass-graphnode_modul es' }
npm ERR! kod ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@3.13.1 selepas pemasangan: node scripts/build.js
npm ERR! Keluar status 1
npm ERR!
npm ERR! Gagal pada skrip selepas pemasangan nod-sass@3.13.1.
npm ERR! Ini mungkin bukan masalah dengan npm. Kemungkinan terdapat output log ging tambahan di atas.

npm ERR! Log lengkap larian ini boleh didapati di:
npm ERR! C:UsersyuexiaoAppDataRoamingnpm-cache_logs2017-07-01T01_33_5 6_331Z-debug.log

PHP中文网
PHP中文网

认证0级讲师

membalas semua(1)
巴扎黑
  1. Sila huraikan masalah anda dengan jelas

  2. Berdasarkan

gyp verb check python checking for Python executable "python" in the PATH
gyp verb which failed Error: not found: python

Melihat perenggan ini, masalahnya mungkin pembolehubah persekitaran python tidak dikonfigurasikan dalam PATH dan cuba lagi.

Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan