Open btihen opened 3 years ago
@btihen
Thank you very much for the report!
I'm using yarn
instead of npm
to manage npm-packages for a long time, so I didn't aware there's sth wrong in my dependencies.
I'll fix this when I have time. But the quickest way to avoid this issue is using yarn
instead.
You can:
gatsby new my-blog-folder https://github.com/thundermiracle/gatsby-startbootstrap-agency
againgit clone https://github.com/thundermiracle/gatsby-startbootstrap-agency.git
and run yarn
to install all the packagesOf course any PR is welcome!
I tried a little bit more and found that this issue only happens in node15 but it's ok in node12 even using npm install
.
It's a hot potato for me and you'd better avoid using node15 but LTS node14 to start this project now.
Hmm - I’ll try yarn, I’m surprised the different tools would have different packaging problems.
Bill
On 25 Dec 2020, at 10:10, ThunderMiracle notifications@github.com wrote:
I tried a little bit more and found that this issue only happens in node15 but it's ok in node12 even using npm install. It's a hot potato for me and you'd better avoid using node15 but LTS node14 to start this project now.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Facing still the same error.
node --version
v10.24.0
npm --version
7.6.3
@WieFel This one a different problem IMO.
I migrated Gatsby from 2 to 3 so the minimal node version should be 12.13 as described in Gatsby's document: Minimal Node.js version 12.13.0
And if you're not interested in the latest version of Gatsby, you can check this project's latest 2.0 version: https://github.com/thundermiracle/gatsby-startbootstrap-agency/tree/gatsby-2.0
I am new to gatsby, but I think the dependencis have a problem. I have the newest version of node (From brew).
node --version v15.5.0
gatsby --version Gatsby CLI version: 2.16.2
MacOS Catalina 10.15.7
$ gatsby new web_bootstrap https://github.com/thundermiracle/gatsby-startbootstrap-agency