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

报错 #7

Open
accomplishmentGu opened this issue Dec 2, 2022 · 6 comments
Open

报错 #7

accomplishmentGu opened this issue Dec 2, 2022 · 6 comments

Comments

@accomplishmentGu
Copy link

报错说 npm start - npm ERR! missing script: start

@tiger2005
Copy link
Owner

请检查自己在哪个目录下运行这个软件。package.json 里面已经明确定义了 start 指令。

@accomplishmentGu
Copy link
Author

{ "name": "Keyboard_Overlay", "version": "0.2.2", "main": "main.js", "dependencies": { "app": "^0.1.0", "browser-window": "^0.4.0", "iohook": "^0.9.3" }, "iohook": { "targets": [ "electron-87" ], "platforms": [ "win32", "darwin", "linux" ], "arches": [ "x64", "ia32" ] } }

@accomplishmentGu
Copy link
Author

这是我下载的zip包里package.json的内容

@tiger2005
Copy link
Owner

这个完全没有 script 部分啊……你先把这个项目下的 package.json 抄下来吧()

@accomplishmentGu
Copy link
Author

这个完全没有 script 部分啊……你先把这个项目下的 package.json 抄下来吧()

这个吗?

@tiger2005
Copy link
Owner

没错。

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