Ask questionsWebpack error #98123 when running "gatsby develop"
<!-- Please fill out each section below, otherwise your issue will be closed. This info allows Gatsby maintainers to diagnose (and fix!) your issue as quickly as possible.
Useful Links:
Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues -->
gatsby develop doesn't work because of an error #98123 from Webpack.
cd into that reponpm installgatsby developDevelopment server should start
I get this output:
ERROR #98123 WEBPACK
Generating SSR bundle failed
[BABEL] /home/fw33n/ateliers-chartreux/.cache/develop-static-entry.js: Cannot find module '@babel/helper-create-class-features-plugin' (While processing: "/home/fw33n/ateliers-chartreux/node_modules/@babel/plugin-proposal-class-properties/lib/index.js")
File: .cache/develop-static-entry.js
⠼ start webpack server
gatsby info --clipboard (I'm running Ubuntu in WSL):
System:
OS: Linux 4.4 Ubuntu 18.04.2 LTS (Bionic Beaver)
CPU: (8) x64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Shell: 4.4.19 - /bin/bash
Binaries:
Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
npm: 6.11.3 - ~/.nvm/versions/node/v10.16.3/bin/npm
Languages:
Python: 2.7.15+ - /usr/bin/python
npmPackages:
gatsby: ^2.15.9 => 2.15.9
gatsby-plugin-sass: ^2.1.13 => 2.1.13
gatsby-source-contentful: ^2.1.33 => 2.1.33
npmGlobalPackages:
gatsby-cli: 2.7.47
Additionnally, my package.json:
{
"name": "ateliers-chartreux",
"private": true,
"description": "Le site des Ateliers Chartreux",
"version": "0.1.0",
"license": "MIT",
"scripts": {
"build": "gatsby build",
"develop": "gatsby develop",
"format": "prettier --write \"**/*.{js,jsx,json,md}\"",
"start": "npm run develop",
"serve": "gatsby serve",
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing \""
},
"dependencies": {
"gatsby": "^2.15.9",
"gatsby-plugin-sass": "^2.1.13",
"gatsby-source-contentful": "^2.1.33",
"node-sass": "^4.12.0",
"react": "^16.9.0",
"react-dom": "^16.9.0"
},
"devDependencies": {
"prettier": "^1.18.2"
},
"repository": {
"type": "git",
"url": "https://github.com/gatsbyjs/gatsby-starter-hello-world"
},
"bugs": {
"url": "https://github.com/gatsbyjs/gatsby/issues"
}
}
Related questions