You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Local (from WPEngine) for local development environment. I installed Tailpress using the git clone method. After completing npm install and then running the npm run watch command, I get the following error:
Npm version: 10.9.2
Node version: v18.20.5
PHP version: 8.1.29
Mac OS: 14.6.1
I'm using Local (from WPEngine) for local development environment. I installed Tailpress using the
git clone
method. After completingnpm install
and then running thenpm run watch
command, I get the following error:[webpack-cli] Error: Cannot find module 'laravel-mix'
Is there something else I'm missing?
Full error message:
[webpack-cli] Error: Cannot find module 'laravel-mix'
Require stack: /Users/labedzde/Documents/Repositories/hdc_test/app/public/wp-content/themes/tailpress/webpack.mix.js /Users/labedzde/.nvm/versions/node/v18.20.5/lib/node_modules/laravel-mix/setup/webpack.config.js /Users/labedzde/.nvm/versions/node/v18.20.5/lib/node_modules/webpack-cli/lib/webpack-cli.js /Users/labedzde/.nvm/versions/node/v18.20.5/lib/node_modules/webpack-cli/lib/bootstrap.js /Users/labedzde/.nvm/versions/node/v18.20.5/lib/node_modules/webpack-cli/bin/cli.js /Users/labedzde/.nvm/versions/node/v18.20.5/lib/node_modules/webpack/bin/webpack.js at Module._resolveFilename (node:internal/modules/cjs/loader:1140:15) at Module._load (node:internal/modules/cjs/loader:981:27) at Module.require (node:internal/modules/cjs/loader:1231:19) at require (node:internal/modules/helpers:177:18) at Object.<anonymous> (/Users/labedzde/Documents/Repositories/hdc_test/app/public/wp-content/themes/tailpress/webpack.mix.js:1:11) at Module._compile (node:internal/modules/cjs/loader:1364:14) at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) at Module.load (node:internal/modules/cjs/loader:1203:32) at Module._load (node:internal/modules/cjs/loader:1019:12) at Module.require (node:internal/modules/cjs/loader:1231:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/labedzde/Documents/Repositories/hdc_test/app/public/wp-content/themes/tailpress/webpack.mix.js', '/Users/labedzde/.nvm/versions/node/v18.20.5/lib/node_modules/laravel-mix/setup/webpack.config.js', '/Users/labedzde/.nvm/versions/node/v18.20.5/lib/node_modules/webpack-cli/lib/webpack-cli.js', '/Users/labedzde/.nvm/versions/node/v18.20.5/lib/node_modules/webpack-cli/lib/bootstrap.js', '/Users/labedzde/.nvm/versions/node/v18.20.5/lib/node_modules/webpack-cli/bin/cli.js', '/Users/labedzde/.nvm/versions/node/v18.20.5/lib/node_modules/webpack/bin/webpack.js' ] }
The text was updated successfully, but these errors were encountered: