Hello, thank you in advance for reading this and hopefully providing a helping hand!
I’ve recently upgraded a bunch of packages for my site based on GatsbyJS. Following the dependency upgrades, I confirmed that the site builds locally without issue using node v18.12.1
and npm v8.19.2
, however, the build fails at Line 78
(see attached log dump) and continues to throw NPM Errors
Here is my package.json for reference
{ "name": "", "private": true, "description": "", "version": "0.1.0", "license": "MIT", "scripts": { "build": "gatsby build", "dev": "gatsby develop", "format": "prettier --write \"**/*.{js,jsx,json,md}\"", "start": "npm run develop", "serve": "gatsby serve", "clean": "gatsby clean", "lint": "eslint . --ext md,mdx" }, "dependencies": { "@mdx-js/mdx": "^2.1.5", "@mdx-js/react": "^2.1.5", "babel-plugin-styled-components": "^2.0.7", "dotenv": "^16.0.3", "gatsby": "^5.0.1", "gatsby-plugin-google-analytics": "^5.0.0", "gatsby-plugin-mdx": "^5.0.0", "gatsby-plugin-page-creator": "^5.0.0", "gatsby-plugin-react-helmet": "^6.0.0", "gatsby-plugin-styled-components": "^6.0.0", "gatsby-plugin-twitter": "^5.0.0", "gatsby-prismjs-dracula": "^0.1.15", "gatsby-remark-vscode": "^3.3.1", "gatsby-source-filesystem": "^5.0.0", "gatsby-source-graphql": "^5.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-helmet": "^6.1.0", "styled-components": "^5.3.6", "theme-dracula": "github:dracula/visual-studio-code" }, "devDependencies": { "eslint": "^8.27.0", "eslint-plugin-mdx": "^2.0.5", "npm-check-updates": "^16.4.1", "prettier": "^2.7.1" } }
Log Dump Link: