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

run to stop #34

Closed
lianshao123 opened this issue Mar 15, 2021 · 1 comment
Closed

run to stop #34

lianshao123 opened this issue Mar 15, 2021 · 1 comment

Comments

@lianshao123
Copy link

Type:- [ ] Help

Console:
PS C:\Users\LENOVO\Desktop\数字权益平台\test\koa-ts> yarn
yarn install v1.22.10
[1/5] Validating package.json...
[2/5] Resolving packages...
info fsevents@2.1.3: The platform "win32" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > routing-controllers@0.8.1" has incorrect peer dependency "class-validator@0.10.1".
[5/5] Building fresh packages...
Done in 22.50s.
yarn run v1.22.10
$ export NODE_ENV=development; nodemon --config nodemon.json
'export' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
PS C:\Users\LENOVO\Desktop\数字权益平台\test\koa-ts> yarn dev
yarn run v1.22.10
$ set NODE_ENV=development; nodemon --config nodemon.json
Done in 0.13s.

Description:
34/5000
node:v12.21.0
I'm using Windows, but when I run the "yarn dev" command I get "export NODE_ENV=development; "Nodemon --config nodemon. Json" exception.Then I changed the expost in the package.json file to set.Run the "yarn dev" command.As a result, the program terminated.

@unix
Copy link
Owner

unix commented Mar 18, 2021

命令都是用 shell 写的,暂时没有支持 windows。
在 windows 平台推进你使用 WSL2 的工作方式,不仅可以兼容类似命令问题,也有非常高的工作体验。

@unix unix closed this as completed Mar 18, 2021
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