Integration of sqlite3 in App js #5720

Closed
muralip opened this Issue Jul 17, 2014 · 3 comments

Projects

None yet

5 participants

@muralip
0 info it worked if it ends with ok
1 verbose cli [ 'c:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'explore',
1 verbose cli   'npm',
1 verbose cli   '-g',
1 verbose cli   '--',
1 verbose cli   'pwd' ]
2 info using npm@1.4.14
3 info using node@v0.10.29
4 error Error: It doesn't look like npm is installed.
4 error     at c:\Program Files\nodejs\node_modules\npm\lib\explore.js:23:43
4 error     at Object.oncomplete (fs.js:107:15)
5 error If you need help, you may report this *entire* log,
5 error including the npm and node versions, at:
5 error     <http://github.com/npm/npm/issues>
6 error System Windows_NT 6.1.7600
7 error command "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "explore" "npm" "-g" "--" "pwd"
8 error cwd c:\Users\user\node-sqlite3
9 error node -v v0.10.29
10 error npm -v 1.4.14
11 verbose exit [ 1, true ]

I am getting this error log. Please help me to solve this.

@KenanY
npm member

Looks like #3529.

@iarna iarna added the support label Sep 17, 2014
@chrismeyersfsu

@muralip can you try running
npm explore npm -g -- pwd
It should output the path of your npm binary.

@othiym23

This actually looks like a path issue – that command is used by a few other packages to try to get at node-gyp without depending on it themselves, and it looks like the SQLite installer in AppJS is one of them. On Unix systems, this will work fine, but apparently on Windows with a default install, this fails because PATH / %path% isn't set up correctly. @muralip, this is actually an issue for the AppJS team, not us. npm is working as designed here.

@othiym23 othiym23 closed this Sep 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment