Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on running watch mode #249

Open
Re9iNee opened this issue Jan 23, 2025 · 1 comment
Open

Error on running watch mode #249

Re9iNee opened this issue Jan 23, 2025 · 1 comment

Comments

@Re9iNee
Copy link

Re9iNee commented Jan 23, 2025

When I try to start the app in development mode. I get this error. note that I've cloned the app completely from repo and just installed its dependencies using pnpm i. both npm run watch & pnpm run watch yield the same error.

npm run watch                  ‹git:master ✘› 13:12.40 Thu Jan 23 2025 >>>

> tailpress@3.4.0 watch
> mix watch

/bin/sh: webpack: command not found
@jeffreyvr
Copy link
Owner

Looks like Laravel Mix is not able to find Webpack. Can you try it again but with npm instead of pnpm? So remove node_modules etc. and re-install with npm:

rm -rf node_modules package-lock.json
npm install

I just tried the steps as they are set in the readme and that worked

https://github.com/jeffreyvr/tailpress?tab=readme-ov-file#regular-method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants