For development we need install npm packages on the host OS#3
Open
tmszi wants to merge 1 commit intoOpenPlainsInc:mainfrom
Open
For development we need install npm packages on the host OS#3tmszi wants to merge 1 commit intoOpenPlainsInc:mainfrom
tmszi wants to merge 1 commit intoOpenPlainsInc:mainfrom
Conversation
Inside ./webapp dir before docker compose up.
Fix tomorrownowapp_webapp_1 container launch error:
```
> webapp@0.1.0 start
> react-scripts start
node:internal/modules/cjs/loader:988
throw err;
^
Error: Cannot find module 'react'
Require stack:
- /home/node/.npm-global/lib/node_modules/react-scripts/scripts/start.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
at Function.resolve (node:internal/modules/cjs/helpers:109:19)
at Object.<anonymous> (/home/node/.npm-global/lib/node_modules/react-scripts/scripts/start.js:43:31)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:47 {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/node/.npm-global/lib/node_modules/react-scripts/scripts/start.js'
]
}
```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Inside ./webapp dir before
docker compose up.Fix tomorrownowapp_webapp_1 container launch error:
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/tomorrownow/TomorrowNowApp.gitdocker-compose updocker logs tomorrownowapp_webapp_1