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
Hi, thanks for the great repo!
I've had also some yarn res commands errors like the issue #14. Fyi, I'm using WSL2.
$ yarn res init
Usage Error: Value of --module must be "commonjs", "es6", or "es6-global" $ yarn res init [--json] [--module #0] [--with-react] [--with-gentype] [--with-external-std]
$ yarn res init --with-react
Usage Error: Value of --module must be "commonjs", "es6", or "es6-global" $ yarn res init [--json] [--module #0] [--with-react] [--with-gentype] [--with-external-std]
These two commands gave me the above error messages. So then I tried $ yarn res init --module=es6 and it worked but after that somehow I got over 4300 file changes inside of my repo :0
+++
After $ yarn res init --module=es6 command, I re-tried $ yarn res init --with-react but it didn't work again. So I gave $ yarn res init --module=es6 --with-react a go, and that worked.
The text was updated successfully, but these errors were encountered:
That 4300 file changes are because of the way how Yarn manages the package cache. You should add them into the gitignore if you are not going to use the Zero-Install feature, or you may just commit them as-is. :D I'd recommend you to read the docs about gitignore in Yarn Berry and Zero-Installs
Thanks for the tip, @XiNiHa! I wasn't sure which would be necessary or not among those +4300 changes so I'm just trying to commit `em all (pika pika) :D but yeah it's taking time.
I understand the necessity depends on the individual needs and I'm already in the process of committing but just out of curiosity, can you tell me which one(s) would be the most important one that everyone shouldn't eliminate?
Hi, thanks for the great repo!
I've had also some
yarn res
commands errors like the issue #14. Fyi, I'm using WSL2.These two commands gave me the above error messages. So then I tried
$ yarn res init --module=es6
and it worked but after that somehow I got over 4300 file changes inside of my repo :0+++
After
$ yarn res init --module=es6
command, I re-tried$ yarn res init --with-react
but it didn't work again. So I gave$ yarn res init --module=es6 --with-react
a go, and that worked.The text was updated successfully, but these errors were encountered: