You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
irisjae
changed the title
Compatibility with npm
Compatibility with npm (aka without yarn)
Aug 15, 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.
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 adevDependency
? Not everybody has yarn installed globally (unlike npm).The text was updated successfully, but these errors were encountered: