segmentio / analytics.js-integration-tester

Helper to quickly test an analytics.js integration.
MIT License
8 stars 11 forks source link

Unhandled 'error' event: EACCES #28

Closed mthommes closed 10 years ago

mthommes commented 10 years ago

When I do a make test I get this right away:

events.js:85
            throw er; // Unhandled 'error' event
                        ^
Error: EACCES, open '/Users/matt/Documents/vagrant/dev/nodejs/segmentio/build/build.js'
        at Error (native)

Then it outputs the test results. I am wondering if there is a way to get rid of that error, as I'm not sure if it's affecting my tests.

yields commented 10 years ago

looks like you don't have permissions to build/build.js ? maybe you should try chown -R $(whoami) ./build inside the segmentio directory.

mthommes commented 10 years ago

@yields That seems to fix it - thanks! I actually ran the permission thing on the full segmentio directory, as I was getting other random errors, such as Failed to start mocha: Init timeout.

I don't see any errors anymore when running make test