Closed fahadali503 closed 2 years ago
I didn't have an Windows machine. The following went fine in my Linux (except from app issues):
git clone git@github.com:fahadali503/invite-and-sale-user-service.git
cd invite-and-sale-user-service
npm ci
npm run start:dev
can you try the above?
I didn't have an Windows machine. The following went fine in my Linux (except from app issues):
git clone git@github.com:fahadali503/invite-and-sale-user-service.git cd invite-and-sale-user-service npm ci npm run start:dev
can you try the above?
didn't work.
I solved this by installing Yarn and then added nestjs/cli globally using yarn
Is there an existing issue for this?
Current behavior
npm run start:dev
'Meet\user-service\node_modules.bin\' is not recognized as an internal or external command, operable program or batch file. node:internal/modules/cjs/loader:936 throw err; ^
Error: Cannot find module 'E:\Javascript\Projects\@nestjs\cli\bin\nest.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }
Minimum reproduction code
https://github.com/fahadali503/invite-and-sale-user-service
Steps to reproduce
npm run start:dev
Expected behavior
After initializing new project and run npm run start:dev, I face this issue.
Package
Other package
No response
NestJS version
No response
Packages versions
Node.js version
16.14.2
In which operating systems have you tested?
Other
npm run start:dev
'Meet\user-service\node_modules.bin\' is not recognized as an internal or external command, operable program or batch file. node:internal/modules/cjs/loader:936 throw err; ^
Error: Cannot find module 'E:\Javascript\Projects\@nestjs\cli\bin\nest.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }