Giter Club home page Giter Club logo

Comments (2)

K-Phoen avatar K-Phoen commented on July 29, 2024

Looking at Module not found: Error: Can't resolve '@k-phoen/backstage-plugin-grafana', it might indicate that maybe you didn't run cd packages/app && yarn add @k-phoen/backstage-plugin-grafana?

from backstage-plugin-grafana.

proffalken avatar proffalken commented on July 29, 2024

Sadly not:

[mmw@rincewind home-backstage]$ cd packages/app && yarn add @k-phoen/backstage-plugin-grafana && cd ../.. && yarn dev
yarn add v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
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 "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @testing-library/[email protected]" has unmet peer dependency "@testing-library/dom@>=7.21.4".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > [email protected]" has unmet peer dependency "eslint@>= 3.2.1".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > @backstage/cli > [email protected]" has unmet peer dependency "react-dom@^15.0.0 || ^16.0.0 || ^17.0.0 ".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > @backstage/cli > [email protected]" has incorrect peer dependency "rollup@^2.48.0".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @backstage/core-components > @material-table/[email protected]" has unmet peer dependency "@date-io/core@^1.3.13".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @backstage/plugin-api-docs > [email protected]" has incorrect peer dependency "graphql@>= v14.5.0 <= 15.5.0".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @backstage/plugin-api-docs > [email protected]" has incorrect peer dependency "react@>=17.0.0".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @backstage/plugin-api-docs > [email protected]" has incorrect peer dependency "react-dom@>=17.0.0".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @backstage/test-utils > @testing-library/[email protected]" has unmet peer dependency "@testing-library/dom@>=7.21.4".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @roadiehq/backstage-plugin-prometheus > [email protected]" has unmet peer dependency "@types/react@^16.8.20".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @roadiehq/backstage-plugin-prometheus > [email protected]" has unmet peer dependency "typescript@^3.5.2".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @backstage/core-components > @material-table/core > @material-ui/[email protected]" has unmet peer dependency "@date-io/core@^1.3.6".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @backstage/plugin-api-docs > graphiql > @graphiql/[email protected]" has incorrect peer dependency "graphql@>= v14.5.0 <= 15.5.0".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @backstage/plugin-api-docs > graphiql > [email protected]" has incorrect peer dependency "graphql@>= v14.5.0 <= 15.5.0".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @backstage/plugin-api-docs > graphiql > [email protected]" has incorrect peer dependency "graphql@>= v14.5.0 <= 15.5.0".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @backstage/plugin-api-docs > graphiql > graphql-language-service > [email protected]" has incorrect peer dependency "graphql@>= v14.5.0 <= 15.5.0".
warning "workspace-aggregator-18b9d3b7-550c-41df-82ca-5ccc5a9fcbd0 > app > @backstage/plugin-api-docs > graphiql > codemirror-graphql > graphql-language-service-interface > [email protected]" has incorrect peer dependency "graphql@>= v14.5.0 <= 15.5.0".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
success Saved 1 new dependency.
info Direct dependencies
info All dependencies
└─ @k-phoen/[email protected]
Done in 8.13s.
yarn run v1.22.10
$ concurrently "yarn start" "yarn start-backend"
$ yarn workspace app start
$ yarn workspace backend start
$ backstage-cli backend:dev
$ backstage-cli app:serve
[0] (node:139530) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /home/mmw/Projects/home-backstage/node_modules/yaml/package.json.
[0] Update this package.json to use a subpath pattern like "./*".
[0] (Use `node --trace-deprecation ...` to show where the warning was created)
[1] Build succeeded
[0] Loaded config from app-config.yaml
[0] <i> [webpack-dev-server] Project is running at:
[0] <i> [webpack-dev-server] Loopback: http://127.0.0.1:3000/
[0] <i> [webpack-dev-server] Content not from webpack is served from '/home/mmw/Projects/home-backstage/packages/app/public' directory
[0] <i> [webpack-dev-server] 404s will fallback to '/index.html'
[0] <i> [webpack-dev-middleware] wait until bundle finished: /
[1] 2021-11-09T10:21:58.286Z backstage info Loaded config from app-config.yaml 
[1] 2021-11-09T10:21:58.301Z backstage info Created UrlReader predicateMux{readers=azure{host=dev.azure.com,authed=false},bitbucket{host=bitbucket.org,authed=false},github{host=github.com,authed=true},gitlab{host=gitlab.com,authed=false},awsS3{host=amazonaws.com,authed=false},fetch{} 
[1] 2021-11-09T10:21:58.564Z techdocs info Creating Local publisher for TechDocs type=plugin
[1] 2021-11-09T10:21:58.568Z proxy info [HPM] Proxy created: /prometheus/api  -> https://prometheus/api/v1/ type=plugin
[1] 2021-11-09T10:21:58.569Z proxy info [HPM] Proxy rewrite rule created: "^/api/proxy/prometheus/api/?" ~> "/" type=plugin
[1] 2021-11-09T10:21:58.570Z proxy info [HPM] Proxy created: /grafana/api  -> https://grafana/ type=plugin
[1] 2021-11-09T10:21:58.570Z proxy info [HPM] Proxy rewrite rule created: "^/api/proxy/grafana/api/?" ~> "/" type=plugin
[1] 2021-11-09T10:21:58.571Z search info Added DefaultCatalogCollator collator for type software-catalog type=plugin
[1] 2021-11-09T10:21:58.575Z app warn Can't serve static app content from /home/mmw/Projects/home-backstage/packages/app/dist/static, directory doesn't exist type=plugin
[1] 2021-11-09T10:21:58.578Z backstage info Initializing http server 
[1] 2021-11-09T10:21:58.580Z backstage info Listening on :7000 
[1] 2021-11-09T10:21:59.605Z catalog info Reading GitHub repositories from https://github.com/proffalken type=plugin
[0] /*# sourceMappingURL=swagger-ui.css.map
[1] 2021-11-09T10:22:01.571Z search info Starting all scheduled search tasks. type=plugin
[1] 2021-11-09T10:22:01.583Z backstage info ::ffff:127.0.0.1 - - [09/Nov/2021:10:22:01 +0000] "GET /api/catalog/entities HTTP/1.1" 200 2 "-" "node-fetch/1.0 (+https://github.com/bitinn/node-fetch)" type=incomingRequest
[1] 2021-11-09T10:22:02.237Z catalog info the repository https://github.com/proffalken/ansible-aws-contaminate does not have a default branch, skipping type=plugin
[1] 2021-11-09T10:22:02.658Z catalog warn Unable to read url, NotFoundError: https://github.com/proffalken/cobbler/blob/master/catalog-info.yaml could not be read as https://api.github.com/repos/proffalken/cobbler/contents/catalog-info.yaml?ref=master, 404 Not Found type=plugin entity=location:default/generated-985e01ed081d1fd387bdf3c6766b01867798def6
...
[0] ERROR in ./src/components/catalog/EntityPage.tsx 63:0-65:43
[0] Module not found: Error: Can't resolve '@k-phoen/backstage-plugin-grafana' in '/home/mmw/Projects/home-backstage/packages/app/src/components/catalog'
[0] 
[0] webpack compiled with 1 error

The package is definitely in the dependencies as well:

grep graf package.json 
    "@k-phoen/backstage-plugin-grafana": "^0.1.3",

from backstage-plugin-grafana.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.