Closed Leurus closed 3 years ago
Hmmm, I can't reproduce this, a fresh installation works fine for me.
What are all of the commands that you used?
What version is your yarn
? Judging by the screenshot, it's quite old.
This is the version I get, and the error I get when I try to update. Thought I already updated also but now it's not letting me.
The commands I used in order are:
rustup install nightly rustup override set nightly yarn yarn build
No issues until I tried to do yarn build
How did you install yarn?
I used the guide you posted to install it. It's been a long time. I haven't changed anything since it was last working a few months ago.
There are two ways to install yarn: using npm install --global yarn
, or installing a binary file. Which did you use?
I used npm install --global yarn
- also just tried that again to upgrade and I'm getting the same error when trying yarn build
.
Okay, in that case you have to use npm update --global yarn
in order to upgrade your yarn. After that your yarn --version
should show 1.22.10
Also, what does your node --version
show? You probably need to update your Node.js as well, since Rollup requires a fairly recent version of Node.js.
My node version is 8.11.1 but I can't upgrade because the download I get from that site requires Windows 8 or 10, whereas I have 7.
That's fixed it. Thanks!
Getting this error when running yarn build, even on a fresh download. Tried upgrading yarn and clearing cache to no avail.