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

Sometimes rebuild Theia with plugins applied by env THEIA_PLUGINS fails #9095

Closed
AndrienkoAleksandr opened this issue Mar 14, 2018 · 3 comments · Fixed by #9163
Closed

Sometimes rebuild Theia with plugins applied by env THEIA_PLUGINS fails #9095

AndrienkoAleksandr opened this issue Mar 14, 2018 · 3 comments · Fixed by #9163
Assignees
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@AndrienkoAleksandr
Copy link
Contributor

Description

Sometimes rebuild Theia with plugins applied by env THEIA_PLUGINS fails:
yarn install v1.3.2
info No lockfile found.
[1/4] Resolving packages...
warning @theia/typescript > @theia/core > electron > electron-download > nugget > progress-stream > through2 > xtend > object-keys@0.4.0:
[2/4] Fetching packages...
warning vscode-base-languageclient@0.0.1-alpha.3: The engine "vscode" appears to be invalid.
info fsevents@1.1.3: The platform "linux" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "@theia/extension-manager > @theia/application-package > font-awesome-webpack@0.0.5-beta.2" has unmet peer dependency "font-awesome@>=4.3.0".
[4/4] Building fresh packages...
[6/7] ⠐ find-git-repositories: CXX(target) Release/obj.target/findGitRepos/src/FindGitRepos.o
[2/7] ⠐ electron
[3/7] ⠐ node-pty: ^~~~
[4/7] ⠐ nsfw: ^~~~
error /home/user/default/theia/node_modules/vscode-ripgrep: Command failed.
Exit code: 1
Command: node ./lib/postinstall.js
Arguments:

More:
yarn manifest:
No manifest

Lockfile:
No lockfile

Trace:
Error: /home/theia/node_modules/vscode-ripgrep: Command failed.
Exit code: 1
Command: sh
Arguments: -c node ./lib/postinstall.js
Directory: /home/theia/node_modules/vscode-ripgrep
Output:
Downloading ripgrep failed: Error: Request failed with code 401
at ProcessTermError.MessageError (/opt/yarn/lib/cli.js:186:110)
at new ProcessTermError (/opt/yarn/lib/cli.js:226:113)
at ChildProcess. (/opt/yarn/lib/cli.js:30281:17)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:567:12)

@AndrienkoAleksandr
Copy link
Contributor Author

Seems can be fixed by #9095 need more deep check.

@ghost
Copy link

ghost commented Mar 15, 2018

@AndrienkoAleksandr can you verify that GITHUB_TOKEN env is there in your Theia container?

@ghost ghost added the kind/question Questions that haven't been identified as being feature requests or bugs. label Mar 15, 2018
@ashumilova ashumilova added kind/bug Outline of a bug - must adhere to the bug report template. status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it. sprint/current team/ide2 and removed kind/question Questions that haven't been identified as being feature requests or bugs. labels Mar 15, 2018
@mmorhun mmorhun added status/in-progress This issue has been taken by an engineer and is under active development. and removed status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it. labels Mar 15, 2018
@mmorhun mmorhun added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. and removed status/in-progress This issue has been taken by an engineer and is under active development. labels Mar 22, 2018
@mmorhun
Copy link
Contributor

mmorhun commented Mar 23, 2018

The problem with vscode-ripgrep downloading ban still remains. But it cannot be fixed on Che side.

@mmorhun mmorhun removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants