Closed adithyvisnu closed 4 years ago
I can't reproduce your issue locally. This seems to be caused by your Node version & env and the uuid package, see https://github.com/googleapis/google-api-nodejs-client/issues/2090. Updating the Node version should solve this issue.
Please, use our Discord channel (support) for such questions. We are using GitHub to track bugs, feature requests, and potential improvements.
I had the same issue and updating from node v13.6.0 to v14.2.0 resolved it.
I can't reproduce your issue locally. This seems to be caused by your Node version & env and the uuid package, see googleapis/google-api-nodejs-client#2090. Updating the Node version should solve this issue.
Please, use our Discord channel (support) for such questions. We are using GitHub to track bugs, feature requests, and potential improvements.
Indeed upgrading node to the newest version resolves this problem. Thank you :+1:
I had the same issue and updating from node v13.6.0 to v14.2.0 resolved it.
Yes. Me too. I am upgrading from node v13.3.0 to v14.2.0 and works well. Now lets try to dig in nestjs! :grin:
I had the same issue and updating from node v13.6.0 to v14.2.0 resolved it.
How do you run with node 14.x?
The reason I ask is that iI get warnings from @nestjs/cli
and @nestjs/schematics
dependencies are depricated and will not work with node v14.+
warning @nestjs/cli > webpack > watchpack > watchpack-chokidar2 > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning @nestjs/schematics > @angular-devkit/core > chokidar@2.0.4: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
warning @nestjs/schematics > @angular-devkit/core > chokidar > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
warning jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142```
@adithyvisnu @mattiaskjellsson FYI using node:13.14 does the trick and do not mess nestjs up... Still think it's a bug that should be solved as it should work for such young nodejs versions as 13..
This is a bug in Node.js, not NestJS.
Please, make sure to use EITHER the current LTS version (12.*, current - 12.18.0) or the latest version (14.4.0)
I'm submitting a...
Current behavior
I am new into NestJS. My friends told me to use this cool framework, so I tried this.
I am following the instructions on Introductory Documentation to start simple web server.
But when I tried to start the project with
npm start
ornest start
, it turns out to MODULE_NOT_FOUND errorExpected behavior
But when I try via alternative installation (pulling a sample repository
$ git clone https://github.com/nestjs/typescript-starter.git project
) it works well like this.Also the nest information is like this
Minimal reproduction of the problem with instructions
It occurs when I try to create a new project with a newest nest-cli, but if I used the sample project that I mention above, it works well.
What is the motivation / use case for changing the behavior?
It might be a little different result for
nest info
that used between on a sample project andnest new <project name>
so I guess there is something wrong, or did I wrong on starting a new project? I hope there is an explanation for what I am doing wrong and what should I do to create from the newest nest-cli :+1: .Thank you :grin:
Environment
When I use command
nest new <project name>
and run thenest info
command, the result is