I have just upgraded my node to v4.3.1 and npm to v3.7.3 to make sure that the versions are not the problem. Using Ubuntu 15.10 64 bit. I've also tried to clone and use npm install to install locally and globally (always as sudo), same results.
Here is the output:
zed@zed:~$ sudo npm i -g remind-me
[sudo] password for zed:
/usr/bin/remind -> /usr/lib/node_modules/remind-me/index.js
/usr/bin/remind-me -> /usr/lib/node_modules/remind-me/index.js
> remind-me@1.6.0 postinstall /usr/lib/node_modules/remind-me
> npm run setup
> remind-me@1.6.0 setup /usr/lib/node_modules/remind-me
> node ./lib/setup.js
fs.js:549
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open '/home/zed/.remind-me/reminders.json'
at Error (native)
at Object.fs.openSync (fs.js:549:18)
at Object.fs.writeFileSync (fs.js:1156:15)
at Object.<anonymous> (/usr/lib/node_modules/remind-me/lib/setup.js:24:6)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:134:18)
npm ERR! Linux 4.2.0-27-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "setup"
npm ERR! node v4.3.1
npm ERR! npm v3.7.3
npm ERR! code ELIFECYCLE
npm ERR! remind-me@1.6.0 setup: `node ./lib/setup.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the remind-me@1.6.0 setup script 'node ./lib/setup.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the remind-me package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./lib/setup.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs remind-me
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls remind-me
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/lib/node_modules/remind-me/npm-debug.log
/usr/lib
└── (empty)
npm ERR! Linux 4.2.0-27-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "i" "-g" "remind-me"
npm ERR! node v4.3.1
npm ERR! npm v3.7.3
npm ERR! code ELIFECYCLE
npm ERR! remind-me@1.6.0 postinstall: `npm run setup`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the remind-me@1.6.0 postinstall script 'npm run setup'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the remind-me package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run setup
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs remind-me
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls remind-me
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/zed/npm-debug.log
npm ERR! code 1
I have just upgraded my node to v4.3.1 and npm to v3.7.3 to make sure that the versions are not the problem. Using Ubuntu 15.10 64 bit. I've also tried to clone and use
npm install
to install locally and globally (always as sudo), same results.Here is the output: