Skip to content
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

The CLI does not work - dependencies are not published to npm #6856

Open
marekpw opened this issue Jun 19, 2023 · 5 comments
Open

The CLI does not work - dependencies are not published to npm #6856

marekpw opened this issue Jun 19, 2023 · 5 comments
Labels
bug For issues that describe a defect or regression in the released software needs triage For issues that are awaiting triage by the core development team

Comments

@marekpw
Copy link

marekpw commented Jun 19, 2023

Issue Description

Running reaction create-project api <apiPath> and then going into <apiPath> and running npm install fails with the following error:

npm ERR! code ETARGET
npm ERR! notarget No matching version found for @reactioncommerce/api-core@3.0.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

This is because the dependencies in package.json are not published to npm. For example, the latest version of api-core on npmjs is 2.0.1.

Steps to Reproduce

  1. Run a clean install of npm i -g reaction-cli
  2. Run reaction create-project api api
  3. cd api && npm install
  4. Observe error
@marekpw marekpw added bug For issues that describe a defect or regression in the released software needs triage For issues that are awaiting triage by the core development team labels Jun 19, 2023
@adamkentdev
Copy link

adamkentdev commented Aug 22, 2023

The npm respository doesn't seem to be maintained - lots of packages missing and most of the versions are wrong. Worked around by cloning repo.

@mongy92
Copy link

mongy92 commented Aug 25, 2023

@marekpw did you find a fix?

@manoj-kumar-tcgls
Copy link

@marekpw did you find a fix for this?

@no888name
Copy link

still exist

@inchw0rm
Copy link

inchw0rm commented Apr 3, 2024

This is not reaction related, but rather reaction-cli. I can look into that in the next few weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For issues that describe a defect or regression in the released software needs triage For issues that are awaiting triage by the core development team
Projects
None yet
Development

No branches or pull requests

6 participants