鍍金池/ 問(wèn)答/HTML5/ 為什么昨天還好好的angular,今天就會(huì)報(bào)各種錯(cuò)了?

為什么昨天還好好的angular,今天就會(huì)報(bào)各種錯(cuò)了?

clipboard.png

clipboard.png
各種報(bào)錯(cuò),很是無(wú)語(yǔ)?。。。?!~
求大佬幫下忙,解決一下~,謝了
git: https://github.com/yyccQQu/04... dev分支上

        warning Error running install script for optional dependency: "E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass: Command failed.
Exit code: 1
Command: C:\\WINDOWS\\system32\\cmd.exe
Arguments: /d /s /c node scripts/build.js
Directory: E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass
Output:
Binary found at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass\\vendor\\win32-x64-57\\binding.node
Testing binary
Binary has a problem: Error: \\\\?\\E:\\?????ˉ\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass\\vendor\\win32-x64-57\\binding.node is not a valid Win32 application\\\\?\\E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass\\vendor\\win32-x64-57\\binding.node
    at Object.Module._extensions..node (module.js:664:18)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)
    at Function.Module._load (module.js:489:3)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at module.exports (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass\\lib\\binding.js:19:10)
    at Object.<anonymous> (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass\\lib\\index.js:14:35)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
Building the binary locally
Building: F:\\gongju\
ode.exe E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-gyp\\bin\
ode-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [ 'F:\\\\gongju\\\
ode.exe',
gyp verb cli   'E:\\\\前端\\\
g2\\\\999\\\\PPP\\\\0405newNg\\\\my-app\\\
ode_modules\\\
ode-gyp\\\\bin\\\
ode-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 using node-gyp@3.6.2
gyp info using node@8.9.3 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing \"build\" directory
gyp verb command configure []
gyp verb download using dist-url https://npm.taobao.org/dist
gyp verb check python checking for Python executable \"python2\" in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed     at getNotFoundError (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:13:12)
gyp verb `which` failed     at F (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:68:19)
gyp verb `which` failed     at E (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:80:29)
gyp verb `which` failed     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:89:16
gyp verb `which` failed     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\index.js:42:5
gyp verb `which` failed     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\windows.js:36:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21)
gyp verb `which` failed  python2 { Error: not found: python2
gyp verb `which` failed     at getNotFoundError (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:13:12)
gyp verb `which` failed     at F (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:68:19)
gyp verb `which` failed     at E (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:80:29)
gyp verb `which` failed     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:89:16
gyp verb `which` failed     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\index.js:42:5
gyp verb `which` failed     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\windows.js:36:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' }
gyp verb check python checking for Python executable \"python\" in the PATH
gyp verb `which` failed Error: not found: python
gyp verb `which` failed     at getNotFoundError (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:13:12)
gyp verb `which` failed     at F (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:68:19)
gyp verb `which` failed     at E (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:80:29)
gyp verb `which` failed     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:89:16
gyp verb `which` failed     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\index.js:42:5
gyp verb `which` failed     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\windows.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 (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:13:12)
gyp verb `which` failed     at F (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:68:19)
gyp verb `which` failed     at E (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:80:29)
gyp verb `which` failed     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\which\\which.js:89:16
gyp verb `which` failed     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\index.js:42:5
gyp verb `which` failed     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\isexe\\windows.js:36:5
gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' }
gyp verb could not find \"python\". checking python launcher
gyp verb could not find \"python\". guessing location
gyp verb ensuring that file exists: C:\\Python27\\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable \"python\", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-gyp\\lib\\configure.js:483:19)
gyp ERR! stack     at PythonFinder.<anonymous> (E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-gyp\\lib\\configure.js:508:16)
gyp ERR! stack     at E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\\graceful-fs\\polyfills.js:284:29
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command \"F:\\\\gongju\\\
ode.exe\" \"E:\\\\前端\\\
g2\\\\999\\\\PPP\\\\0405newNg\\\\my-app\\\
ode_modules\\\
ode-gyp\\\\bin\\\
ode-gyp.js\" \"rebuild\" \"--verbose\" \"--libsass_ext=\" \"--libsass_cflags=\" \"--libsass_ldflags=\" \"--libsass_library=\"
gyp ERR! cwd E:\\前端\
g2\\999\\PPP\\0405newNg\\my-app\
ode_modules\
ode-sass
gyp ERR! node -v v8.9.3
Done in 164.26s.
回答
編輯回答
巫婆

MdInputModule似乎又問(wèn)題吧,這個(gè)錯(cuò)誤信息其實(shí)看不出什么

2018年9月19日 16:20
編輯回答
厭惡我

包錯(cuò)誤,重新安裝最開(kāi)始的包就行了。node_modules里面的包感覺(jué)很不穩(wěn)定?。。?!

2018年6月14日 08:08