You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"}
Hey @407chendaxia, I want to know your system info so its easier for us to diagnose the problem, typically yarn works without issues, and this seems rare.
@407chendaxia 在并行安装依赖的时候会导致这个问题。也可能是GFW 的原因导致的。 @nhooyr This problem is caused when parallel installation dependencies. It may also be that the Chinese firewall makes the installation fail.
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.
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\n\n> @coder/logger@1.0.3 build /Volumes/gits/code-server/packages/logger\n> tsc -p tsconfig.build.json && cp ./out/packages/logger/src/* ./out && rm -rf out/packages && ../../node_modules/.bin/webpack --config ./webpack.config.js\n\nerror TS5023: Unknown compiler option 'emitDeclarationOnly'.\nerror TS5023: Unknown compiler option 'resolveJsonModule'.\ninfo Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.\n","stderr":"warning ../package.json: No license field\nnpm ERR! code ELIFECYCLE\nnpm ERR! errno 1\nnpm ERR! @coder/logger@1.0.3 build: `tsc -p tsconfig.build.json && cp ./out/packages/logger/src/* ./out && rm -rf out/packages && ../../node_modules/.bin/webpack --config ./webpack.config.js`\nnpm ERR! Exit status 1\nnpm ERR! \nnpm ERR! Failed at the @coder/logger@1.0.3 build script.\nnpm ERR! This is probably not a problem with npm. There is likely additional logging output above.\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /Users/sean/.npm/_logs/2019-03-23T03_12_28_733Z-debug.log\nerror Command failed with exit code 1.\n"}
Activity
sr229 commentedon Mar 10, 2019
Hey @407chendaxia, I want to know your system info so its easier for us to diagnose the problem, typically
yarnworks without issues, and this seems rare.nhooyr commentedon Mar 10, 2019
Could you provide the full log?
jeasonstudio commentedon Mar 11, 2019
@407chendaxia 在并行安装依赖的时候会导致这个问题。也可能是GFW 的原因导致的。
@nhooyr This problem is caused when parallel installation dependencies. It may also be that the Chinese firewall makes the installation fail.
Maybe fix at #176
Or add these to your
.npmrcfile:sr229 commentedon Mar 11, 2019
Sometime I wonder why even that firewall blocks NPM.
China get your crap right.
407chendaxia commentedon Mar 13, 2019
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.
407chendaxia commentedon Mar 13, 2019
I used this tool for the first time, I just executed the yarn command in the directory.
407chendaxia commentedon Mar 13, 2019
I followed the log and found that when I executed 'node_modules.bin>ts-node scripts\install-packages.ts', I get this error.
sr229 commentedon Mar 13, 2019
@nhooyr this is network related issue so I don't think it merits a full verbose log during yarn install
nhooyr commentedon Mar 13, 2019
The provided error doesn't indicate anything. How do you know its a network issue?
sean256 commentedon Mar 23, 2019
I too am having this
sean256 commentedon Mar 23, 2019
Got it! I had a very old version of
tscinstalled. Being brand new to this project I didn't event know I had to have it as a global dependency.Maybe it would be a good idea to add something to the readme for a developing quick-start guide?
sr229 commentedon Mar 23, 2019
We'll see if the developers can provide it, because I'm afraid the developers know more how it works
dijiang commentedon Apr 19, 2019
i have the same proble on win10, how to fix? @sean256
dijiang commentedon Apr 19, 2019
dijiang commentedon Apr 19, 2019
ts-node problem?
nol166 commentedon Apr 19, 2019
Windows builds are not fully working yet
kylecarbs commentedon Apr 24, 2019
Seems like this yarn error has been fixed since we no longer install dependencies in parallel.