-
Notifications
You must be signed in to change notification settings - Fork 5.9k
The yarn reports an error at runtime #184
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
Comments
Hey @407chendaxia, I want to know your system info so its easier for us to diagnose the problem, typically |
Could you provide the full log? |
@407chendaxia 在并行安装依赖的时候会导致这个问题。也可能是GFW 的原因导致的。 Maybe fix at #176 Or add these to your registry=https://registry.npm.taobao.org/
electron_mirror=https://npm.taobao.org/mirrors/electron
chromedriver_cdnurl=http://cdn.npm.taobao.org/dist/chromedriver
sass_binary_site=http://cdn.npm.taobao.org/dist/node-sass
disturl=https://npm.taobao.org/mirrors/node
fse_binary_host_mirror=https://npm.taobao.org/mirrors/fsevents |
Sometime I wonder why even that firewall blocks NPM. China get your crap right. |
Sorry,this is not a firewall issue but a China Telecom issue. There are three telecommunications operator in China, only the China Telecom has this issue. |
I used this tool for the first time, I just executed the yarn command in the directory. |
I followed the log and found that when I executed 'node_modules.bin>ts-node scripts\install-packages.ts', I get this error. |
@nhooyr this is network related issue so I don't think it merits a full verbose log during yarn install |
The provided error doesn't indicate anything. How do you know its a network issue? |
I too am having this
|
Got it! I had a very old version of Maybe it would be a good idea to add something to the readme for a developing quick-start guide? |
We'll see if the developers can provide it, because I'm afraid the developers know more how it works |
i have the same proble on win10, how to fix? @sean256 |
Windows builds are not fully working yet |
Seems like this yarn error has been fixed since we no longer install dependencies in parallel. |
code-server version: master branch
OS Version: windows10
When I ran the yarn at the root directory, it reports a error:
INFO Installing "logger" dependencies...
ERROR Failed to install "logger" dependencies {"error":{"killed":false,"code":1,"signal":null,"cmd":"yarn --network-concurrency 1"},"stdout":"[1/4] Resolving packages...\nsuccess Already up-to-date.\n$ if [ ! -d out ];then npm run build; fi\ninfo Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\n","stderr":"warning ..\package.json: No license field\n��ʱ��Ӧ�� !��\r\nerror Command failed with exit code 1.\n"}
The text was updated successfully, but these errors were encountered: