Closed mycaule closed 6 years ago
Similar problems with migration to node 0.12 in gulp-sass package : https://github.com/dlmanning/gulp-sass/issues/189
Did you try to remove node_modules and reinstall your deps? Since there is a native module there (compiled)
El mar, mar 3, 2015 08:03, Michel Hua notifications@github.com escribió:
Similar problems with migration to node 0.12 in gulp-sass package : dlmanning/gulp-sass#189 https://github.com/dlmanning/gulp-sass/issues/189
— Reply to this email directly or view it on GitHub https://github.com/auth0/passport-windowsauth/issues/25#issuecomment-76925917 .
Yes but npm install passport-windowsauth@0.1.11
doesn't work at all.
I have this
...
gyp ERR! build error
gyp ERR! stack Error: `C:\windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (c:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "c:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd d:\Developpements\sandbox\node_modules\passport-windowsauth\node_modules\ldapjs\node_modules\buffertools
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm WARN engine mv@0.0.4: wanted: {"node":">=0.8.0 <0.10.0"} (current: {"node":"0.12.0","npm":"2.5.1"})
...
I can also confirm, these module among many other ldap modules aren't compatible with version 0.12
did you meant aren't compatible?
Yup, thanks, typo fixed (:
I fixed the problem upgrading the package to the latest version.
I'm using
npm install passport-windows auth
on a brand new folder, it should download the latest version, but since ldapjs native code isn't compatible with node 0.12 this whole package fails installing
You have to update passport
to the latest version as well.
I recently updated to node 0.12.0 et get the following error with passport-windowsauth 0.1.11.
Running the server with node 0.10.28 works fine.
Do you plan to support the new version of node ?