-
Notifications
You must be signed in to change notification settings - Fork 242
[uncaughtException] { [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' } #42
Comments
Finally i bypassed this error with installing phantomjs on my mac :) My new error is on my server (Ubuntu 12.04) When i try to run app it gives that error: Phantomjs internal server listening on port 3001 phantomjs failed; restarting Of course there's no X Server on my server so what can i do for this error? |
I installed the latest version of phantomjs and the latest problem is resolved on my first server. Now i try to install it on a fresh server (with x86-64 CPU), i installed all nodejs phantomjs and other components with same commands (sure to compatible with new CPU) but when i try to execute node app it fails and returun empty result (no error or any message) What is the problem can be there? |
I noticed that node app was completely f*cked up. I corrected it. Now i get on my every request: Express i changed the tmp directory to another directory and give 777 with chmod command but i got same error again :/ |
Same error in here, using Ubuntu VM at Koding [uncaughtException] { [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' } |
This means that you do not have the phantomjs executable in your bin of your system or in the path variable... I had the same issue and thats how i fixed it. |
Yes, im using Win7 64-bit. it can be solved by installed phantomjs and located the path. However, i get the same errors as ne0c0de on every request. Express |
Same error, has any one following this issue? Has any one solved this issue? |
I am having this issue. Installing phantomjs binary using brew install phantomjs solved it. But it still doesnt work, anytime I make a request like in the example I just get: Stopping Phantomjs internal server |
I did solve it by installing bzip2 and tar |
Can confirm the solution by @ryangurn . Added a symlink to phantomjs in /bin. |
Hi,
I just downloaded the zip file and tun the following commands:
npm install
node app.js
it gives me that error:
[uncaughtException] { [Error: spawn ENOENT] code: 'ENOENT', errno: 'ENOENT', syscall: 'spawn' }
i also tried it with sudo command but the error didn't change.
finally i tried to give chmod 777 to all files in the current folder but the result didn't change.
what can id in this situaiton?
The text was updated successfully, but these errors were encountered: