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
npm run watch errors #1524
Comments
Tried with understrap v1.0.0 and understrap-child v1.0.0 and got the same errors |
This typically happens when your node version changes while in the middle of development. We typically recommend using a tool like Node Version Manager to keep track of which version your using. You can also just try deleting the |
Thanks for the quick reply!! :) I am using nvm Even so, I deleted package-lock,json and node_modules once again in the original project, and nothing. I get the same errors. Thanks |
Well... What could be the problem I have in my machine at the moment? I can't format this machine at the moment :\ Thanks |
Did not find the problem. |
Ah interesting. Glad it worked out! |
This is getting tiring..... I'm using git v2.15.1 I get the same with 1.0.1 and with 1.1.0 Running "npm install" I get this:
Not installing jquery? o.0 And then after running "npm run watch"
And on this error message It talks about the log:
Could this be something about permissions? On linux.... there are always permission problems... Thanks for any kind of help! |
You should probably use node version 14 or higher. I'd recommend running |
You were fast replying... and if I read what you wrote before I formatted everything again..... arrgg!! Thanks again :) |
I don't know if this is a problem in my local environment of not.
Everything was fine in another project 2 weeks ago.
After that, the only thing I did was to update the git version, and probably the updates from the OS.
I'm in Linux Mint, using LocalByFlyWheel.
nvm v0.39.0
npm I used all the latest LTS v16.13.0, v14.18.1, v12.22.7, and v10.24.1
git v2.34.1 but also tried 2.25.x,2.17.x and other
I install the latest wordpress version with LocalByFlywheel.
Then I go to Appearence->Themes-> Add New and install the Understrap theme.
In Terminal in the understrap folder I run "npm install", and get the usual:
Then I run "npm run watch" and get:
So, with these errors, I download the zip from github repo and run npm install with the same result and then npm run watch without errors.
So I then install the child theme from the github repo and same thing with npm install.
Then npm run watch, and get the error again:
This gives the same errors: #1473 (comment)
Doing this in a local machine, after a restart with nothing else opened besides the terminal: #1473 (comment)
This does nothing: #1473 (comment)
Did this fix, fixed the understrap main repo, but it wasn't applied to the child theme repo?
#1517
Or something did get screwed in my computer?
Thanks
The text was updated successfully, but these errors were encountered: