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
[1.0] - gatsby-plugin-offline - Build throws unhandled rejection error #1064
Comments
Ugh, I don't know why people are running into this. I can't reproduce it. Weirdly if I tell people to use yarn for installing it instead of NPM it works https://github.com/gatsbyjs/gatsby-starter-blog/issues/30 My main guess is it's an old issue but keeps cropping up because Lerna doesn't name its canaries nicely lerna/lerna#277 Could you try actually installing with yarn? Delete |
Yup will verify rn. |
Verified that it works as expected with yarn. Probably best to move this into a discussion that revolves solely around npm support. |
It's really lerna I'm guessing that's the problem — that combined with some difference in how npm & yarn resolve modules. The problem will almost certainly go away once the pace of changes slows a bit and we can just rely on the |
Interesting. In that case, I'll take a stab at just installing alpha16 rather than the latest canary to see if that does anything. Will report back later. |
Yeah, an alpha 17 will be out tomorrow hopefully.
…On Tue, May 30, 2017, 12:16 PM Scotty Eckenthal ***@***.***> wrote:
Interesting. In that case, I'll take a stab at just installing *alpha16*
rather than the latest canary to see if that does anything. Will report
back later.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1064 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAEVh0fLXuff5prFT9KpgMeLsBX-WhGEks5r_Gr5gaJpZM4Nqsux>
.
|
For anybody else that happens across this issue. I was getting the same when using both yarn and npm. |
@levibuzolic Thanks. Sounds like @KyleAMathews is spot on then - npm doesn't like lerna's naming conventions around the canaries. Closing. TLDR: If you want to use a canary, use yarn. Boring. |
Using latest canary for
gatsby
,gatsby-link
andgatsby-plugin-offline
at time of writing.The text was updated successfully, but these errors were encountered: