-
Notifications
You must be signed in to change notification settings - Fork 984
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
Restify not working with nodejs v4.0.0 in mac os x #897
Comments
@MrShogun can you provide an example script that exhibits the problem? Anything we can go off of to help assist you? |
I am also experiencing this, restify will not install. Looks to be an issue with DTrace 0.5: Installing restify
Basic script
Output
|
Dtrace 0.5 won't work with Node 4. Node 4 was just released today, and we haven't had a chance to validate what is necessary to get it working with Restify. |
dtrace 0.6 has node v4 support, maybe updating is enough? |
@MrShogun just run in the node_modules/restify directory the following to test if 0.6 is a possible fix: npm i dtrace-provider@0.6.0 |
@thomashilzendegen It is indeed a fix. |
Ill try that asap, in the mean time do you have an ETA for the fix in restify? Im using the latest version and i dont have any problem with updating, so once you will release a fix ill update on my side. Thank you |
4.0.1 is out, upgrade and let us know if that fixes your issue. |
4.0.1 now installs successfully with Node 4.0.0 for me 👍 |
This issue still happening. I'm using restify v4.0.3 using either node 0.10.40 or 4.2.2.
|
I'm have this problem too using testify v4.0.3 and node 4.2.3
|
@cprwhite @lvegerano have you tried uninstalling the restify module and re-installing it? I had the same error this morning after upgrading to node v4.2.3 on my Mac and running a npm update doesn't seem to fix the issue. The commands I ran were:
|
@willkramer I did not spend much time on it. I was on a mission to create a microservice so I just switched to using HapiJS. Also there is memory leak noted in the issues with some of the middleware that also pushed me away. |
@lvegerano - Do you mind pointing me towards the issues with memory leaks? It makes sense that after upgrading Node you'd have to uninstall and reinstall a module with a dependency on a native module (Bunyan / dtrace-provider) as it needs to be recompiled with the newer version of node-gyp. |
The error is from bunyan, and is non-fatal. You may want to check out this thread for some of the proposed solutions. |
I came across this issue too but a simple reinstall fixed it, cheers. |
This seems to be happening again with Restify 6.3.2 and Node 9.0.0. Is this because you haven't had a chance to update? |
Hey @u84six, Thanks for letting us know. Is this specifically DTrace? |
Yes, specifically DTrace. I confirmed it was restify installation by uninstalling, deleting node_modules dir and then running npm install. No problem without restify. |
DTrace uses native bindings, it must not be updated for Node v9. Not sure what work goes into that. Marking this as help wanted for now. Worst case scenario we could pull out dtrace, I'm not sure how much it is used (queue incoming flood of use cases) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed as stale because it has not had recent activity. |
Hello,
i was trying my application that is using restify with nodejs v4.0.0, and it is not working. Once the require to restify is made the process just dies without giving any exception or error.
Thank you,
Joao Franco
The text was updated successfully, but these errors were encountered: