-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running 'gridsome develop' on fresh project; Error: stderr is null #252
Comments
Were you using a starter kit? I just had the same error using the starter kit here https://github.com/gridsome/gridsome-starter-markdown-blog.git Using https://github.com/gridsome/gridsome-starter-blog.git instead worked fine |
Hi, |
I got the same error from a fresh install. |
Confirmed not only with the default starter, but with another one that I just recently launched. It's not about the starters, looks like a dependency (Jest) is causing it to fail. Tested on Win10/Git Bash. |
Yes indeed, the error is clear about that : But I'm not a dev and don't even knew Jest before today so I hope we'll have a comprehensive answer here ;) |
Just ran into that issue following this tutorial using Ubuntu on Windows. |
Here's a hint: nodejs/node#21685 (comment) Not sure if adding that to https://github.com/gridsome/gridsome/blob/master/gridsome/lib/server/middlewares/assets.js#L55 would help, but it does seem like something internal to |
{
"resolutions": {
"gridsome/jest-worker": "24.0.0"
}
} |
For those using NPM: Edit: added |
Perfect. Guys. |
I've tried Then I've uninstalled Gridsome CLI with NPM and installed it with Yarn to try to add I'm not a dev and definitely a beginner so what am I doing wrong here ? |
I tried @coffeepostal' suggestion but got an I then ran |
Folks, note that this is being fixed in Jest, a PR was just opened: jestjs/jest#8083. Thanks @willdante and @hjvedvik for reporting it there 👍 |
@willdante Please use |
Thank you @petar7777, it worked perfectly ! @ALL: Since Jest fix has been merged, I was expecting to be able to run gridsome develop without issue after a fresh install. |
@willdante they haven't tagged a release yet so you're still using |
Thanks for the precision @cossssmin . I'm ready to improve my game and start moving to more modern web development solutions but it comes with many new concepts to learn, including basic ones around github 😮. |
No worries 🙂 Until they tag a new release, I tried this and it seems I can get it working. Not sure why, so if anyone else can confirm:
|
Not working for me 😢, but |
Especially for the beginners: Don't forget to remove the dependency to the explicit patch level again after the fix has been released, so you are not stuck with the old version. Otherwise you might run into other problems later on. Just remove the line from package.json or use the same command, but with |
I published a new version of Gridsome ( |
jestjs/jest#8083 got merged and |
The fix is not part of the 24.3.1 release. |
@msgeissler Indeed, it's in the |
Description
Tried to run develop on a newly created project. Fails after Bootstrap step.
Steps to reproduce
Console output
Environment
The text was updated successfully, but these errors were encountered: