Created
June 7, 2022 17:41
-
-
Save deanpeterson/2e5a12a9edbc61201338247d437eed78 to your computer and use it in GitHub Desktop.
nestjs deployment errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Environment: | |
DEV_MODE=false | |
NODE_ENV=production | |
DEBUG_PORT=5858 | |
Launching via npm... | |
npm info it worked if it ends with ok | |
npm info using npm@6.14.15 | |
npm info using node@v14.18.2 | |
npm info lifecycle @my-app/server@~prestart: @my-app/server@ | |
npm info lifecycle @my-app/server@~start: @my-app/server@ | |
> @my-app/server@ start /opt/app-root/src | |
> nest start | |
[96msrc/auth/basic/base/basic.strategy.base.ts[0m:[93m3[0m:[93m43[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'passport-http'. '/opt/app-root/src/node_modules/passport-http/lib/passport-http/index.js' implicitly has an 'any' type. | |
Try `npm i --save-dev @types/passport-http` if it exists or add a new declaration (.d.ts) file containing `declare module 'passport-http';` | |
[7m3[0m import { BasicStrategy as Strategy } from "passport-http"; | |
[7m [0m [91m ~~~~~~~~~~~~~~~[0m | |
[96msrc/auth/gqlDefaultAuth.guard.ts[0m:[93m3[0m:[93m30[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'express'. '/opt/app-root/src/node_modules/express/index.js' implicitly has an 'any' type. | |
If the 'express' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express' | |
[7m3[0m import type { Request } from "express"; | |
[7m [0m [91m ~~~~~~~~~[0m | |
[96msrc/auth/jwt/base/jwt.strategy.base.ts[0m:[93m3[0m:[93m38[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'passport-jwt'. '/opt/app-root/src/node_modules/passport-jwt/lib/index.js' implicitly has an 'any' type. | |
Try `npm i --save-dev @types/passport-jwt` if it exists or add a new declaration (.d.ts) file containing `declare module 'passport-jwt';` | |
[7m3[0m import { ExtractJwt, Strategy } from "passport-jwt"; | |
[7m [0m [91m ~~~~~~~~~~~~~~[0m | |
[96msrc/auth/password.service.ts[0m:[93m2[0m:[93m31[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'bcrypt'. '/opt/app-root/src/node_modules/bcrypt/bcrypt.js' implicitly has an 'any' type. | |
Try `npm i --save-dev @types/bcrypt` if it exists or add a new declaration (.d.ts) file containing `declare module 'bcrypt';` | |
[7m2[0m import { hash, compare } from "bcrypt"; | |
[7m [0m [91m ~~~~~~~~[0m | |
[96msrc/card/base/Card.ts[0m:[93m18[0m:[93m27[0m - [91merror[0m[90m TS2307: [0mCannot find module 'type-fest' or its corresponding type declarations. | |
[7m18[0m import { JsonValue } from "type-fest"; | |
[7m [0m [91m ~~~~~~~~~~~[0m | |
[96msrc/card/base/card.controller.base.ts[0m:[93m18[0m:[93m25[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'express'. '/opt/app-root/src/node_modules/express/index.js' implicitly has an 'any' type. | |
If the 'express' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express' | |
[7m18[0m import { Request } from "express"; | |
[7m [0m [91m ~~~~~~~~~[0m | |
[96msrc/health/base/health.controller.base.ts[0m:[93m2[0m:[93m26[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'express'. '/opt/app-root/src/node_modules/express/index.js' implicitly has an 'any' type. | |
If the 'express' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express' | |
[7m2[0m import { Response } from "express"; | |
[7m [0m [91m ~~~~~~~~~[0m | |
[96msrc/player/base/Player.ts[0m:[93m16[0m:[93m27[0m - [91merror[0m[90m TS2307: [0mCannot find module 'type-fest' or its corresponding type declarations. | |
[7m16[0m import { JsonValue } from "type-fest"; | |
[7m [0m [91m ~~~~~~~~~~~[0m | |
[96msrc/player/base/player.controller.base.ts[0m:[93m18[0m:[93m25[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'express'. '/opt/app-root/src/node_modules/express/index.js' implicitly has an 'any' type. | |
If the 'express' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express' | |
[7m18[0m import { Request } from "express"; | |
[7m [0m [91m ~~~~~~~~~[0m | |
[96msrc/playerCard/base/playerCard.controller.base.ts[0m:[93m18[0m:[93m25[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'express'. '/opt/app-root/src/node_modules/express/index.js' implicitly has an 'any' type. | |
If the 'express' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express' | |
[7m18[0m import { Request } from "express"; | |
[7m [0m [91m ~~~~~~~~~[0m | |
[96msrc/specialAbility/base/specialAbility.controller.base.ts[0m:[93m18[0m:[93m25[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'express'. '/opt/app-root/src/node_modules/express/index.js' implicitly has an 'any' type. | |
If the 'express' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express' | |
[7m18[0m import { Request } from "express"; | |
[7m [0m [91m ~~~~~~~~~[0m | |
[96msrc/types.ts[0m:[93m1[0m:[93m27[0m - [91merror[0m[90m TS2307: [0mCannot find module 'type-fest' or its corresponding type declarations. | |
[7m1[0m import { JsonValue } from "type-fest"; | |
[7m [0m [91m ~~~~~~~~~~~[0m | |
[96msrc/user/base/user.controller.base.ts[0m:[93m18[0m:[93m25[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'express'. '/opt/app-root/src/node_modules/express/index.js' implicitly has an 'any' type. | |
If the 'express' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express' | |
[7m18[0m import { Request } from "express"; | |
[7m [0m [91m ~~~~~~~~~[0m | |
[96msrc/user/user.controller.ts[0m:[93m6[0m:[93m25[0m - [91merror[0m[90m TS7016: [0mCould not find a declaration file for module 'express'. '/opt/app-root/src/node_modules/express/index.js' implicitly has an 'any' type. | |
If the 'express' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express' | |
[7m6[0m import { Request } from "express"; | |
[7m [0m [91m ~~~~~~~~~[0m | |
[96msrc/util/JsonNullableFilter.ts[0m:[93m1[0m:[93m27[0m - [91merror[0m[90m TS2307: [0mCannot find module 'type-fest' or its corresponding type declarations. | |
[7m1[0m import { JsonValue } from "type-fest"; | |
[7m [0m [91m ~~~~~~~~~~~[0m | |
Found 15 error(s). | |
npm info lifecycle @my-app/server@~start: Failed to exec start script | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! @my-app/server@ start: `nest start` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the @my-app/server@ start script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm timing npm Completed in 3102ms | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /opt/app-root/src/.npm/_logs/2022-06-07T17_39_28_469Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment