Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Except for db, all others failed to start #16

Open
qidasheng369 opened this issue Sep 4, 2024 · 0 comments
Open

Except for db, all others failed to start #16

qidasheng369 opened this issue Sep 4, 2024 · 0 comments

Comments

@qidasheng369
Copy link

qidasheng369 commented Sep 4, 2024

image

node_modules/@types/express-serve-static-core/index.d.ts(1211,48): error TS1005: ';' expected.
node_modules/@types/express-serve-static-core/index.d.ts(1227,16): error TS1005: ';' expected.
node_modules/@types/express-serve-static-core/index.d.ts(1228,33): error TS1005: ';' expected.
node_modules/@types/express-serve-static-core/index.d.ts(1296,1): error TS1160: Unterminated template literal.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! permission@0.0.1 build: rimraf dist && tsc -p tsconfig.build.json
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the permission@0.0.1 build 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! /root/.npm/_logs/2024-09-04T16_42_01_564Z-debug.log

It's all about this issue.

more msg

user serve

npm run build && npm run start:prod

user@0.0.1 build /Users/qidasheng/dev/service/nestjs/nestjs-microservices-example/user
rimraf dist && tsc -p tsconfig.build.json

node_modules/@types/express-serve-static-core/index.d.ts:93:68 - error TS1110: Type expected.

93 type RemoveTail<S extends string, Tail extends string> = S extends ${infer P}${Tail} ? P : S;
~~~

node_modules/@types/express-serve-static-core/index.d.ts:93:77 - error TS1005: '}' expected.

93 type RemoveTail<S extends string, Tail extends string> = S extends ${infer P}${Tail} ? P : S;
~

node_modules/@types/express-serve-static-core/index.d.ts:93:78 - error TS1128: Declaration or statement expected.

93 type RemoveTail<S extends string, Tail extends string> = S extends ${infer P}${Tail} ? P : S;
npm error Found: @nestjs/common@8.0.0
npm error node_modules/@nestjs/common
npm error @nestjs/common@"8.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @nestjs/common@"^6.0.0 || ^7.0.0" from @nestjs/mongoose@7.2.4
npm error node_modules/@nestjs/mongoose
npm error @nestjs/mongoose@"7.2.4" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/qidasheng/.npm/_logs/2024-09-04T16_45_04_318Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/qidasheng/.npm/_logs/2024-09-04T16_45_04_318Z-debug-0.log

@qidasheng369 qidasheng369 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2024
@qidasheng369 qidasheng369 changed the title => [permission internal] load metadata for docker.io/library/node:14.8.0-alpine Except for db, all others failed to start Sep 4, 2024
@qidasheng369 qidasheng369 reopened this Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant