Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI container does not start #53

Closed
brian-lc opened this issue Mar 28, 2020 · 1 comment · Fixed by #54
Closed

UI container does not start #53

brian-lc opened this issue Mar 28, 2020 · 1 comment · Fixed by #54
Assignees
Labels
🪲 bug Something isn't working

Comments

@brian-lc
Copy link
Collaborator

brian-lc commented Mar 28, 2020

Expected Behavior

UI container comes up with make start

Actual Behavior

UI container exits

Steps to Reproduce the Problem

  1. Clone the repo, latest master branch
  2. cd baseline and make && make deploy-contracts
  3. make start
  4. cd radish34 and docker-compose logs -f ui and you'll see the error (included below).

Specifications

  • Version:
➜  radish34 git:(master) npm --version
6.7.0
➜  radish34 git:(master) node --version
v11.15.0
➜  radish34 git:(master) docker --version
Docker version 19.03.8, build afacb8b
  • Platform:
➜  radish34 git:(master) sw_vers
ProductName:	Mac OS X
ProductVersion:	10.15.4
BuildVersion:	19E266
  • Subsystem: N/A

Logs

➜  radish34 git:(master) docker-compose logs -f ui
Attaching to radish34_ui_1
ui_1                   | 
ui_1                   | > radish34-ui@1.0.0 start /app
ui_1                   | > react-scripts start
ui_1                   | 
ui_1                   | 
ui_1                   | There might be a problem with the project dependency tree.
ui_1                   | It is likely not a bug in Create React App, but something you need to fix locally.
ui_1                   | 
ui_1                   | The react-scripts package provided by Create React App requires a dependency:
ui_1                   | 
ui_1                   |   "jest": "24.9.0"
ui_1                   | 
ui_1                   | Don't try to install it manually: your package manager does it automatically.
ui_1                   | However, a different version of jest was detected higher up in the tree:
ui_1                   | 
ui_1                   |   /app/node_modules/jest (version: 24.8.0) 
ui_1                   | 
ui_1                   | Manually installing incompatible versions is known to cause hard-to-debug issues.
ui_1                   | 
ui_1                   | If you would prefer to ignore this check, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
ui_1                   | That will permanently disable this message but you might encounter other issues.
ui_1                   | 
ui_1                   | To fix the dependency tree, try following the steps below in the exact order:
ui_1                   | 
ui_1                   |   1. Delete package-lock.json (not package.json!) and/or yarn.lock in your project folder.
ui_1                   |   2. Delete node_modules in your project folder.
ui_1                   |   3. Remove "jest" from dependencies and/or devDependencies in the package.json file in your project folder.
ui_1                   |   4. Run npm install or yarn, depending on the package manager you use.
ui_1                   | 
ui_1                   | In most cases, this should be enough to fix the problem.
ui_1                   | If this has not helped, there are a few other things you can try:
ui_1                   | 
ui_1                   |   5. If you used npm, install yarn (http://yarnpkg.com/) and repeat the above steps with it instead.
ui_1                   |      This may help because npm has known issues with package hoisting which may get resolved in future versions.
ui_1                   | 
ui_1                   |   6. Check if /app/node_modules/jest is outside your project directory.
ui_1                   |      For example, you might have accidentally installed something in your home folder.
ui_1                   | 
ui_1                   |   7. Try running npm ls jest in your project folder.
ui_1                   |      This will tell you which other package (apart from the expected react-scripts) installed jest.
ui_1                   | 
ui_1                   | If nothing else helps, add SKIP_PREFLIGHT_CHECK=true to an .env file in your project.
ui_1                   | That would permanently disable this preflight check in case you want to proceed anyway.
ui_1                   | 
ui_1                   | P.S. We know this message is long but please read the steps above :-) We hope you find them helpful!
ui_1                   | 
ui_1                   | npm ERR! code ELIFECYCLE
ui_1                   | npm ERR! errno 1
ui_1                   | npm ERR! radish34-ui@1.0.0 start: `react-scripts start`
ui_1                   | npm ERR! Exit status 1
ui_1                   | npm ERR! 
ui_1                   | npm ERR! Failed at the radish34-ui@1.0.0 start script.
ui_1                   | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
ui_1                   | 
ui_1                   | npm ERR! A complete log of this run can be found in:
ui_1                   | npm ERR!     /root/.npm/_logs/2020-03-28T00_17_26_654Z-debug.log
radish34_ui_1 exited with code 1
@brian-lc brian-lc added the 🪲 bug Something isn't working label Mar 28, 2020
@kthomas kthomas self-assigned this Mar 28, 2020
@kthomas
Copy link
Contributor

kthomas commented Mar 28, 2020

I noticed this, will be fixed in #49

@brian-lc brian-lc assigned brian-lc and unassigned kthomas Mar 28, 2020
fosgate29 pushed a commit that referenced this issue Jun 19, 2022
* Initial commit

* GitBook: [#27] grammar updates

* GitBook: [#28] No subject

* GitBook: [#29] formatting change

* GitBook: [#30] grammar change

* GitBook: [#31] formatting change

* GitBook: [#32] complete page of open source community functions, removing all duplications

* GitBook: [#33] No subject

* GitBook: [#34] No subject

* GitBook: [#35] No subject

* GitBook: [#36] No subject

* GitBook: [#39] costmic fix

* GitBook: [#40] No subject

* Changes file name of original baseline example png and replaces original with new image

* Fixes radish34 explained link

* renames high level baselline architecture and replaces linked high level architecture with new image

* fixes italicized bolded phrase md

* renames bri2 stack pngs and updates bri-2 to point to those photos

* Comments API package under source coude because it is a duplicate of the baseline package (alread on npm)

* Changes persistence package md file name to identity - same change to summary.md file

* Removes the duplicated org registry section from CCSM package and leaves it in identity package

* Changes name of api package file to baseline (matching what shows on gitbook)

* Changes package file name from api-1 to api in order to match gitbook

* Changes file incorrectly name vaults to messaging to match its content in packages

* adds vaults section to packages in summary md  and correpsonding file

* Changes radish link from google sheets connector file

* testing radish link

* Changes radish link in connector to relative gitbook link

* Changes the baseline protocol link to a relative one in connectors files

* Added dynamics, sheets, and sequence-diagram pngs to docs folder and fixed their reference in the erp connectors files

* Changes the reference of image5 for the shuttle microservice container

* GitBook: [#42] delete general assembly page as it is not governed as a separate body

* GitBook: [#44] No subject

* GitBook: [#45] community leaders updated

* GitBook: [#46] No subject

* GitBook: [#48] formatting updates on governance, info added to this page from other pages that belonged here.

* GitBook: [#50] changes to community meeting docs

* GitBook: [#51] changes to community pages

* GitBook: [#52] formatting change

* GitBook: [#53] updated terms on organzation

* GitBook: [#55] No subject

* GitBook: [#56] updating contributing title

* GitBook: [#57] No subject

* GitBook: [#65] Remove asterisks from welcome

* GitBook: [#66] No subject

* GitBook: [#67] No subject

* GitBook: [#69] BASEIcs talk added

* GitBook: [#72] No subject

* GitBook: [#74] Misc. Grammar & Spelliing

* GitBook: [#76] No subject

* GitBook: [#78] Relinquishing Core Dev Status

Co-authored-by: gitbook-bot <ghost@gitbook.com>
Co-authored-by: sonal.patel <sonal.patel@mesh.xyz>
Co-authored-by: Kasshern <keith.salzman@protonmail.com>
Co-authored-by: mark.rymsza <mark.rymsza@mesh.xyz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants