-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Troubles with Node 0.12 #38
Comments
Found the following in the npm install output:
Edit: Node >= 0.11 has child_proces.execFileSync, see #36. Perhaps the README should be updated? |
There is a PR that solved this but unfortunately npm no longer allows me to publish updates due to the project having a camelCased title. |
So what is the solution? How do I make execSync build again? |
@mgutz Well then, it would be nice if you could change the title :) |
I was able to workaround by using a different package instead, sync-exec . |
According to the npm site there are more than one hundred packages depending from this one, and these are just the direct dependencies. |
According to this issue: mgutz/execSync#38 - node 0.12+ is not working with execSync. Since an update cannot be pushed because of the camel-cased name, a new version of was created here: https://www.npmjs.com/package/sync-exec I've updated the package.json to reference this new version as I was unable to generate using Yeoman because of this issue.
According to this issue: mgutz/execSync#38 - node 0.12+ is not working with execSync. Since an update cannot be pushed because of the camel-cased name, a new version of was created here: https://www.npmjs.com/package/sync-exec I've updated the package.json to reference this new version as I was unable to generate using Yeoman because of this issue.
ds18x20 cannot be currently installed with node.js 0.12 as execSync module doesn't work with nodejs 0.12 and the author of that module cannot make an update to the module to fix that. [1] We replace execSync with sync-exec [2] which is "an fs.execSync replacement until you get it natively from node 0.12+". Also, the error number for ENOENT in nodejs 0.12 is -2 instead of 34 which is was previously. Therefore we remove the check "errno == 34" (it should be anyways enough to test that "code == ENOENT"). [1] mgutz/execSync#38 [2] https://www.npmjs.com/package/sync-exec
Attempting "npm install copy-paste" currently raises the error: [execsync v1.0.2] Attempting to compile native extensions. [execSync v1.0.2] Native code compile failed!! This error arises with the dependency execSync and is addressed by the author of execSync [1] who recommends replacing execSync by sync-exec [2]. Here we replace execSync with sync-exec, and npm install will run with no errors. [1] [mgutz/execSync#38](mgutz/execSync#38) [2] https://www.npmjs.com/package/sync-exec
`execSync` does not work for versions of Node > 0.11: mgutz/execSync#38
Having this in both travis and locally.
The text was updated successfully, but these errors were encountered: