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

项目内安装,运行报错,请问能帮忙解决一下吗 #43

Open
LiuJing1014 opened this issue Feb 9, 2022 · 1 comment
Open

Comments

@LiuJing1014
Copy link

PS C:\Users\Administrator\Desktop\sparrow-demo> npm run sparrow

[email protected] sparrow
sparrow start -m page

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

😞 Start sparrow failed

Error: spawn C:\Users\Administrator.sparrow\sparrow-server\node_modules.bin\egg-scripts ENOENT
at notFoundError (C:\Users\Administrator\Desktop\sparrow-demo\node_modules\sparrow-code\node_modules\execa\node_modules\cross-spawn\lib\enoent.js:6:26)
at verifyENOENT (C:\Users\Administrator\Desktop\sparrow-demo\node_modules\sparrow-code\node_modules\execa\node_modules\cross-spawn\lib\enoent.js:40:16)
at ChildProcess.cp.emit (C:\Users\Administrator\Desktop\sparrow-demo\node_modules\sparrow-code\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\Administrator\.sparrow\sparrow-server\node_modules\.bin\egg-scripts',
path: 'C:\Users\Administrator\.sparrow\sparrow-server\node_modules\.bin\egg-scripts',
spawnargs: [
'start',
'--title=sparrow-server',
'--framework=midway-mirror',
'--workers=1',
'--sticky',
'--project=C:\Users\Administrator\Desktop\sparrow-demo'
]
}
PS C:\Users\Administrator\Desktop\sparrow-demo>

@mlinge
Copy link

mlinge commented May 3, 2022

进入 C:\Users\Administrator\Desktop\sparrow-demo 目录,再单独npm i --force,然后再启动

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

2 participants