Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cd case && wept 报错 #141

Open
zhonglu900505 opened this issue May 7, 2021 · 2 comments
Open

cd case && wept 报错 #141

zhonglu900505 opened this issue May 7, 2021 · 2 comments

Comments

@zhonglu900505
Copy link

  • 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

@thouger
Copy link

thouger commented Jul 19, 2021

同样报错

@msojocs
Copy link

msojocs commented Sep 20, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants