bigcapitalhq / bigcapital

💵 Bigcapital is financial accounting with intelligent reporting for faster decision-making, an open-source alternative to Quickbooks, Xero, etc.
https://bigcapital.app
GNU Affero General Public License v3.0
2.43k stars 204 forks source link

Error while building the webapp docker image with the dockerfile #540

Open Sedjro2002 opened 1 month ago

Sedjro2002 commented 1 month ago

i'am actually trying to add french transcription to the app, and in order to test, i have tried to follow your instruction to run the app but it doesn't work (can't connect to the proxy on the port 3000), so i'm trying to build an image of the webapp and replace it in the docker compose, but it is not working either...

This the error i'm getting:

3.921 3.921 > @bigcapital/webapp:build 3.921 5.257 > @bigcapital/webapp@0.10.2 build /app/packages/webapp 5.257 > craco build 5.324 node:internal/modules/cjs/loader:1078 5.324 throw err; 5.324 ^ 5.325 Error: Cannot find module '/app/packages/webapp/node_modules/@craco/craco/bin/craco.js' 5.325 at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) 5.325 at Module._load (node:internal/modules/cjs/loader:920:27) 5.325 at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) 5.325 at node:internal/main/run_main_module:23:47 { 5.325 code: 'MODULE_NOT_FOUND', 5.325 requireStack: [] 5.325 } 5.325 Node.js v18.16.0 5.336  ELIFECYCLE  Command failed with exit code 1.

linear[bot] commented 1 month ago

BIG-222 Error while building the webapp docker image with the dockerfile