Skip to content

Commit

Permalink
Workaround for gatsby develop on newer NodeJS versions
Browse files Browse the repository at this point in the history
Due to gatsbyjs/gatsby#35607, `gatsby develop` is broken on newer versions of NodeJS due to broken `source-map`. A workaround to force using a high enough version fixes this and has been added to the `devDependencies`.
  • Loading branch information
PixelyIon committed Jun 11, 2022
1 parent d86a3c7 commit b294259
Show file tree
Hide file tree
Showing 2 changed files with 126 additions and 7 deletions.
127 changes: 121 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
"gatsby-transformer-sharp": "^4.15.1",
"postcss": "^8.4.14",
"prettier": "^2.6.2",
"tailwindcss": "^3.0.24"
"tailwindcss": "^3.0.24",
"source-map": "^0.8.0-beta.0"
},
"resolutions": {
"source-map": "^0.8.0-beta.0"
}
}

0 comments on commit b294259

Please sign in to comment.