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

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

Open
yanjizhou opened this issue Sep 18, 2021 · 6 comments
Open

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

yanjizhou opened this issue Sep 18, 2021 · 6 comments

Comments

@yanjizhou
Copy link

image

@BestErwin
Copy link

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

@sparrow-js
Copy link
Owner

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

@songyi1999
Copy link

songyi1999 commented Sep 20, 2021

同样启动不了.
`npm run sparrow

[email protected] 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
Copy link
Owner

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

@contorlxys
Copy link

可以启动了吗

@HaomengYu1
Copy link

试过了,还是启动不起来

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

6 participants