Getting Started NodeJS+Yarn fails to run
See original GitHub issueDescribe 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/npm-@babel-types-7.10.5-d88ae7e2fde86bfbfe851d4d81afa70a997b5d15/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
- Go to
Get Started
page andGet Started
tab - Cick on
NodeJS Web Application based on Yarn
- 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
andkubectl version
) - minishift (include output of
minishift version
andoc version
) - docker-desktop + K8S (include output of
docker version
andkubectl version
) - other: (please specify)
Screenshots
EDIT: Updated image
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
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Yarn Start Command failed with exit code 1 - Stack Overflow
Go to start-menu -> search and type environment variables and open it · There will be a variable named PATH. Append C:\Windows\system32 to...
Read more >yarn install failing #109 - GoogleCloudPlatform/nodejs-docker
Deployments just started breaking for me, removing the yarn.lock file (thus falling back to npm) fixes the issue.
Read more >How To Install and Use the Yarn Package Manager for Node.js
Yarn is a package manager for Node.js that focuses on speed, security, and consistency. In this tutorial you will install Yarn globally, ...
Read more >Error Codes | Yarn - Package Manager
A package build failed. This problem typically doesn't come from Yarn itself, and simply means that a package described as having build directives...
Read more >Getting Started - ESBuild
If you run the code using node out.js , you should see something like this: ... so no additional configuration is necessary to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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:
it will display a message indicating that there is no more space
Thanks for the fix @svor