wept icon indicating copy to clipboard operation
wept copied to clipboard

cd case && wept 报错

Open zhonglu900505 opened this issue 4 years ago • 2 comments

  • wept --version: 0.9.6
  • node --version: 15.3.0
  • 操作系统:
  • 操作平台(浏览器|IOS):
  • 与官方工具表现不一致?

错误日志

cd case && wept listening on port 3000 Error: Command failed: /usr/local/lib/node_modules/wept/bin/wcsc -lc -db ./page/component/pages/open-data/open-data.wxss ./page/common/lib/weui.wxss ERR: ./page/common/lib/weui.wxss(72:13): unexpected 0 at pos 1209

error file count: 0

at ChildProcess.exithandler (node:child_process:309:12)
at ChildProcess.emit (node:events:376:20)
at maybeClose (node:internal/child_process:1055:16)
at Socket.<anonymous> (node:internal/child_process:441:11)
at Socket.emit (node:events:376:20)
at Pipe.<anonymous> (node:net:661:12)

page/component/pages/open-data/open-data.wxss 编译失败,请检查 Error: page/component/pages/open-data/open-data.wxss 编译失败,请检查 at /usr/local/lib/node_modules/wept/build/parser.js:79:27 at ChildProcess.exithandler (node:child_process:316:5) at ChildProcess.emit (node:events:376:20) at maybeClose (node:internal/child_process:1055:16) at Socket. (node:internal/child_process:441:11) at Socket.emit (node:events:376:20) at Pipe. (node:net:661:12) An error occured. Error: spawn growlnotify ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:269:19) at onErrorNT (node:internal/child_process:467:16) at processTicksAndRejections (node:internal/process/task_queues:80:21) { errno: -2, code: 'ENOENT', syscall: 'spawn growlnotify', path: 'growlnotify', spawnargs: [ '--image', '/usr/local/lib/node_modules/wept/public/images/error.png', '-m', 'page/component/pages/open-data/open-data.wxss 编译失败,请检查' ] } Error: Command failed: /usr/local/lib/node_modules/wept/bin/wcsc -lc -db ./page/component/pages/editor/editor.wxss ./page/weui/components/weui-wxss/dist/style/weui.wxss ./page/component/pages/editor/assets/iconfont.wxss ERR: ./page/weui/components/weui-wxss/dist/style/weui.wxs

界面截图(可选)

image

zhonglu900505 avatar May 07 '21 10:05 zhonglu900505

同样报错

thouger avatar Jul 19 '21 06:07 thouger

确实,case 都跑不起来,有点拉

msojocs avatar Sep 20 '21 03:09 msojocs