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

Getting Started NodeJS+Yarn fails to run #17453

Closed
4 of 22 tasks
Katka92 opened this issue Jul 21, 2020 · 6 comments
Closed
4 of 22 tasks

Getting Started NodeJS+Yarn fails to run #17453

Katka92 opened this issue Jul 21, 2020 · 6 comments
Assignees
Labels
area/devfile-registry area/plugins kind/bug Outline of a bug - must adhere to the bug report template. new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@Katka92
Copy link
Contributor

Katka92 commented Jul 21, 2020

Describe the bug

When the workspace is started, the predefined commands can not be run. The first command that needs to be run is install all required dependencies.

The error is shown in terminal:

error Could not write file "/projects/react-web-app/yarn-error.log": "errmap.get is not a function or its return value is not iterable"`
error An unexpected error occurred: "Unknown system error -122: Unknown system error -122, copyfile '/home/user/.cache/yarn/v4/[email protected]/node_modules/@babel/types/lib/definitions/utils.js' -> '/projects/react-web-app/node_modules/@babel/plugin-syntax-object-rest-spread/node_modules/@babel/types/lib/definitions/utils.js'".

Che version

  • latest 7.16.0
  • nightly
  • other: please specify

Steps to reproduce

  1. Go to Get Started page and Get Started tab
  2. Cick on NodeJS Web Application based on Yarn
  3. Run command install all required dependencies

Expected behavior

The commands should work correctly.

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version) 4.4
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Screenshots

EDIT: Updated image
Screenshot from 2020-07-22 11-32-44

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
    • provide an output of chectl version command
  • OperatorHub
  • I don't know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • other: please specify OpenStack
@Katka92 Katka92 added the kind/bug Outline of a bug - must adhere to the bug report template. label Jul 21, 2020
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jul 21, 2020
@skabashnyuk skabashnyuk added area/devfile-registry area/plugins severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jul 22, 2020
@tsmaeder
Copy link
Contributor

tsmaeder commented Jul 22, 2020

The error in the terminal in the picture says "no space left on device".

@Katka92
Copy link
Contributor Author

Katka92 commented Jul 22, 2020

@tsmaeder Oh damn, sorry, I posted the wrong image. I've updated that.

@tsmaeder
Copy link
Contributor

Darn...I was already starting to yell "duplicate" ;-)

@l0rd l0rd added the new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes label Jul 25, 2020
@l0rd l0rd changed the title "NodeJS Web Aplication based on Yarn" devfile not able to install dependencies Getting Started NodeJS+Yarn fails to run Jul 25, 2020
@ericwill ericwill mentioned this issue Jul 30, 2020
29 tasks
@benoitf
Copy link
Contributor

benoitf commented Jul 30, 2020

I already had this issue, it's related to an out-of-space on the disk in ephemeral case

yarn command download node_modules but fail to download more as ephemeral storage is reached

to validate that, when you see this message, try to do:

echo "test" > /projects/foo

it will display a message indicating that there is no more space

@ericwill ericwill added this to the 7.18 milestone Aug 5, 2020
@ericwill ericwill mentioned this issue Aug 20, 2020
32 tasks
@Katka92
Copy link
Contributor Author

Katka92 commented Aug 27, 2020

@benoitf Thank you for your advice, I verified that it is quota exceeded issue - it's also present in 7.17.2 on Hosted Che. It happens for ephemeral storage.
When I run the workspace in the non-ephemeral storage, I get this error:
Screenshot from 2020-08-27 11-47-49
cc @ibuziuk can it also be related to the storage issues?

@ericwill
Copy link
Contributor

ericwill commented Sep 9, 2020

Thanks for the fix @svor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devfile-registry area/plugins kind/bug Outline of a bug - must adhere to the bug report template. new&noteworthy For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

8 participants