Theia: next version crash: Error: Couldn't find any versions for "@theia/monaco" that matches "0.5.0-next.74d71420"

Created on 25 Mar 2019  路  4Comments  路  Source: eclipse-theia/theia

Description

Following your documentation and installation process is not working:
https://www.theia-ide.org/doc/Composing_Applications.html

Breaking at # yarn command

Reproduction Steps

[root@ip-192-168-1-199 my-app]# yarn
yarn install v1.13.0
info No lockfile found.
[1/4] Resolving packages...
Couldn't find any versions for "@theia/monaco" that matches "0.5.0-next.74d71420"
? Please choose a version of "@theia/monaco" from this list: (Use arrow keys)

warning @theia/typescript > @theia/core > [email protected]: Re-Released as 5.0.1
warning @theia/typescript > @theia/filesystem > trash > xdg-trashdir > @sindresorhus/df > execa > [email protected]: cross-spawn no longer requires a build toolchain, use it instead
warning @theia/typescript > @theia/core > electron > electron-download > nugget > progress-stream > through2 > xtend > [email protected]:
[root@ip-192-168-1-199 my-app]# cat package.json
{
  "private": true,
  "dependencies": {
    "typescript": "latest",
    "@theia/typescript": "next",
    "@theia/navigator": "next",
    "@theia/terminal": "next",
    "@theia/outline-view": "next",
    "@theia/preferences": "next",
    "@theia/messages": "next",
    "@theia/git": "next",
    "@theia/file-search": "next",
    "@theia/markers": "next",
    "@theia/preview": "next",
    "@theia/callhierarchy": "next",
    "@theia/merge-conflicts": "next",
    "@theia/search-in-workspace": "next",
    "@theia/json": "next",
    "@theia/textmate-grammars": "next",
    "@theia/mini-browser": "next"
  },
  "devDependencies": {
    "@theia/cli": "next"
  }
}
[root@ip-192-168-1-199 my-app]# yarn --force
yarn install v1.13.0
info No lockfile found.
[1/4] Resolving packages...
warning @theia/typescript > @theia/core > [email protected]: Re-Released as 5.0.1
warning @theia/typescript > @theia/filesystem > trash > xdg-trashdir > @sindresorhus/df > execa > [email protected]: cross-spawn no longer requires a build toolchain, use it instead
warning @theia/typescript > @theia/core > electron > electron-download > nugget > progress-stream > through2 > xtend > [email protected]:
warning @theia/navigator > @theia/core > [email protected]: Re-Released as 5.0.1
warning @theia/cli > @theia/application-manager > webpack-cli > jscodeshift > [email protected]: 馃檶  Thanks for using Babel: we recommend using babel-preset-env now: please read 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 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.
[2/4] Fetching packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@theia/monaco/-/monaco-0.5.0-next.74d71420.tgz: Request failed \"404 Not Found\"".
info If you think this is a bug, please open a bug report with the information provided in "/home/centos/my-app/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

OS and Theia version:
AWS instance Centos 7 latest, Theia version latest i guess from the json file.

Diagnostics:

[root@ip-192-168-1-199 my-app]# cat /home/centos/my-app/yarn-error.log
Arguments:
/root/.nvm/versions/node/v8.15.1/bin/node /root/.nvm/versions/node/v8.15.1/bin/yarn --force

PATH:
/root/.nvm/versions/node/v8.15.1/bin:/sbin:/bin:/usr/sbin:/usr/bin

Yarn version:
1.13.0

Node version:
8.15.1

Platform:
linux x64

Trace:
Error: https://registry.yarnpkg.com/@theia/monaco/-/monaco-0.5.0-next.74d71420.tgz: Request failed "404 Not Found"
at ResponseError.ExtendableBuiltin (/root/.nvm/versions/node/v8.15.1/lib/node_modules/yarn/lib/cli.js:702:66)
at new ResponseError (/root/.nvm/versions/node/v8.15.1/lib/node_modules/yarn/lib/cli.js:808:124)
at Request. (/root/.nvm/versions/node/v8.15.1/lib/node_modules/yarn/lib/cli.js:66325:16)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at Request.module.exports.Request.onRequestResponse (/root/.nvm/versions/node/v8.15.1/lib/node_modules/yarn/lib/cli.js:130274:10)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at HTTPParser.parserOnIncomingClient (_http_client.js:558:21)
at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)

ci

Most helpful comment

Please clean yarn.lock and try again. yarn had issues today to publish next versions, now it should be good.

All 4 comments

Please clean yarn.lock and try again. yarn had issues today to publish next versions, now it should be good.

Hi,

Works, but there is a lot of warnings during yarn build, not sure if thats normal or you should fix it?
Anyway here is the output:

warning @theia/typescript > @theia/core > [email protected]: Re-Released as 5.0.1
warning @theia/typescript > @theia/filesystem > trash > xdg-trashdir > @sindresorhus/df > execa > [email protected]: cross-spawn no longer requires a build toolchain, use it instead
warning @theia/typescript > @theia/core > electron > electron-download > nugget > progress-stream > through2 > xtend > [email protected]:
warning @theia/cli > @theia/application-manager > webpack-cli > jscodeshift > [email protected]: 馃檶  Thanks for using Babel: we recommend using babel-preset-env now: please read 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 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.
[2/4] Fetching packages...
warning [email protected]: The engine "vscode" appears to be invalid.
warning [email protected]: The engine "vscode" appears to be invalid.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
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".

@dmirc this looks normal.

Thanks for confirming the build is now working for you.

The problem seems to be resolved; I am closing it. Please reopen if required.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jeanlucburot picture jeanlucburot  路  3Comments

kpge picture kpge  路  3Comments

jankeromnes picture jankeromnes  路  3Comments

akosyakov picture akosyakov  路  3Comments

akosyakov picture akosyakov  路  3Comments