Runing Nodemon on System i
Nodemon errors out with following:
nodemon.js
[nodemon] 1.11.0
[nodemon] to restart at any time, enter rs
[nodemon] watching: .
[nodemon] starting node server.js
[nodemon] Internal watch failed: watch ENOSYS
My application uses express, ejs and body-parser, works well outside of nodemon. First off, I couldn't get nodemon to be installed globally so I put that on my application node_modules directory and set the path, which is not what I usually do in other environments. How does npm install -g suppose to work on system i? Not sure whether this is a bug or not.
My environment is:
(node: v6.9.1) (npm:3.10.8) (OS: V7R1) Path: /QOpenSys/QIBM/ProdData/OPS/Node6/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin:/home/QSECOFR/projects/mytasklist/node_modules/nodemon/bin LIBPath: /QOpenSys/QIBM/ProdData/OPS/Node6/bin:/home/QSECOFR/projects/mytasklist/node_modules/nodemon/bin
Hi Pradeep,
Did you actually get nodemon to install successfully in PASE? I didn't think it would because it appears it requires the
watch
command and I don't have that in my PASE; though it appears perzl has it.