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: spawn EINVAL - When running script watch from package.json on node v18 and above #105

Open
niteshpatare opened this issue Dec 22, 2024 · 1 comment

Comments

@niteshpatare
Copy link

niteshpatare commented Dec 22, 2024

Error: spawn EINVAL - When executing script watch from package.json on node v18 and above
error ein val

The error was caused by a security update in Node.js.

nodejs/node#52681
https://nodejs.org/en/blog/vulnerability/april-2024-security-releases-2

@alvinkonda
Copy link
Contributor

Unfortunately, there might be a couple of issues there. For example, you are using an old node version; the LTS one is currently 22.

Also, I'm unsure if you have installed all node packages correctly since it says, "No tasks were found".

Finally, you should understand that you don't need to use the npm run watch tasks unless you need to modify the core bootstrap file, but that might not be necessary.

Installing the theme directly from the admin should be enough in most cases, since the theme has already settings to change colors, styling, etc.

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