Hello, I created a basic Vue-Storefront project and added a project template asset to its root folder. I installed three js and needle engine as packages in that project. When building the project with the export info component, npm install will be called. However, Vue-Storefront currently does not work with npm. It only works with yarn. Is it possible to do something about that?
Original Post on Discord
by user 266231715272327168
Ah interesting. I think we could add options for that to the needle-config.json. Could you share the template with us maybe?
Anything else that is special to run it? Will just run yarn install and try to start now 
I assume that’s just because I dont have that cms running
and this is how it’s supposed to look without it
What would you suggest as a good way to detect if the project should run npm install or yarn install ?
-
- I see a
yarn.lock file but I assume that only exists after the installation
-
- Or should it just be setup explictly in the
needle.config.json.
-
- Or should it check the package.json for
yarn run calls?
-
- Should it check the package.json
scripts for an install script or something like it which then just calls yarn install or something else
Changed the channel name: Using yarn instead of npm with custom templates
hi @Alapera vers Mocasé can you update to 2.64.0-pre and add a script named install in your package.json template (that then just runs yarn install) ?
Works perfectly, thank you
by user 266231715272327168
Do you think you could share the template once you are done with it? 