On 4/23/2020 8:05 PM, Sam Ruby wrote:
On Thu, Apr 23, 2020 at 10:43 PM Patricia Shanahan <p...@acm.org> wrote:
...
This is odd. Apparently Ubuntu decided to unbundle npm, requiring you
to install it separately:
sudo apt install npm
The next problem is that they are including an old version of node
(10). The current version is 14, and you will need at least 12.
There is a nifty tool that can help you update node, which you can
install via npm:
sudo npm install -g n
Once you have installed n, you can use it to get the latest version of node:
sudo n latest
After you do this, verify that you are running a version of node >= 12:
node --version
Not necesssary. sudo -n latest reports the resulting version.
If you get this far, try yarn dev again.
It claims to be listening, and fires up Firefox, but my normal Apache
credentials do not work:
[server] Error: Command failed: svn checkout
https://svn.apache.org/repos/private/foundation/board
/home/pats/whimsy-board-agenda-nodejs/work/svn/foundation_board --depth
files
[server] svn: E170013: Unable to connect to a repository at URL
'https://svn.apache.org/repos/private/foundation/board'
[server] svn: E215004: No more credentials or we tried too many times.
[server] Authentication failed
[server]
[server] at ChildProcess.exithandler (child_process.js:303:12)
[server] at ChildProcess.emit (events.js:315:20)
[server] at maybeClose (internal/child_process.js:1051:16)
[server] at Process.ChildProcess._handle.onexit
(internal/child_process.js:287:5)
[client] Proxy error: Could not proxy request /api/server from
localhost:3000 to http://localhost:3001.
--
This email has been checked for viruses by AVG.
https://www.avg.com