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

yarn run start:dev error #1

Open
Noethz opened this issue May 6, 2024 · 9 comments
Open

yarn run start:dev error #1

Noethz opened this issue May 6, 2024 · 9 comments
Assignees

Comments

@Noethz
Copy link

Noethz commented May 6, 2024

启动提示找不到yml文件
image
image

@taozhi1010
Copy link
Owner

以修复:
nest-cli.json
add "watchAssets": true

@DanileQin
Copy link

DanileQin commented May 7, 2024

image
yarn:start dev 报错

我是到src下面,进行的yarn,这个步骤是ok的吧。

@battleingame
Copy link

我也起不来

@battleingame
Copy link

前端项目yarn安装,报错
image
nest报错
image
node版本16.20.0
image

@zyyGG
Copy link

zyyGG commented May 8, 2024

@taozhi1010 @DanileQin
package.json 文件,修改"start": "nest start" 改为 "start": "cross-env NODE_ENV=development nest start"
这样试一试

@lcyh
Copy link

lcyh commented May 10, 2024

遇到和上面一样的问题,admin和server两个项目都打不开

@lcyh
Copy link

lcyh commented May 10, 2024

package.json 文件,修改"start": "nest start" 改为 "start": "cross-env NODE_ENV=development nest start"
还是报错
image

@zyyGG
Copy link

zyyGG commented May 10, 2024

@lcyh
你这个是配置文件没写好
打开src/config/dev.yml文件
找到jwt 配置相关,填写一个你自己定义的secretkey,例如secretkey: 'mySecret'

@lcyh
Copy link

lcyh commented May 10, 2024 via email

@taozhi1010 taozhi1010 self-assigned this Jun 14, 2024
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