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

Compatibility with npm (aka without yarn) #311

Open
irisjae opened this issue Aug 15, 2019 · 1 comment
Open

Compatibility with npm (aka without yarn) #311

irisjae opened this issue Aug 15, 2019 · 1 comment

Comments

@irisjae
Copy link

irisjae commented Aug 15, 2019

As of now, using the prime cli to init a project breaks if only npm is installed. Checking the source, it comes from the line where spawn () is used to call yarn. More generally, throughout the project, it assumes that yarn is already installed globally. Perhaps this can be partially mitigated by installing yarn as a devDependency? Not everybody has yarn installed globally (unlike npm).

@irisjae irisjae changed the title Compatibility with npm Compatibility with npm (aka without yarn) Aug 15, 2019
@DblK
Copy link

DblK commented Oct 6, 2019

I just tried to install it with npx @primecms/cli init and because I do not have yarn installed, it failed. I had to install it just for the use of cli.
Please update it to work with npm instead or add it to the documentation as prerequisite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants