-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Step one
git clone + make start
Output:
akeneo-dsm git:(main) make start 11:27 ronan.guilloux@akeneo.com@Ronan-Guilloux-GJY4T2KV02
docker compose up -d
[+] Building 1.0s (18/18) FINISHED docker:desktop-linux
=> [front internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 243B 0.0s
=> [front internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [front internal] load metadata for docker.io/library/node:20-alpine 0.9s
=> [back internal] load .dockerignore 0.0s
=> => transferring context: 116B 0.0s
=> [back internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 569B 0.0s
=> [back internal] load metadata for docker.io/library/node:18 0.9s
=> [front core 1/1] FROM docker.io/library/node:20-alpine@sha256:7e227295e96f5b00aa79555ae166f50610940d888fc2e321cf36304cbd17d7d6 0.0s
=> [front internal] load build context 0.0s
=> => transferring context: 907B 0.0s
=> CACHED [front development 1/3] WORKDIR /srv/app/front 0.0s
=> CACHED [front development 2/3] COPY ./ ./ 0.0s
=> CACHED [front development 3/3] RUN npm i 0.0s
=> [front] exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:5ba93ab2061b5cf37f359f61dd5a2fcd6973cc4744a1ca708714d6d42db0c031 0.0s
=> => naming to docker.io/library/akeneo-dsm-front 0.0s
=> [back core 1/2] FROM docker.io/library/node:18@sha256:be6b6dc2a62591408c3f0475de2e3ae34e22879fe0f5b4c3733ecfadffd62e3b 0.0s
=> CACHED [back core 2/2] RUN apt-get update && apt-get install -y git unzip curl sqlite3 && apt-get clean 0.0s
=> CACHED [back dev-tools 1/2] RUN npm install -g npm 0.0s
=> CACHED [back dev-tools 2/2] RUN npm install -g nodemon 0.0s
=> CACHED [back development 1/1] WORKDIR /srv/app 0.0s
=> [back] exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:cd528c612bf7b02f2afece5a9c27d989520621281e26cb0b6f6543446f39285b 0.0s
=> => naming to docker.io/library/akeneo-dsm-back 0.0s
[+] Running 3/3
✔ Network akeneo-dsm_dsm-network Created 0.0s
✔ Container dsm-front Started 0.0s
✔ Container dsm-back Started 0.0s
**** ReactJS + NodeJS ****
Web app (served by ReactJS + NodeJS): http://localhost:3000/
Checking the dsm-front daemon container log:
2024-04-08 11:31:27
2024-04-08 11:31:27 > front-end@0.1.0 start
2024-04-08 11:31:27 > react-scripts start
2024-04-08 11:31:27
2024-04-08 11:31:27 sh: react-scripts: not found
Checking the dsm-back daemon container log:
2024-04-08 11:31:27 [nodemon] 3.1.0
2024-04-08 11:31:27 [nodemon] to restart at any time, enter `rs`
2024-04-08 11:31:27 [nodemon] watching path(s): *.*
2024-04-08 11:31:27 [nodemon] watching extensions: js,mjs,cjs,json
2024-04-08 11:31:27 [nodemon] starting `node ./bin/www >> var/error.log`
2024-04-08 11:31:27 [nodemon] Error
2024-04-08 11:31:27 at Bus.<anonymous> (/usr/local/lib/node_modules/nodemon/lib/nodemon.js:158:25)
2024-04-08 11:31:27 at Bus.emit (node:events:529:35)
2024-04-08 11:31:27 at ChildProcess.<anonymous> (/usr/local/lib/node_modules/nodemon/lib/monitor/run.js:219:11)
2024-04-08 11:31:27 at ChildProcess.emit (node:events:517:28)
2024-04-08 11:31:27 at ChildProcess._handle.onexit (node:internal/child_process:292:12)
024-04-08 11:31:27 [nodemon] 3.1.0
2024-04-08 11:31:27 [nodemon] to restart at any time, enter `rs`
2024-04-08 11:31:27 [nodemon] watching path(s): *.*
2024-04-08 11:31:27 [nodemon] watching extensions: js,mjs,cjs,json
2024-04-08 11:31:27 [nodemon] starting `node ./bin/www >> var/error.log`
2024-04-08 11:31:27 [nodemon] Error
2024-04-08 11:31:27 sh: 1: cannot create var/error.log: Directory nonexistent
2024-04-08 11:31:27 [nodemon] process failed, unhandled exit code (2)
2024-04-08 11:31:27 [nodemon]
2024-04-08 11:31:27 [nodemon] Either the command has a syntax error,
2024-04-08 11:31:27 [nodemon] or it is exiting with reserved code 2.
2024-04-08 11:31:27 [nodemon]
2024-04-08 11:31:27 [nodemon] To keep nodemon running even after a code 2,
2024-04-08 11:31:27 [nodemon] add this to the end of your command: || exit 1
2024-04-08 11:31:27 [nodemon]
2024-04-08 11:31:27 [nodemon] Read more here: https://git.io/fNOAG
2024-04-08 11:31:27 [nodemon]
2024-04-08 11:31:27 [nodemon] nodemon will stop now so that you can fix the command.
2024-04-08 11:31:27 [nodemon]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels