canove / whaticket-community

A very simple Ticket System based on WhatsApp messages, that allow multi-users in same WhatsApp account.
MIT License
1.55k stars 795 forks source link

Error from backend docker image (lodash) #644

Open adrianomirandaa opened 1 month ago

adrianomirandaa commented 1 month ago

When attempting to run docker-compose up, I encounter the following error during the build process:

 => [backend  9/11] RUN npm install                                                                                                                          113.3s
 => [backend 10/11] COPY . .                                                                                                                                   0.1s 
 => ERROR [backend 11/11] RUN npm run build                                                                                                                    5.1s
------
 > [backend 11/11] RUN npm run build:
0.342 
0.342 > backend@1.0.0 build
0.342 > tsc
0.342 
4.990 node_modules/@types/lodash/common/object.d.ts(1026,46): error TS1005: '?' expected.
4.991 node_modules/@types/lodash/common/object.d.ts(1031,46): error TS1005: '?' expected.
4.991 node_modules/@types/lodash/common/object.d.ts(1041,46): error TS1005: '?' expected.
------
failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 2
baldomerocho commented 1 month ago

add "@types/lodash": "4.14" to package.js [devDependencies]

baldomerocho commented 1 month ago

PR: https://github.com/canove/whaticket-community/pull/645