Abdallah-khalil / ContactManagerApp

A Contact Manager App using Angular , Nestjs , Nodejs , Expressjs , Mongoose , Passport, JWT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About error ocurred

mozgbrasil opened this issue · comments

Good morning my friends

About error ocurred

I'm testing this project and the following error is being returned

$ npm run watch
Debugger attached.

> contact-manager@0.0.0 watch /workspace/Abdallah-khalil_ContactManagerApp
> run-p watch:*

Debugger attached.
Debugger attached.
Debugger attached.

> contact-manager@0.0.0 watch:client /workspace/Abdallah-khalil_ContactManagerApp
> ng serve --proxy-config proxy.conf.json


> contact-manager@0.0.0 watch:server /workspace/Abdallah-khalil_ContactManagerApp
> nodemon --watch ./src/server --exec ts-node ./src/server/index.ts

Debugger attached.
Debugger attached.
Waiting for the debugger to disconnect...
internal/modules/cjs/loader.js:905
  throw err;
  ^

Error: Cannot find module '@angular-devkit/core'
Require stack:
- /workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular-devkit/schematics/src/tree/virtual.js
- /workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular-devkit/schematics/src/tree/filtered.js
- /workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular-devkit/schematics/src/tree/static.js
- /workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular-devkit/schematics/src/index.js
- /workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular/cli/utilities/schematics.js
- /workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular/cli/commands/generate.js
- /workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular/cli/lib/cli/index.js
- /workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular/cli/bin/ng
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:93:18)
    at Object.<anonymous> (/workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular-devkit/schematics/src/tree/virtual.js:10:16)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular-devkit/schematics/src/tree/virtual.js',
    '/workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular-devkit/schematics/src/tree/filtered.js',
    '/workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular-devkit/schematics/src/tree/static.js',
    '/workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular-devkit/schematics/src/index.js',
    '/workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular/cli/utilities/schematics.js',
    '/workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular/cli/commands/generate.js',
    '/workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular/cli/lib/cli/index.js',
    '/workspace/Abdallah-khalil_ContactManagerApp/node_modules/@angular/cli/bin/ng'
  ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! contact-manager@0.0.0 watch:client: `ng serve --proxy-config proxy.conf.json`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the contact-manager@0.0.0 watch:client script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/node/.npm/_logs/2022-01-18T20_10_48_695Z-debug.log
Waiting for the debugger to disconnect...
ERROR: "watch:client" exited with 1.
Waiting for the debugger to disconnect...
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! contact-manager@0.0.0 watch: `run-p watch:*`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the contact-manager@0.0.0 watch script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/node/.npm/_logs/2022-01-18T20_10_48_785Z-debug.log
Waiting for the debugger to disconnect...

Thanks in advance to everyone who can contribute.