-
Notifications
You must be signed in to change notification settings - Fork 604
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
ENOENT error #2
Comments
It looks like there is a missing file. what is the path of your backstop.json file? What platform are you on? and can you post your config file contents? |
I have the same problem on windows 8. |
Path for the backstop.js file: Im on Win8 Also, by config file you mean my gulpfile.js? |
Hi, Thanks, I meant this file --> This one will be hard for me to troubleshoot since I don't have a proper win8 machine. There must be an issue with installation. Admittedly, the process is not as straightforward as I would like. |
Sure, here is the code: { |
oh, that is interesting... Couple of things. Can you cd to here Then run Please let me know how it goes... thanks! |
Nope.. but then i tried gulp echo: C:\Users\Pablo\Projects\git\myCoolProject\bower_components\backstopjs events.js:72 |
Alrighty then, That looks broken. :( Could you try running this... You can run that from any location -- it should install phantomjs globally. Someone recently commented they needed to do this -- but I haven't had a chance to verify it. Please do this and then cd back to also, just to confirm, your config file now looks like this... yes?
|
I also had this issue, I found that I had to run: Shouldn't these be included in the package.json? |
@coljung @Jenkosama Just checking in, were you able to resolve the issue? |
Had the same problem when required libraries where missing for the dependency projects (namely PhantomJS and CasperJS). In your console, execute the command When executing This fixes the normal executing but still fails to perform the |
The `echo` command does not work in Windows because `casperjs` needs to be launched with the .cmd extension. This is done correctly in the `test` task but not in `echo`.
Many thanks to @brutaldev for the bug fix! Also, I think these comments will help a lot of win users who have not already loaded phantomjs, casperjs & python. #14 has been merged in and will be released in v0.2.5. |
I know this is a closed issue, but I had this problem and the above steps didn't quite work for me, I had everything installed and running independently, but as I'd installed casperjs a long time ago independently it existed elsewhere on my PATH: You can work out if you're having the same problem by using:
On windows 'bash' (mysys, gitbash, etc):
It's easiest if they're all in the same location, for me I made that npm global installs, e.g: /c/Users/{USERNAME}/AppData/Roaming/npm/ casperjs was in a different location so I had to remove that reference (environment variables) and install it via: hope that helps someone |
@matt-newman, thanks for posting this. |
When i try to run this i get an error, i followed the steps and im not sure what im missing.
To get the error I went to the specified folder and ran gulp echo, this is the message received:
[11:51:14] Using gulpfile ~\Projects\git\myCoolProject\bower_components\backstopjs\gulpfile.js
[11:51:14] Starting 'echo'...
[11:51:14] Finished 'echo' after 2.22 ms
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)
Thanks!
The text was updated successfully, but these errors were encountered: