Git Product home page Git Product logo

sample-apps's People

Contributors

annaperis-akeneo avatar dependabot[bot] avatar fabiend avatar gwendalaubert avatar nidup avatar quentinmllt avatar samokiss avatar tomglvng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sample-apps's Issues

DSM App Fresh install failed start - MacOS M2 + Docker desktop 4.24.2 (124339)

Step one

git clone + make start

Output:

akeneo-dsm git:(main) make start                                                                                                              11:27  [email protected]@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 > [email protected] 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] 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.