Skip to content

Installing with Yarn #34

@jmwamser

Description

@jmwamser

This could totally be just a development setup issue and adding documentation to the Readme. Wanted to get your input before sending you a PR.

I included this project and went to install the packages. I use yarn instead of npm. At first all I would get is:
error Can't add "@sensiolabs/storybook-symfony-webpack5": invalid package version "".

With further looking into this I found https://stackoverflow.com/q/78287068

I should also note I am using FNM, so when I go into a directory my node version changes for me.

Here are the steps I took to resolve my issue:

  1. add .nvmrc with contents of 20.0
  2. in terminal went up a directory then back into project. (This made sure my node version was a 20)
  3. ran yarn set version stable (this set up my yarn version to 4.3.1) I did notice in the repo package.json it says yarn at 4.1.1 I don't think this should be a huge deal.
  4. then run yarn to install packages and everything worked fine

Would you like any of this added via PR to the readme? or any updates to the Recipe notes?

Looking forward to helping out!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions