Closed scripting closed 4 years ago
Weird thing --
I am able to npm install on my Mac desktop.
Versions are very different.
Node -- v12.13.1
NPM -- 6.12.1
How is it that I'm running much higher versions on my desktop than on the freshly provisioned server??
This is all so weird.
Node 8.10.0 is the version included in the Ubuntu package manager for Ubuntu 18.04 (explained very well in this Digital Ocean article).
The article describes how you can get a newer version of Node using the NodeSource PPA.
Not sure if a newer version on your server will solve your actual error message, but this at least answers one of your questions I hope!
I'm not a Linux expert but I believe that the packages included in a particular Ubuntu release such as 18.04 LTS stay at their released version for stability...would get security and bug fixes though I suppose.
@aaronaxvig -- that worked! I am able to npm install pagepark and it's running on the server now. So tomorrow I should be able to get some work done. Thanks for your help! ;-)
I just set up a new server, with a freshly installed Node and NPM. I then installed my PagePark app from its GitHub repository. I ran
npm install
. And got an error message that others have reported. It appears to be an internal error in NPM. Text of the error messages below.What is the fix or workaround?
Versions
Ubuntu 18.04.3 (LTS) x64
Node v8.10.0
NPM v3.5.2
PagePark repo
git clone https://github.com/scripting/pagepark.git
Error messages