sparrow-js / sparrow

🎉场景化低代码(LowCode)搭建工作台,实时输出源代码
https://sparrow-js.github.io/sparrow-vue-site/
MIT License
3.11k stars 456 forks source link

全局安装 执行sparrow 无法启动 #35

Open yanjizhou opened 3 years ago

yanjizhou commented 3 years ago

image

BestErwin commented 3 years ago

我也是这个错误启动不了,啥问题啊

sparrow-js commented 3 years ago

1.查看node版本,v11以上 2.检测项目安装情况:cd ~/.sparrow/sparrow-server/ 主界面服务,cd ~/.sparrow/sparrow-view 预览服务 3.在2的目录里手动运行,看看是否报错

songyi1999 commented 3 years ago

同样启动不了. `npm run sparrow

lowcode@1.0.0 sparrow sparrow start -m page

sparrow view Core: 0.1.0 C:\Users\songyi.sparrow\sparrow-server sparrow view Core: 0.4.3 C:\Users\songyi.sparrow\sparrow-server sparrow Core: 0.9.27 C:\Users\songyi.sparrow\sparrow-server ϵͳ�Ҳ���ָ����·����

😞 Start sparrow failed

Error: spawn C:\Users\songyi.sparrow\sparrow-server\node_modules.bin\egg-scripts ENOENT at notFoundError (D:\lowcode\node_modules\execa\node_modules\cross-spawn\lib\enoent.js:6:26)
at verifyENOENT (D:\lowcode\node_modules\execa\node_modules\cross-spawn\lib\enoent.js:40:16)
at ChildProcess.cp.emit (D:\lowcode\node_modules\execa\node_modules\cross-spawn\lib\enoent.js:27:25) at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12) { code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn C:\Users\songyi\.sparrow\sparrow-server\node_modules\.bin\egg-scripts',
path: 'C:\Users\songyi\.sparrow\sparrow-server\node_modules\.bin\egg-scripts', spawnargs: [ 'start', '--title=sparrow-server', '--framework=midway-mirror', '--workers=1', '--sticky', '--project=D:\lowcode' ] }`

$ node -v v14.15.3

sparrow-js commented 3 years ago

进入:cd ~/.sparrow/sparrow-server/ 主界面服务,cd ~/.sparrow/sparrow-view 预览服务 手动npm install 下依赖,然后在运行

contorlxys commented 2 years ago

可以启动了吗

HaomengYu1 commented 1 year ago

试过了,还是启动不起来