-
Notifications
You must be signed in to change notification settings - Fork 851
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
Error from backend docker image (lodash) #644
Comments
add "@types/lodash": "4.14" to package.js [devDependencies] |
PR: #645 |
Hi, the last version is not working anymore: > [backend 11/11] RUN npm run build:
0.528
0.528 > backend@1.0.0 build /usr/src/app
0.528 > tsc
0.528
13.57 node_modules/@types/lodash/common/object.d.ts(1026,46): error TS1005: '?' expected.
13.57 node_modules/@types/lodash/common/object.d.ts(1031,46): error TS1005: '?' expected.
13.58 node_modules/@types/lodash/common/object.d.ts(1041,46): error TS1005: '?' expected.
13.62 npm ERR! code ELIFECYCLE
13.62 npm ERR! errno 2
13.62 npm ERR! backend@1.0.0 build: `tsc`
13.62 npm ERR! Exit status 2
13.62 npm ERR!
13.63 npm ERR! Failed at the backend@1.0.0 build script.
13.63 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
13.63
13.64 npm ERR! A complete log of this run can be found in:
13.64 npm ERR! /root/.npm/_logs/2024-10-17T16_47_43_221Z-debug.log
------
failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 2 |
The issue was resolved by switching to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When attempting to run docker-compose up, I encounter the following error during the build process:
The text was updated successfully, but these errors were encountered: