You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting srcdir to : /home/cconstantine/node_modules/pam
Setting blddir to : /home/cconstantine/node_modules/pam/build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /home/cconstantine/.node_libraries
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.046s)
Waf: Entering directory /home/ditesh/code/node-pam/build' Waf: Leaving directory/home/ditesh/code/node-pam/build'
Traceback (most recent call last):
File "/usr/local/bin/node-waf", line 16, in
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 145, in prepare
prepare_impl(t, cwd, ver, wafdir)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 135, in prepare_impl
main()
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 188, in main
fun(ctx)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 386, in build
return build_impl(bld)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 405, in build_impl
bld.compile()
File "/usr/local/bin/../lib/node/wafadmin/Build.py", line 268, in compile
os.chdir(self.bldnode.abspath())
OSError: [Errno 2] No such file or directory: '/home/ditesh/code/node-pam/build'
npm ERR! error installing pam@0.1.0 Error: pam@0.1.0 preinstall: node-waf configure && node-waf build
npm ERR! error installing pam@0.1.0 sh "-c" "node-waf configure && node-waf build" failed with 1
npm ERR! error installing pam@0.1.0 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing pam@0.1.0 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing pam@0.1.0 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! pam@0.1.0 preinstall: node-waf configure && node-waf build
npm ERR! sh "-c" "node-waf configure && node-waf build" failed with 1
npm ERR!
npm ERR! Failed at the pam@0.1.0 preinstall script.
npm ERR! This is most likely a problem with the pam package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure && node-waf build
npm ERR! You can get their info via:
npm ERR! npm owner ls pam
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.32-33-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "pam"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/cconstantine/npm-debug.log
npm not ok
The text was updated successfully, but these errors were encountered:
It apears that your homedir somehow got into npm. I'm not sure how, the code here looks good.
╭─[0]─[cconstantine@logic:~]
╰─[:)] % npm install pam
Setting srcdir to : /home/cconstantine/node_modules/pam
Setting blddir to : /home/cconstantine/node_modules/pam/build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : ok /home/cconstantine/.node_libraries
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.046s)
Waf: Entering directory
/home/ditesh/code/node-pam/build' Waf: Leaving directory
/home/ditesh/code/node-pam/build'Traceback (most recent call last):
File "/usr/local/bin/node-waf", line 16, in
Scripting.prepare(t, os.getcwd(), VERSION, wafdir)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 145, in prepare
prepare_impl(t, cwd, ver, wafdir)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 135, in prepare_impl
main()
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 188, in main
fun(ctx)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 386, in build
return build_impl(bld)
File "/usr/local/bin/../lib/node/wafadmin/Scripting.py", line 405, in build_impl
bld.compile()
File "/usr/local/bin/../lib/node/wafadmin/Build.py", line 268, in compile
os.chdir(self.bldnode.abspath())
OSError: [Errno 2] No such file or directory: '/home/ditesh/code/node-pam/build'
npm ERR! error installing pam@0.1.0 Error: pam@0.1.0 preinstall:
node-waf configure && node-waf build
npm ERR! error installing pam@0.1.0
sh "-c" "node-waf configure && node-waf build"
failed with 1npm ERR! error installing pam@0.1.0 at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing pam@0.1.0 at ChildProcess.emit (events.js:67:17)
npm ERR! error installing pam@0.1.0 at ChildProcess.onexit (child_process.js:192:12)
npm ERR! pam@0.1.0 preinstall:
node-waf configure && node-waf build
npm ERR!
sh "-c" "node-waf configure && node-waf build"
failed with 1npm ERR!
npm ERR! Failed at the pam@0.1.0 preinstall script.
npm ERR! This is most likely a problem with the pam package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure && node-waf build
npm ERR! You can get their info via:
npm ERR! npm owner ls pam
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.32-33-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "pam"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/cconstantine/npm-debug.log
npm not ok
The text was updated successfully, but these errors were encountered: