-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Command yarn install failling when trying to run Backstage app #1774
Comments
Looks like trouble with installing the esbuild binary. Does the following work or give you a more informative error message? npm install --prefer-offline --no-audit --progress=false esbuild-linux-64@0.6.3 |
Here is the output of the command: npm install --prefer-offline --no-audit --progress=false esbuild-linux-64@0.6.3
39 packages are looking for funding |
Ah shite sorry, forgot to tell you to run that in a separate folder ._. It seems to have worked fine though, maybe the original issue was just some network/npm flakiness. Does the original |
Ok i found the issue, I ran the command in a separate folder, and in fact it failed because of my npm registry configuration, it was searching inside my company's registry. So i defined the registry to https://registry.npmjs.org/ and now yarn install is working perfectly. |
[1] 2021-05-06T09:41:58.472Z catalog info Locations Refresh: Completed locations refresh in 434ms type=plugin component=catalog-all-locations-refresh i have installed and started yarn dev and its is still runnning for 3+ hours like above ...pls help... is this correct? |
@Ala0005 Yes, |
@Ala0005 put another way - what did you expect to happen? What are you trying to do? |
another error with other application. Error: Unable to find a publisher for URL: https://github.com/XXXX/repo.git. Please make sure to register this host under an integration in app-config |
after installing my-backstage-app and then changed the directory and then using the command yarn dev I request you to guide me step by step. I already spent most of my time in it. |
Hello,
I'm trying to run Backstage app on Ubuntu Ubuntu 18.04.4 LTS.
I have node js and npm installed:
$ nodejs -v
v12.18.3
$ npm -v
6.14.6
I also installed yarn.
When I'm cloning backstage repository and trying to run "yarn install", I have the following issue:
backstage$ yarn install
yarn install v1.22.1
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents@2.1.2: The platform "linux" is incompatible with this module.
info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.12: The platform "linux" is incompatible with this module.
info "fsevents@1.2.12" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > @spotify/eslint-config-oss@1.0.2" has unmet peer dependency "eslint@>=6".
warning "@spotify/eslint-config-oss > eslint-plugin-notice@0.9.10" has unmet peer dependency "eslint@>=3.0.0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > example-app > @testing-library/user-event@12.0.7" has unmet peer dependency "@testing-library/dom@>=7.16.0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > example-app > eslint-plugin-cypress@2.11.1" has unmet peer dependency "eslint@>= 3.2.1".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/core > material-table@1.62.0" has unmet peer dependency "@date-io/core@^1.3.6".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/addon-links@5.3.19" has unmet peer dependency "react@".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/addon-storysource@5.3.19" has unmet peer dependency "@storybook/source-loader@".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/addon-storysource@5.3.19" has unmet peer dependency "react@".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react@5.3.19" has unmet peer dependency "@babel/core@^7.0.1".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react@5.3.19" has unmet peer dependency "babel-loader@^7.0.0 || ^8.0.0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react@5.3.19" has unmet peer dependency "react@".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react@5.3.19" has unmet peer dependency "react-dom@".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > storybook-dark-mode@0.6.1" has unmet peer dependency "@storybook/api@>= 5.x".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > storybook-dark-mode@0.6.1" has unmet peer dependency "@storybook/components@>= 5.x".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > storybook-dark-mode@0.6.1" has unmet peer dependency "@storybook/core-events@>= 5.x".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > storybook-dark-mode@0.6.1" has unmet peer dependency "@storybook/theming@>= 5.x".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/plugin-graphiql > graphiql@1.0.3" has unmet peer dependency "prop-types@>=15.5.0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/cli > @spotify/eslint-config > @spotify/eslint-config-react@7.0.1" has incorrect peer dependency "eslint-plugin-react-hooks@^3.x".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/cli > @spotify/eslint-config > @typescript-eslint/eslint-plugin@2.24.0" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/cli > @spotify/eslint-config > @typescript-eslint/parser@2.24.0" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/cli > @spotify/eslint-config > eslint-plugin-jsx-a11y@6.2.3" has incorrect peer dependency "eslint@^3 || ^4 || ^5 || ^6".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/cli > @spotify/eslint-config > eslint-plugin-react@7.19.0" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/core > material-table > @material-ui/pickers@3.2.10" has unmet peer dependency "@date-io/core@^1.3.6".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/addon-actions > @storybook/api@5.3.19" has unmet peer dependency "regenerator-runtime@".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/addon-actions > @storybook/components@5.3.19" has unmet peer dependency "react-dom@".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/addon-actions > @storybook/theming@5.3.19" has unmet peer dependency "react-dom@".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/addon-links > @storybook/router@5.3.19" has unmet peer dependency "react@".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/addon-links > @storybook/router@5.3.19" has unmet peer dependency "react-dom@".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/addon-storysource > react-syntax-highlighter@11.0.2" has unmet peer dependency "react@>= 0.14.0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react > @babel/preset-flow@7.9.0" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react > @storybook/core@5.3.19" has unmet peer dependency "@babel/core@".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react > @storybook/core@5.3.19" has unmet peer dependency "babel-loader@^7.0.0 || ^8.0.0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react > @storybook/core@5.3.19" has unmet peer dependency "react@".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react > @storybook/core@5.3.19" has unmet peer dependency "react-dom@*".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react > babel-plugin-named-asset-import@0.3.6" has unmet peer dependency "@babel/core@^7.1.0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/plugin-graphiql > graphiql > codemirror-graphql@0.12.0" has incorrect peer dependency "codemirror@^5.54.0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/plugin-graphql-backend > apollo-server > graphql-subscriptions@1.1.0" has incorrect peer dependency "graphql@^0.10.5 || ^0.11.3 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/plugin-scaffolder-backend > nodegit > request-promise-native@1.0.8" has unmet peer dependency "request@^2.34".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/addon-actions > @storybook/api > @reach/router@1.3.3" has unmet peer dependency "react-dom@15.x || 16.x || 16.4.0-alpha.0911da3".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react > @babel/preset-flow > @babel/plugin-transform-flow-strip-types@7.9.0" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react > @storybook/core > @babel/plugin-proposal-class-properties@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react > @storybook/core > @babel/plugin-proposal-object-rest-spread@7.9.0" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/plugin-graphql-backend > apollo-server > apollo-server-core > graphql-upload@8.1.0" has incorrect peer dependency "graphql@0.13.1 - 14".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > @backstage/plugin-scaffolder-backend > nodegit > request-promise-native > request-promise-core@1.1.3" has unmet peer dependency "request@^2.34".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react > @babel/preset-flow > @babel/plugin-transform-flow-strip-types > @babel/plugin-syntax-flow@7.8.3" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "workspace-aggregator-feb97815-2bd0-4e0e-8cd0-8c3b683e4b50 > storybook > @storybook/react > @storybook/core > @babel/plugin-proposal-class-properties > @babel/helper-create-class-features-plugin@7.8.6" has unmet peer dependency "@babel/core@^7.0.0".
[5/5] Building fresh packages...
[1/18] ⠈ husky
[9/18] ⠈ nodegit
[3/18] ⠈ esbuild
[7/18] ⠈ cypress
error /home/Documents/Products/Backstage.io/backstage/node_modules/esbuild: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /home/Documents/Products/Backstage.io/backstage/node_modules/esbuild
Output:
child_process.js:669
throw err;
^
Error: Command failed: npm install --silent --prefer-offline --no-audit --progress=false esbuild-linux-64@0.6.3
at checkExecSyncError (child_process.js:630:11)
at Object.execSync (child_process.js:666:15)
at installBinaryFromPackage (/home/Documents/Products/Backstage.io/backstage/node_modules/esbuild/install.js:33:17)
at installOnUnix (/home/Documents/Products/Backstage.io/backstage/node_modules/esbuild/install.js:71:5)
at Object. (/home/Documents/Products/Backstage.io/backstage/node_modules/esbuild/install.js:117:5)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 13548,
Do you have any idea why it's not working?
Thanks in advance!
The text was updated successfully, but these errors were encountered: