awslabs / harmonix

A developer portal to meet your Enterprise needs. Fast, secure, and at-scale.
https://harmonixonaws.io/
Apache License 2.0
211 stars 42 forks source link

An unexpected error occurred: "https://registry.yarnpkg.com/@aws%2fplugin-aws-apps-backend-for-backstage: Not found" #5

Closed hamzamaan closed 1 year ago

hamzamaan commented 1 year ago

I am using these versions to deploy backstage-io on AWS.

yarn: 1.22.19 node: 18.16.0 npm: 9.5.1 jq: 1.6 cdk: 2.78.0 docker: 23.0.6

while installing the AWS Apps plugin and creating the backstage app, i am facing the error which is given below. if anyone have resolution for this then let me know. Thanks

image

z-sourcecode commented 1 year ago

Hi @hamzamaan Thanks for your feedback, we just published the plugins to npmjs.org please pull the changes and try again. it should work now.

hamzamaan commented 1 year ago

Hi @z-sourcecode The above issue has been resolved. Now i am facing these issues. kindly check, Thanks

image

image

image

z-sourcecode commented 1 year ago

Hi @hamzamaan Can you kindly share the steps and at which point the failure occurs? also if you can share your node/npm/nvm/python version?

Can you confirm if you are able to do: npx @backstage/create-app@latest Thanks.

hamzamaan commented 1 year ago

Hi @z-sourcecode,

When I install the plugins either manually or using "make backstage-install" command. it is showing me these error which i mentioned above.

here are the version of node/npm/nvm/python .

unnamed

Yes, I am able to run this command successfully. " npx @backstage/create-app@latest "

awsjim commented 1 year ago

Hi @hamzamaan - I reproduced your behavior on a base Ubuntu 22 system. Some of the node dependencies require node-gyp to install properly. Can you verify that you've got the required pre-reqs for node-gyp? (see https://github.com/nodejs/node-gyp/blob/main/README.md)

I suspect that the most likely missing pre-req would be gcc. This can be installed on Ubuntu via:

$ sudo apt install build-essential

If you can confirm that this fixes your error too, I'll get the pre-req documentation updated to reflect this.

Thanks for letting us know about this! 🙏

awsjim commented 1 year ago

Hi @hamzamaan - based on further testing, additional changes were identified as required for Ubuntu/Linux systems. Changes have been committed to the repo, so please ensure that you perform a new pull. Thanks again for your feedback!

z-sourcecode commented 1 year ago

Closing the issue. Issue resolved.

hamzamaan commented 1 year ago

Hi @z-sourcecode, when i run command yarn dev then it showing me this error on browser.

Please help me to sort out this. Thanks

image

image

z-sourcecode commented 1 year ago

Hi @hamzamaan this is a different error related to the backstage gitlab plugin we are using.

Can you try the below steps:

  1. make build
  2. from your root directory after downloading a fresh copy of backstage and applying backstage_mods cd backstage yarn build:all

If this did not work, can you please provide the steps to reproduce? Thanks!

z-sourcecode commented 1 year ago

Closing the issue. Issue resolved.