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

wept是否支持linux运行? #133

Open
smallsong opened this issue Oct 12, 2020 · 2 comments
Open

wept是否支持linux运行? #133

smallsong opened this issue Oct 12, 2020 · 2 comments

Comments

@smallsong
Copy link

  • wept --version:
  • node --version:
  • 操作系统:
  • 浏览器及浏览器版本:
  • 与官方工具表现不一致?

错误日志

wept-1 | listening on port 3108
wept-1 | Error: Command failed: wine /usr/local/lib/node_modules/wept/bin/wcsc.exe -lc -db ./pages/index/index.wxss
wept-1 | /bin/sh: 1: wine: not found
wept-1 |
wept-1 | at ChildProcess.exithandler (child_process.js:303:12)
wept-1 | at ChildProcess.emit (events.js:315:20)
wept-1 | at maybeClose (internal/child_process.js:1021:16)
wept-1 | at Socket. (internal/child_process.js:443:11)
wept-1 | at Socket.emit (events.js:315:20)
wept-1 | at Pipe. (net.js:674:12)
wept-1 | Error: pages/index/index.wxss 编译失败,请检查
wept-1 | at /usr/local/lib/node_modules/wept/build/parser.js:79:27
wept-1 | at ChildProcess.exithandler (child_process.js:310:5)
wept-1 | at ChildProcess.emit (events.js:315:20)
wept-1 | at maybeClose (internal/child_process.js:1021:16)
wept-1 | at Socket. (internal/child_process.js:443:11)
wept-1 | at Socket.emit (events.js:315:20)
wept-1 | at Pipe. (net.js:674:12)
wept-1 | pages/index/index.wxss 编译失败,请检查
wept-1 | An error occured. Error: spawn notify-send ENOENT
wept-1 | at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
wept-1 | at onErrorNT (internal/child_process.js:469:16)
wept-1 | at processTicksAndRejections (internal/process/task_queues.js:84:21) {
wept-1 | errno: 'ENOENT',
wept-1 | code: 'ENOENT',
wept-1 | syscall: 'spawn notify-send',
wept-1 | path: 'notify-send',
wept-1 | spawnargs: [
wept-1 | '-i',
wept-1 | '/usr/local/lib/node_modules/wept/public/images/error.png',
wept-1 | '--hint=int:transient:1',
wept-1 | 'pages/index/index.wxss 编译失败,请检查'
wept-1 | ]
wept-1 | }
wept-1 | Error: Command failed: wine /usr/local/lib/node_modules/wept/bin/wcc.exe -d ./pages/index/index.wxml
wept-1 | /bin/sh: 1: wine: not found
wept-1 |
wept-1 | at ChildProcess.exithandler (child_process.js:303:12)
wept-1 | at ChildProcess.emit (events.js:315:20)
wept-1 | at maybeClose (internal/child_process.js:1021:16)
wept-1 | at Socket. (internal/child_process.js:443:11)
wept-1 | at Socket.emit (events.js:315:20)
wept-1 | at Pipe. (net.js:674:12)
wept-1 | pages/index/index.wxml 编译失败,请检查
wept-1 | Error: pages/index/index.wxml 编译失败,请检查
wept-1 | at /usr/local/lib/node_modules/wept/build/parser.js:61:27
wept-1 | at ChildProcess.exithandler (child_process.js:310:5)
wept-1 | at ChildProcess.emit (events.js:315:20)
wept-1 | at maybeClose (internal/child_process.js:1021:16)
wept-1 | at Socket. (internal/child_process.js:443:11)
wept-1 | at Socket.emit (events.js:315:20)
wept-1 | at Pipe. (net.js:674:12)
wept-1 | An error occured. Error: spawn notify-send ENOENT
wept-1 | at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
wept-1 | at onErrorNT (internal/child_process.js:469:16)
wept-1 | at processTicksAndRejections (internal/process/task_queues.js:84:21) {
wept-1 | errno: 'ENOENT',
wept-1 | code: 'ENOENT',
wept-1 | syscall: 'spawn notify-send',
wept-1 | path: 'notify-send',
wept-1 | spawnargs: [
wept-1 | '-i',
wept-1 | '/usr/local/lib/node_modules/wept/public/images/error.png',
wept-1 | '--hint=int:transient:1',
wept-1 | 'pages/index/index.wxml 编译失败,请检查'
wept-1 | ]
wept-1 | }
wept-1 | ✓ service.js build success

界面截图(可选)

@sleepm
Copy link

sleepm commented Jul 7, 2021

需要wine还有wine-mono
然后遇到了fixme:font:get_name_record_codepage encoding 29 not handled, platform 1,搜了下说是mesa需要降级
直接放弃了

@suntong
Copy link

suntong commented Jul 20, 2023

wept Readme 说支持linux运行

我就是冲这个来的,结果

需要wine还有wine-mono

就冲这个我也直接放弃了

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