5/31/2023 0 Comments Ubuntu webstormI found a stack overflow post that suggested running ‘npm root -g’ $npm root -g When I tried to run ‘node -v’ I got told it wasn’t installed, and that I should could install it by using apt-get and looking for something called ‘node-legacy’ so I figured I had the latest version. Either that or I got apt-get happy and installed some weird version of node. I think at some point there has been a change, and the old ‘node’ paths and keywords have changed to ‘nodejs’ and things have moved, thus all my google searches have come up wanting. I will come clean here, I am not a node expert, and this is a bit new to me. Oh, ok, surely that’s /usr/bin/npm right? $which nodejsĪwesome… that’s us done right… nope. Trying to create a new application I was asked to pick a ‘Node interpreter’ … no problem I thought, and ran a which command for nodes. I recently ran into a little problem setting up a new Node.js project on a Linux (Ubuntu 16 with Cinnamon) VM.
0 Comments
Leave a Reply. |