npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm run dev doesn't find an existing file. Error: ENOENT: no such file or directory, open

I’m using Mac Mojave, Laravel (Laravel-mix), npm, composer, nodejs. I’ve done many googles and read many suggestions on other forums and none have worked.

Again, the file it says does not exist does indeed exist. The error line:
Error: ENOENT: no such file or directory, open ‘/Users/user_name/Projects/contractor-hub/public/assets/js/chunks/assets/js/vendor.chunk.js?_=5959d891f57fb2ced51a’

Any help appreciated!