Skip to content

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

@marekpw

Description

@marekpw

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/[email protected].
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugFor issues that describe a defect or regression in the released softwareneeds triageFor issues that are awaiting triage by the core development team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions