I'm having difficulty installing some npm packages on my system. But not all.
I am working with WordPress template files, all of which use SASS for CSS, and all of which use their own set of packages to install. In some cases the installation has gone just fine. In others, not so much. The general pattern of the errors is consistent, but I'm not certain that the actual errors are.
In any event, this is the output from my attempt at just doing npm install. Can anyone pinpoint where things are going wrong, for me? I thought perhaps this was a problem with really old packages - and it still could be - but even relatively new themes suffer from the same problem.
Thanks in advance.
My error log
the package node-sass is loading some files form Github at the end of npm install. Seems like at least one of these files darwin-x64-57_binding.node
is no longer available for v3.13.1.
Can you upgrade to the current version [email protected]? This seems to have the darwin-x64-57_binding.node
available.
Or you could see if you can fix the issue with [email protected]. But there are lot's of warnings about outdated feature(s) in the log, so this could be tricky by now.
Does this help?
I got a similar exception when switching computer and ran npm install
. I simply removed package-lock.json
and then it worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With