On Thu, May 21, 2020 at 2:53 AM john art <jhon_art@xxxxxxxxxxx> wrote:
but when i run
npm rebuild sqlite3
/QOpenSys/usr/bin/-sh: npm: not found ..
As a preface, to save your sanity, change your shell to
/QOpenSys/pkgs/bin/bash or /QOpenSys/usr/bin/ksh
Then, realize you're not going to find commands with a fully qualified
pathname unless the directory they reside in has been added to your shell's
PATH variable.
$ which npm
/QOpenSys/pkgs/bin/npm
$ echo $PATH
/home/JWOEHR/bin:/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/local/bin:/QOpenSys/pkgs/lib/nodejs12/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
If you don't yet know about PATH in Unix-like systems, may I recommend that
you set aside some time to read basic references on Unix and shell, either
books or online.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.