项目中使用compass编译时报错
使用compass编译项目时,报下述错误
使用的是npm(6.4.1),node(8.11.4),ruby(ruby 2.2.6p396 (2016-11-15 revision 56800) [i386-mingw32]),使用过清空npm清缓存,检查是否有安装ruby,sass,最后都无效,不知道各位有没有可行的方法?。
下面是log内容
这个是操作栏内容
下面是log文件内容
0 info it worked if it ends with ok
1 verbose cli [ 'D:\software\Node\node.exe',
1 verbose cli 'C:\Users\zhongmingyuan\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'compass' ]
2 info using npm@6.4.1
3 info using node@v8.11.4
4 verbose run-script [ 'precompass', 'compass', 'postcompass' ]
5 info lifecycle web@1.0.0~precompass: web@1.0.0
6 info lifecycle web@1.0.0~compass: web@1.0.0
7 verbose lifecycle web@1.0.0~compass: unsafe-perm in lifecycle true
8 verbose lifecycle web@1.0.0~compass: PATH: C:UserszhongmingyuanAppDataRoamingnpmnode_modulesnpmnode_modulesnpm-lifecyclenode-gyp-bin;F:workspacefas-frontendnode_modules.bin;C:Userszhongmingyuanbin;D:softwareGitmingw64bin;D:softwareGitusrlocalbin;D:softwareGitusrbin;D:softwareGitusrbin;D:softwareGitmingw64bin;D:softwareGitusrbin;C:Userszhongmingyuanbin;C:Program Files (x86)InteliCLS Client;C:Program FilesInteliCLS Client;C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsDAL;C:Program FilesIntelIntel(R) Management Engine ComponentsDAL;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsIPT;C:Program FilesIntelIntel(R) Management Engine ComponentsIPT;C:Program FilesIntelWiFibin;C:Program FilesCommon FilesIntelWirelessCommon;C:Program Files (x86)NVIDIA CorporationPhysXCommon;C:Program FilesJavajdk1.7.0_80bin;C:Program FilesJavajre7bin;D:softwareNode;D:softwareTortoiseSVNbin;D:softwareGitcmd;D:softwareMongoDBbin;C:Ruby22bin;C:UserszhongmingyuanAppDataLocalMicrosoftWindowsApps;C:UserszhongmingyuanAppDataRoamingnpm;D:softwareMicrosoft VS Codebin;D:softwareGitusrbinvendor_perl;D:softwareGitusrbincore_perl
9 verbose lifecycle web@1.0.0~compass: CWD: F:workspacefas-frontend
10 silly lifecycle web@1.0.0~compass: Args: [ '/d /s /c', 'compass watch' ]
11 silly lifecycle web@1.0.0~compass: Returned: code: 1 signal: null
12 info lifecycle web@1.0.0~compass: Failed to exec compass script
13 verbose stack Error: web@1.0.0 compass: compass watch
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:UserszhongmingyuanAppDataRoamingnpmnode_modulesnpmnode_modulesnpm-lifecycleindex.js:301:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess.<anonymous> (C:UserszhongmingyuanAppDataRoamingnpmnode_modulesnpmnode_modulesnpm-lifecyclelibspawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid web@1.0.0
15 verbose cwd F:workspacefas-frontend
16 verbose Windows_NT 10.0.16299
17 verbose argv "D:\software\Node\node.exe" "C:\Users\zhongmingyuan\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "run" "compass"
18 verbose node v8.11.4
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error web@1.0.0 compass: compass watch
22 error Exit status 1
23 error Failed at the web@1.0.0 compass script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
希望各位大神能指导下
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论