theintern / intern

A next-generation code testing stack for JavaScript.
https://theintern.io/
Other
4.36k stars 309 forks source link

error with digdug path when running tests with Intern-TravisCI-Browserstack #622

Closed cch5ng closed 8 years ago

cch5ng commented 8 years ago

OS: Mac OSX 10.10.5 Browser: Chrome 50.0.2661.75 Node: 5.7.1 Intern: v2.2.0 Test case: I'm trying to run predefined tests on BrowserStack via Intern and TravisCI. I'm trying to test them on my forked repo (https://github.com/cch5ng/webcompat.com-1) which is sync'd to Travis.

TravisCI error: FATAL ERROR Error: ENOENT, no such file or directory '/home/travis/build/cch5ng/webcompat.com-1/node_modules/intern/node_modules/digdug/browserstack/BrowserStackLocal' at Error <native> at Object.fs.chmodSync <fs.js:948:18> at <node_modules/intern/node_modules/digdug/BrowserStackTunnel.js:128:7> at <node_modules/intern/node_modules/digdug/node_modules/dojo/Promise.js:235:37> at runCallbacks <node_modules/intern/node_modules/digdug/node_modules/dojo/Promise.js:11:18> at <node_modules/intern/node_modules/digdug/node_modules/dojo/Promise.js:188:17> at run <node_modules/intern/node_modules/digdug/node_modules/dojo/Promise.js:131:29> at <node_modules/intern/node_modules/digdug/node_modules/dojo/nextTick.js:30:13> at process._tickCallback <node.js:355:11>

.travis.yml contains: env: global:

intern.js contains: tunnel: 'BrowserStackTunnel',

vladikoff commented 8 years ago

Hello @cch5ng,

Error: ENOENT, no such file or directory '/home/travis/build/cch5ng/webcompat.com-1/node_modules/intern/node_modules/digdug/browserstack/BrowserStackLocal'

The error means the file is not found, please check make sure you are calling it with the right path.

If you look here https://github.com/theintern/digdug/blob/1.2.0/BrowserStackTunnel.js the path to the tunnel should be digdug/BrowserStackTunnel.js and not digdug/browserstack/BrowserStackLocal

cch5ng commented 8 years ago

thanks. I'm going to close this. I think possibly I had something missing in my configuration from Intern.js or Travis. I also upgraded my Intern version and right now I am not seeing this error.