I have followed instruction here: https://github.com/freeCodeCamp/freeCodeCamp/blob/master/docs/how-to-setup-freecodecamp-locally.md but after MANY issues that I managed to fix I still cannot get it to work. The server starts fine bu I get an error on the client as follows:
client_1 |
client_1 | info bootstrap finished - 19.276 s
client_1 |
client_1 | error (node:99) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
client_1 | error There was an error compiling the html.js component for the development server.
client_1 |
client_1 | See our docs page on debugging HTML builds for help https://gatsby.dev/debug-html
client_1 |
client_1 |
client_1 | WebpackError: TypeError: Cannot read property 'hasOwnProperty' of undefined
client_1 |
client_1 |
client_1 | - option-assertions.js:257 Object.<anonymous>
client_1 | [lib]/[@babel]/core/lib/config/validation/option-assertions.js:257:1
client_1 |
client_1 |
client_1 | - gatsby-browser.js:46 Object.Module._extensions..js
client_1 | lib/gatsby-browser.js:46:7
client_1 |
client_1 | - gatsby-browser-entry.js:34 Module.load
client_1 | lib/.cache/gatsby-browser-entry.js:34:12
client_1 |
client_1 | - develop-static-entry.js:100 tryModuleLoad
client_1 | lib/.cache/develop-static-entry.js:100:3
client_1 |
client_1 | - develop-static-entry.js:104 Function.Module._load
client_1 | lib/.cache/develop-static-entry.js:104:7
client_1 |
client_1 | - public-page-renderer.js:1 Module.require
client_1 | lib/.cache/public-page-renderer.js:1:1
client_1 |
client_1 | - bootstrap:14 require
client_1 | lib/webpack/bootstrap:14:1
client_1 |
client_1 | - universalModuleDefinition:6 Object.<anonymous>
client_1 | lib/webpack/universalModuleDefinition:6:1
client_1 |
client_1 |
client_1 | - gatsby-browser.js:46 Object.Module._extensions..js
client_1 | lib/gatsby-browser.js:46:7
client_1 |
client_1 | - gatsby-browser-entry.js:34 Module.load
client_1 | lib/.cache/gatsby-browser-entry.js:34:12
client_1 |
client_1 | - develop-static-entry.js:100 tryModuleLoad
client_1 | lib/.cache/develop-static-entry.js:100:3
client_1 |
client_1 | - develop-static-entry.js:104 Function.Module._load
client_1 | lib/.cache/develop-static-entry.js:104:7
client_1 |
client_1 | - public-page-renderer.js:1 Module.require
client_1 | lib/.cache/public-page-renderer.js:1:1
client_1 |
client_1 |
client_1 | npm ERR! code ELIFECYCLE
client_1 | npm ERR! errno 1
client_1 | npm ERR! @freecodecamp/client@1.0.0 develop: `node --inspect=0.0.0.0:9228 node_modules/gatsby-cli develop "-H" "0.0.0.0"`
client_1 | npm ERR! Exit status 1
client_1 | npm ERR!
client_1 | npm ERR! Failed at the @freecodecamp/client@1.0.0 develop script.
client_1 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
client_1 |
client_1 | npm ERR! A complete log of this run can be found in:
client_1 | npm ERR! /home/node/.npm/_logs/2019-06-06T14_19_44_476Z-debug.log
freecodecamp_client_1 exited with code 1
I cannot seem to get to the bottom of it.
Any ideas?