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

Not run with Node 15 #171

Open
nguyenhuutinh opened this issue Apr 2, 2021 · 1 comment
Open

Not run with Node 15 #171

nguyenhuutinh opened this issue Apr 2, 2021 · 1 comment

Comments

@nguyenhuutinh
Copy link

nguyenhuutinh commented Apr 2, 2021

it stuck here.

yarn run v1.22.4
$ npx nodemon --watch 'src/**/*.ts' --ignore 'src/**/*.spec.ts' --exec ts-node --files src/index.ts
[nodemon] 2.0.7
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): src/config/express.ts
[nodemon] watching extensions: ts,json
[nodemon] starting `ts-node src/config/mongoose.ts src/config/passport.ts src/config/vars.ts --files src/index.ts`
[nodemon] clean exit - waiting for changes before restart

switch back to 12 works well

@ngduc
Copy link
Owner

ngduc commented Apr 29, 2021

Hi, it works for me with Node 15.5.0. Did you have MongoDB started first?

$ node -v
v15.5.0

$ yarn dev
yarn run v1.22.5
$ npx nodemon --watch 'src/**/*.ts' --ignore 'src/**/*.spec.ts' --exec ts-node --files src/index.ts
[nodemon] 2.0.7
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): src\**\*.ts
[nodemon] watching extensions: ts,json
[nodemon] starting `ts-node --files src/index.ts`
--- �🌟  Started (development) --- http://localhost:3009

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