Skip to content
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

Can't resolve "require('tripwire')" properly with iisnode #10

Open
joshburgess opened this issue Apr 6, 2016 · 4 comments
Open

Can't resolve "require('tripwire')" properly with iisnode #10

joshburgess opened this issue Apr 6, 2016 · 4 comments

Comments

@joshburgess
Copy link

I'm getting the following error when trying to use this with iisnode to guard against processes hanging up:

Application has thrown an uncaught exception and is terminated:
Error: The specified procedure could not be found.

?\C:\Sites\subdomain.domain.com\node_modules\tripwire\lib\native\win32\0.10\x64\tripwire.node
at Error (native)
at Object.Module._extensions..node (module.js:440:18)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object. (C:\Sites\subdomain.domain.com\node_modules\tripwire\lib\tripwire.js:14:18)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)

Any ideas?

@shlomisas
Copy link

+1

@kristianoye
Copy link

kristianoye commented Jan 14, 2018

I had this problem too. I don't know what version of Windows the npm binaries are targeting but they did not work on my x64 Windows 10 box. I recompiled the native binaries and it worked (although not quite as I was hoping... was hoping I could recover after the exception but apparently it just keeps throwing exceptions until I recycle the code)?)

@kristianoye
Copy link

V8 has an isolate method named CancelTerminateExecution(). It seems like this could be used to resume the thread after it is terminated.

@arpit-systango
Copy link

Any solutions on this error, getting the same issue on windows 10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants