ditesh / node-pam Goto Github PK
View Code? Open in Web Editor NEWNative asynchronous PAM authentication for NodeJS
License: BSD 3-Clause "New" or "Revised" License
Native asynchronous PAM authentication for NodeJS
License: BSD 3-Clause "New" or "Revised" License
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
[email protected] preinstall /home/cconstantine/node_modules/pam
node-waf configure && node-waf build
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 [email protected] Error: [email protected] preinstall: node-waf configure && node-waf build
npm ERR! error installing [email protected] sh "-c" "node-waf configure && node-waf build"
failed with 1
npm ERR! error installing [email protected] at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:67:17)
npm ERR! error installing [email protected] at ChildProcess.onexit (child_process.js:192:12)
[email protected] preuninstall /home/cconstantine/node_modules/pam
rm -rf build/*
npm ERR! [email protected] 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 [email protected] 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.