javascript – Installation mit Installation, $ npm install hexo-renderer-scss --save
PHP中文网
PHP中文网 2017-07-03 11:41:10
0
1
1821

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

yuexiao@Lenovo-PC MINGW64 ~
$ CD-Blog

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

npm WARN lieber global node-gyp@3.6.2 sollte mit -g installiert werden

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

Binärdatei von https://github.com/sass/node-... 3.1/win32-x64-57_binding.node herunterladen
Kann nicht heruntergeladen werden „https://github.com/sass/node-sass/releases/download/ v3.13.1/win 32-x64-57_binding.node":

HTTP-Fehler 404 nicht gefunden

Hinweis: Wenn github.com an Ihrem Standort nicht erreichbar ist

  try setting a proxy via HTTP_PROXY, e.g.

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

oder konfigurieren Sie den NPM-Proxy über

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

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

Building: C:Program Filesnodejsnode.exe C:Usersyuexiaoblognode_modulesno de-gypbinnode-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libs ass_ldflags= --libsass_library=
gyp info es hat funktioniert, wenn es mit ok endet
gyp verb cli [ 'C:Program Filesnodejsnode.exe',
gyp verb cli 'C:Usersyuexiaoblognode_modulesnode-gypbinnode-gyp. js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '-- libsass_ldflags=',
gyp verb cli '--libsass_library=' ]
gyp-Info mit node-gyp@3.6.2
gyp-Info mit node@8.1.2 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean Entfernen des Verzeichnisses „build“
gyp verb command configure []
gyp verb check python Überprüfung auf ausführbare Python-Datei „python2“ im PATH
gyp verb < code>which failed Fehler: nicht gefunden: python2which 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 whichgyp verb which failed at getNotFoundError (C:Usersyuexiaoblognode_modu leswhichwhich.js:13:12)
gyp verb which fehlgeschlagen bei F (C:Usersyuexiaoblognode_moduleswhichwhich .js:68:19)🎜gyp verb which fehlgeschlagen bei E (C:Usersyuexiaoblognode_moduleswhichwhich .js:80:29)🎜gyp verb which fehlgeschlagen bei C:Usersyuexiaoblognode_moduleswhich.js :89:16🎜gyp-Verb which fehlgeschlagen bei C:Usersyuexiaoblognode_modulesisexeindex.js :42:5🎜gyp-Verb which fehlgeschlagen bei C:Usersyuexiaoblognode_modulesisexewindows . js:36:5🎜gyp verb which failed at FSReqWrap.oncomplete (fs.js:152:21)🎜gyp verb which failed python2 { Fehler: nicht gefunden: 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 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 fehlgeschlagener Code: 'ENOENT' }
gyp verb check python checking for Python executable „python“ in the PATH
gyp verb which failed Fehler: nicht gefunden: 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 whichgyp verb which failed at getNotFoundError (C: Usersyuexiaoblognode_modu leswhichwhich.js:13:12)
gyp-Verb which ist bei F fehlgeschlagen (C:Usersyuexiaoblognode_moduleswhich .js:68:19)🎜gyp-Verb which ist bei E fehlgeschlagen (C :Usersyuexiaoblognode_moduleswhichwhich .js:80:29)🎜gyp-Verb which ist bei C:Usersyuexiaoblognode_moduleswhich.js :89:16 fehlgeschlagen🎜gyp-Verb which ist bei C:Usersyuexiaoblognode_modulesisexeindex.js fehlgeschlagen: 42:5🎜gyp-Verb which ist bei C:Usersyuexiaoblognode_modulesisexewindows fehlgeschlagen. js:36:5🎜gyp-Verb which ist bei FSReqWrap.oncomplete fehlgeschlagen (fs.js:152:21)🎜gyp-Verb which ist in Python fehlgeschlagen { Fehler: nicht gefunden: Python 🎜gyp-Verb which ist bei getNotFoundError fehlgeschlagen (C:Usersyuexiaoblognode_modu leswhichwhich.js:13:12)🎜gyp-Verb which ist bei F (C:Usersyuexiaoblognode_moduleswhich .js:68:19) fehlgeschlagen )🎜gyp-Verb which ist bei E fehlgeschlagen (C:Usersyuexiaoblognode_moduleswhichwhich .js:80:29)🎜gyp-Verb which ist bei C:Usersyuexiaoblognode_moduleswhich.js :89:16 fehlgeschlagen🎜gyp Verb which ist bei C:Usersyuexiaoblognode_modulesisexeindex.js :42:5🎜 fehlgeschlagengyp-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: 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 fehlgeschlagener Code: 'ENOENT' }
gyp-Verb konnte „Python“ nicht finden. Beim Überprüfen des Python-Launchers konnte das GYP-Verb „Python“ nicht finden. Standort erraten
gyp-Verb, das sicherstellt, dass die Datei existiert: C:Python27python.exe
gyp ERR! Fehler konfigurieren
gyp ERR! Stack-Fehler: Die ausführbare Python-Datei „Python“ kann nicht gefunden werden. Sie können die PYT HON-Env-Variable festlegen.
gyp ERR! Stapel bei PythonFinder.failNoPython (C:Usersyuexiaoblognode_modu lesnode-gyplibconfigure.js:483:19)
gyp ERR! Stack bei PythonFinder.<anonymous> (C:Usersyuexiaoblognode_modul esnode-gyplibconfigure.js:508:16)
gyp ERR! Stapel unter C:Usersyuexiaoblognode_modulesgraceful-fspolyfills.j s:284:29
gyp ERR! Stapel bei FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! Befehl „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! node -v v8.1.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! nicht ok. Build fehlgeschlagen mit Fehlercode: 1 '
npm WARN errno: -4048,
npm WARN code: 'EPERM',
npm WARN syscall: 'scandir',
npm WARN path: 'C:Usersyuexiaoblognode_modulessass-graphnode_module es' }
npm ERR! Code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@3.13.1 Postinstallation: node scripts/build.js
npm ERR! Exit-Status 1
npm ERR!
npm ERR! Fehler beim Postinstallationsskript node-sass@3.13.1.
npm ERR! Dies ist wahrscheinlich kein Problem mit npm. Es gibt wahrscheinlich oben eine zusätzliche Protokollierungsausgabe.

npm ERR! Ein vollständiges Protokoll dieses Laufs finden Sie unter:
npm ERR! C:UsersyuexiaoAppDataRoamingnpm-cache_logs2017-07-01T01_33_5 6_331Z-debug.log

PHP中文网
PHP中文网

认证0级讲师

Antworte allen(1)
巴扎黑
  1. 请描述清楚你的问题

  2. 根据

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

这段来看,问题有可能是python环境变量未配置,将python配置到PATH里再试试。

Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage