Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Build Failing #30

Open
kousikan opened this issue Apr 1, 2020 · 4 comments
Open

Build Failing #30

kousikan opened this issue Apr 1, 2020 · 4 comments

Comments

@kousikan
Copy link

kousikan commented Apr 1, 2020

Tried this command

git clone https://github.com/theia-ide/yangster-electron.git
&& cd yangster-electron
&& yarn
&& yarn build
&& yarn package

Failed with the following error message.
.
.
.
[2/4] 🚚 Fetching packages...
warning [email protected]: The engine "vscode" appears to be invalid.
warning [email protected]: The engine "vscode" appears to be invalid.
[3/4] 🔗 Linking dependencies...
warning "@theia/git > @theia/scm > [email protected]" has unmet peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "@theia/git > @theia/scm > [email protected]" has unmet peer dependency "react-dom@^0.14.0 || ^15.0.0 || ^16.0.0".
warning "theia-yang-extension > yang-sprotty > sprotty > [email protected]" has incorrect peer dependency "snabbdom@~0.6.6".
warning "@theia/cli > [email protected]" has unmet peer dependency "request@2..".
warning "@theia/cli > @theia/application-manager > [email protected]" has unmet peer dependency "font-awesome@>=4.3.0".
warning "@theia/cli > @theia/application-manager > font-awesome-webpack > [email protected]" has incorrect peer dependency "less@^2.3.1".
warning Workspaces can only be enabled in private projects.
[4/4] 🔨 Building fresh packages...
[1/10] ⠠ nsfw
[6/10] ⠠ find-git-repositories
[3/10] ⠠ @theia/node-pty
[4/10] ⠠ drivelist
error /Users/kousikan.veeramuthu/Downloads/yangster-electron/node_modules/vscode-ripgrep: Command failed.
Exit code: 1
Command: node ./lib/postinstall.js
Arguments:
Directory: /Users/kousikan.veeramuthu/Downloads/yangster-electron/node_modules/vscode-ripgrep
Output:
Finding release for v11.0.1-2
GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v11.0.1-2
Deleting invalid download cache
Downloading ripgrep failed: Error: Request failed: 403
at ClientRequest.https.get.response (/Users/kousikan.veeramuthu/Downloads/yangster-electron/node_modules/vscode-ripgrep/lib/download.js:106:24)
at Object.onceWrapper (events.js:281:20)
at ClientRequest.emit (events.js:193:13)
at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:560:23)
at HTTPParser.parserOnHeadersComplete (_http_common.js:113:17)
at TLSSocket.socketOnData (_http_client.js:447:22)
at TLSSocket.emit (events.js:193:13)

@gituser9
Copy link

gituser9 commented Apr 6, 2020

Also fail with node 13

yarn install v1.22.4
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] 🔍 Resolving packages...
warning @theia/core > @theia/application-package > [email protected]: request has been deprecated, see request/request#3142
warning @theia/core > react-virtualized > babel-runtime > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning @theia/editor > @theia/languages > @theia/workspace > @theia/filesystem > trash > xdg-trashdir > @sindresorhus/df > execa > [email protected]: cross-spawn no longer requires a build toolchain, use it instead
warning @theia/git > dugite-extra > dugite-no-gpl > [email protected]: request has been deprecated, see request/request#3142
warning @theia/git > @theia/scm > @types/[email protected]: This is a stub types definition. p-debounce provides its own type definitions, so you do not need this installed.
warning theia-yang-extension > theia-sprotty > sprotty > [email protected]: Re-Released as 5.0.1
warning @theia/cli > mocha > [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning @theia/cli > @theia/application-manager > less > [email protected]: request has been deprecated, see request/request#3142
warning @theia/cli > @theia/application-manager > webpack-cli > webpack-addons > jscodeshift > recast > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning @theia/cli > @theia/application-manager > electron-rebuild > node-gyp > [email protected]: request has been deprecated, see request/request#3142
warning @theia/cli > @theia/application-manager > webpack-cli > jscodeshift > babel-register > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning @theia/cli > @theia/application-manager > webpack-cli > jscodeshift > [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
warning @theia/cli > @theia/application-manager > webpack-cli > webpack-addons > jscodeshift > [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
warning @theia/cli > @theia/application-manager > webpack-cli > jscodeshift > [email protected]: Package no longer supported. Contact [email protected] for more info.
warning @theia/cli > @theia/application-manager > webpack-cli > webpack-addons > jscodeshift > [email protected]: Package no longer supported. Contact [email protected] for more info.
warning @theia/cli > @theia/application-manager > css-loader > cssnano > autoprefixer > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning @theia/cli > @theia/application-manager > css-loader > cssnano > postcss-merge-rules > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning @theia/cli > @theia/application-manager > css-loader > cssnano > postcss-merge-rules > caniuse-api > [email protected]: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
warning @theia/cli > @theia/application-manager > webpack > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning @theia/cli > @theia/application-manager > webpack > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning electron-builder > electron-download-tf > nugget > [email protected]: request has been deprecated, see request/request#3142
[2/4] 🚚 Fetching packages...
warning [email protected]: Invalid bin field for "url-loader".
warning [email protected]: The engine "vscode" appears to be invalid.
warning [email protected]: The engine "vscode" appears to be invalid.
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=10.11.0 <12". Got "13.12.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

@cedkim
Copy link

cedkim commented Aug 26, 2020

I'm also experiencing this issue on my own repo.

error /Users/runner/work/desktop/desktop/node_modules/vscode-ripgrep: Command failed.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Exit code: 1
Command: node ./lib/postinstall.js
Arguments: 
Directory: /Users/runner/work/desktop/desktop/node_modules/vscode-ripgrep
Output:
Finding release for v12.1.1
GET https://api.github.com/repos/microsoft/ripgrep-prebuilt/releases/tags/v12.1.1
Deleting invalid download cache
Downloading ripgrep failed: Error: Request failed: 403
    at ClientRequest.https.get.response (/Users/runner/work/desktop/desktop/node_modules/vscode-ripgrep/lib/download.js:127:24)
    at Object.onceWrapper (events.js:286:20)
    at ClientRequest.emit (events.js:198:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:565:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:111:17)
    at TLSSocket.socketOnData (_http_client.js:451:20)
    at TLSSocket.emit (events.js:198:13)
    at addChunk (_stream_readable.js:288:12)
    at readableAddChunk (_stream_readable.js:269:11)
    at TLSSocket.Readable.push (_stream_readable.js:224:10)

@cedkim
Copy link

cedkim commented Aug 26, 2020

This looks like it may be related to #25. However this looks a little different.

@duncdrum
Copy link

duncdrum commented Aug 6, 2021

see eclipse-theia/dugite-extra#49

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants