Open tomjn opened 1 year ago
The readme suggests using npm run start after running npm install and composer install for local development.
npm run start
npm install
composer install
However, doing this results in a hard crash:
❯ npm run start > @humanmade/authorship@0.2.13 start > webpack-dev-server --config=.config/webpack.config.dev.js node:internal/modules/cjs/loader:936 throw err; ^ Error: Cannot find module 'webpack-cli/bin/config-yargs' Require stack: - /Users/tomjn/dev/authorship/node_modules/webpack-dev-server/bin/webpack-dev-server.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (/Users/tomjn/dev/authorship/node_modules/webpack-dev-server/bin/webpack-dev-server.js:65:1) at Module._compile (node:internal/modules/cjs/loader:1105:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/tomjn/dev/authorship/node_modules/webpack-dev-server/bin/webpack-dev-server.js' ] }
The readme suggests using
npm run start
after runningnpm install
andcomposer install
for local development.However, doing this results in a hard crash: