-
-
Notifications
You must be signed in to change notification settings - Fork 17.6k
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
Error in depd module node upgradation 8.x.x #3919
Comments
I can take a look. Can you provide complete steps to reproduce the issue? I installed Node.js 8.15.1 and then installed Express.js 4.16.4 and then just ran the Express.js hello world app and no errors and everything is working. We also have Node.js 8 and 10 running on Travis CI without that error. |
I have node version 6.17.0 installed on my local machine.here are the steps I followed to upgrade node version from 6.17.0 to 8.15.0
Note : |
Hi @Ashish131989 thank you so much for the steps you provided! I realized that I left out that the intention is so that I could perform the same steps on my machine so I can reproduce and thus be able to debug the error. The steps above seem to be using some code I don't have access to, so I'm not able to follow them. Would you be able to provide steps using something like the express generator as the starting point, or share your code with me somehow? |
Hi @dougwilson Sorry I was out for some reason, I dont have rights to share my code,let me see if I can write sample app, The application is running fine it's all about unit mocha tests which are failing. Also if you can see here the issue was reported eariler for express module and it was resolved in next version.
|
Thanks @Ashish131989 . I'm not saying it isn't fixable, but in order for me to be able to work on a fix, I have to be able to reproduce it somehow. There is nothing I can do to help unless you can provide reproducing steps. |
@dougwilson I'm writing sample app to reproduce this issue I will keep you posted soon |
Thank you |
@dougwilson can you share your email ID, I'm facing issues with my git account. |
@dougwilson - Sharing the sample application with you on below path. Steps to reproduce. Let me know for more details |
Thanks for that. It is a bug in the https://www.npmjs.com/package/sandboxed-module causing your issue. It breaks Node.js APIs like https://nodejs.org/dist/latest-v12.x/docs/api/errors.html#errors_error_capturestacktrace_targetobject_constructoropt and https://nodejs.org/dist/latest-v12.x/docs/api/errors.html#errors_error_stacktracelimit because the globals inside the sandbox do not belong to the sandbox. The bug here is the same issue that is causing your error: felixge/node-sandboxed-module#44 |
@dougwilson thanks for the reference, It seems to be different issues with sandboxed- module for the thread which you shared. I have raised my concern to sandboxed-module team but didn't get any reply back. Do you have any thought how can I proceed now? |
Getting TypeError: callSite.getFileName is not a function error after upgrading node version from 6.14.3 to 8.15.1.
same issue is gettting for 10.x.x node version.
I did update the version which were listed as outdated but still facing same issue for some of the dependent module.
how can I get the compitable versions of dependant modules
The text was updated successfully, but these errors were encountered: