Comments (9)
Do you know how you have installed yarn on your system? If you are using corepack (which is built into new versions of node) you could run:
corepack prepare yarn@stable --activate
That would switch your global version of yarn to the latest stable version (v4) rather than the old v1. This might help with this issue and might be a general improvement regardless. Although if you have a need to stay on yarn v1 then we can try something else.
from redwood.
Hey @byhow 👋
One thing that might be good to try before we dig deeper into where/why this particular 404 is happening is to try clearing any yarn cache. With yarn v1 I think the docs list the command as:
yarn cache clean
I have my fingers crossed that trying again after cleaning the cache might work?
from redwood.
Hi @Josh-Walker-GM , thanks for the reply!
I've tried yarn cache clean
couple times, and the issue still persists. If I follow the link from the logs to where concat-stream
is supposed to be, for me it shows 404
not found for that tarball.
I can opt-in for other package manager if possible to test out the create
command. I only did it with yarn@v1
following what the documentation suggest. I am open to test out other ways to see if I can reproduce this.
from redwood.
Hi @byhow am following up here to see if this is still an issue or if you got it resolved.
from redwood.
Hi @dthyresson, thanks for the reply. Yes I am still facing the same issue. Do you recommend an alternative way of scaffolding the project?
from redwood.
Hi @Josh-Walker-GM, appreciate the pointer. I am able to run this now with yarn stable
(v4) ! I think it might be something related to some issues in yarn v1. I was under the assumption that the scaffold runs with yarn v1.22.x only with the doc specs here. Thanks for walking me through this yarn issue :)
from redwood.
Okay awesome so this is solved now yeah?
You said the docs made it seem like we wanted you to use v1 because of the way we listed the dependency? If so we can look at updating that to be clearer for sure!
from redwood.
@Josh-Walker-GM Yes, this is solved :) Trying out the framework rn and it looks great.
You said the docs made it seem like we wanted you to use v1 because of the way we listed the dependency? If so we can look at updating that to be clearer for sure!
Maybe it is just me lol, since v4 is indeed > v1.22 so... I can make the update too if the docs are public. I think limiting the yarn
version to stable
is good for dependency maintenance, but maybe leaving the options for v1
or stable
is good too, up to you folks.
from redwood.
Thanks! We'd always love to hear any feedback you've got while you try redwood out. The forums here are the best place for general feedback. Of course any bugs are best as GitHub issues.
Our docs are in this repo in the top level docs directory. Feel free to make a PR with any suggestions and we can iterate on any changes that might be needed.
I think we probably aim to keep supporting yarn v1 since a lot of people still have that version globally. Inside of a project we do require the stable version of yarn and this is preferably handled by corepack automatically with you having to do any work at that stage.
from redwood.
Related Issues (20)
- [Bug?]: graphiql authImpersonation breaking on windows HOT 3
- [Bug?]: Flight control deployment not working HOT 2
- [Bug]: CLI commands fail due to unawaited promise (JS projects)
- [Bug?]: baremetal production HOT 5
- [Bug?]: MockGraphQLQuery not working when original query uses fragments HOT 10
- [Bug] Doubled up title when no explicit <title> set
- [Docs]: Outdated / incomplete doc regarding async directive testing HOT 3
- [Bug?]: Upgrading Redwood to Canary causes "unmountComponentAtNode is not a function" in Storybook
- [Bug?]: When using Trusted Documents and Auth, the Current User query is not permitted preventing authentication to work properly
- [Bug?]: `yarn rw dev` doesn't work because of fsevents dep HOT 4
- chore(deps): update dependency @supabase/supabase-js to v2.43.5
- [Bug?]: Can't configure Jest/Vitest to run tests inside of scripts dir
- [Bug?]: `web/src/auto-imports.d.ts` file generated after running `yarn rw storybook-vite` HOT 4
- [Bug?]: Pre-render does not work HOT 7
- [Bug?]: Flaky Testing with Prisma migrations failing HOT 5
- [Bug]: Docs search is broken HOT 3
- [Bug?]: yarn rw upgrade for 7.7.1 error HOT 3
- [Bug]: Scenario files in a __tests__ directory throws error in Jest
- [Bug?]: Docker compose errors with graphql fragments HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redwood.