angular-nestjs-rendering icon indicating copy to clipboard operation
angular-nestjs-rendering copied to clipboard

About error ocurred

Open mozgbrasil opened this issue 2 years ago • 0 comments

Good morning my friends

About error ocurred

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

$ npm run start
Debugger attached.

> [email protected] start /home/marcio/dados/acid-workflow/private/github/Innovic-io_angular-nestjs-rendering
> concurrently --kill-others "npm run server:watch" "ng serve --aot --progress=false --proxy-config proxy.conf.json"

Debugger attached.
[1] Debugger attached.
[0] Debugger attached.
[0] 
[0] > [email protected] server:watch /home/marcio/dados/acid-workflow/private/github/Innovic-io_angular-nestjs-rendering
[0] > nodemon
[0] 
[0] Debugger attached.
[0] [nodemon] 1.19.4
[0] [nodemon] to restart at any time, enter `rs`
[0] [nodemon] watching dir(s): src/server/**/*
[0] [nodemon] watching extensions: ts
[0] [nodemon] starting `node ./index`
[0] Debugger attached.
[0] 
[0] /home/marcio/dados/acid-workflow/private/github/Innovic-io_angular-nestjs-rendering/node_modules/ts-node/src/index.ts:307
[0]         throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset))
[0]               ^
[0] TSError: ⨯ Unable to compile TypeScript
[0] src/server/main.ts (54,14): Property 'engine' does not exist on type 'Express'. (2339)
[0] src/server/main.ts (72,14): Property 'set' does not exist on type 'Express'. (2339)
[0] src/server/main.ts (73,14): Property 'set' does not exist on type 'Express'. (2339)
[0] src/server/main.ts (76,14): Property 'get' does not exist on type 'Express'. (2339)
[0]     at getOutput (/home/marcio/dados/acid-workflow/private/github/Innovic-io_angular-nestjs-rendering/node_modules/ts-node/src/index.ts:307:15)
[0]     at /home/marcio/dados/acid-workflow/private/github/Innovic-io_angular-nestjs-rendering/node_modules/ts-node/src/index.ts:336:16
[0]     at Object.compile (/home/marcio/dados/acid-workflow/private/github/Innovic-io_angular-nestjs-rendering/node_modules/ts-node/src/index.ts:496:11)
[0]     at Module.m._compile (/home/marcio/dados/acid-workflow/private/github/Innovic-io_angular-nestjs-rendering/node_modules/ts-node/src/index.ts:392:43)
[0]     at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
[0]     at Object.require.extensions.<computed> [as .ts] (/home/marcio/dados/acid-workflow/private/github/Innovic-io_angular-nestjs-rendering/node_modules/ts-node/src/index.ts:395:12)
[0]     at Module.load (internal/modules/cjs/loader.js:950:32)
[0]     at Function.Module._load (internal/modules/cjs/loader.js:790:12)
[0]     at Module.require (internal/modules/cjs/loader.js:974:19)
[0]     at require (internal/modules/cjs/helpers.js:93:18)
[0] Waiting for the debugger to disconnect...
[0] [nodemon] app crashed - waiting for file changes before starting...
[1] ** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
[1] Debugger attached.
[1] Date: 2022-01-21T13:42:48.821Z
[1] Hash: 89482f8d88daf5590b2d
[1] Time: 8707ms
[1] chunk {contact.module} contact.module.chunk.js () 10.9 kB  [rendered]
[1] chunk {inline} inline.bundle.js (inline) 5.79 kB [entry] [rendered]
[1] chunk {main} main.bundle.js (main) 38.9 kB [initial] [rendered]
[1] chunk {polyfills} polyfills.bundle.js (polyfills) 595 kB [initial] [rendered]
[1] chunk {styles} styles.bundle.js (styles) 41.8 kB [initial] [rendered]
[1] chunk {vendor} vendor.bundle.js (vendor) 6.02 MB [initial] [rendered]
[1] 
[1] webpack: Compiled successfully.
[1] 
[1] webpack: Compiled successfully.
[1] [HPM] Error occurred while trying to proxy request /api/hello from localhost:4200 to http://localhost:5400 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)

Thanks in advance to everyone who can contribute.

mozgbrasil avatar Jan 21 '22 13:01 mozgbrasil