matthewsmorrison / fire-dashboard

Open-source financial independence dashboard
Apache License 2.0
51 stars 9 forks source link

[BUG]: Cannot start the application #11

Open ls12styler opened 3 years ago

ls12styler commented 3 years ago

Describe the bug When trying to use npm start to start the application, I'm presented with an error. I am running this from within a docker container (node:alpine)

To Reproduce Steps to reproduce the behaviour:

  1. Run the docker image: docker run --rm -it -v /path/to/repo:/local -w /local node:alpine /bin/sh
  2. Install dependencies: npm install
  3. Start the app: npm start
  4. See error

Expected behaviour I would have expected the application to start

Desktop (please complete the following information):

Additional context Stack trace:

`/local # npm start ]

fire-dashboard@0.1.0 start react-scripts start

node:internal/modules/cjs/loader:928 throw err; ^

Error: Cannot find module 'react-dev-utils/crossSpawn' Require stack:

npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2021-04-06T14_52_03_504Z-debug.log`

BoKKeR commented 1 month ago

I didnt have problem running the application, make sure to use node 16, you can use NVM to change node. Also run npm ci instead of install