asmblah / uniter

🎉 PHP in the browser and Node.js => Docs: https://phptojs.com/
https://asmblah.github.io/uniter/
Other
446 stars 42 forks source link

Fix intermittent errors when running tests #4

Closed asmblah closed 9 years ago

asmblah commented 10 years ago
node tests/bdd/index.js --grep 'equality operator'

fs.js:679
  return binding.lstat(pathModule._makeLong(path));
                 ^
Error: ENOENT, no such file or directory '/Library/WebServer/Documents/localhost/uniter/tests/bdd/languages'
    at Object.fs.lstatSync (fs.js:679:18)
    at Object.realpathSync (fs.js:1265:21)
    at modular.configure.transport (/Library/WebServer/Documents/localhost/uniter/node_modules/modular-amd/index.js:57:31)
    at Module.util.extend.load (eval at <anonymous> (/Library/WebServer/Documents/localhost/uniter/node_modules/modular-amd/index.js:23:25), <anonymous>:363:56)
    at Module.eval (eval at <anonymous> (/Library/WebServer/Documents/localhost/uniter/node_modules/modular-amd/index.js:23:25), <anonymous>:277:40)
    at Object.util.each (eval at <anonymous> (/Library/WebServer/Documents/localhost/uniter/node_modules/modular-amd/index.js:23:25), <anonymous>:44:38)
    at loadDependencies (eval at <anonymous> (/Library/WebServer/Documents/localhost/uniter/node_modules/modular-amd/index.js:23:25), <anonymous>:276:30)
    at eval (eval at <anonymous> (/Library/WebServer/Documents/localhost/uniter/node_modules/modular-amd/index.js:23:25), <anonymous>:340:29)
    at Funnel.util.extend.done (eval at <anonymous> (/Library/WebServer/Documents/localhost/uniter/node_modules/modular-amd/index.js:23:25), <anonymous>:122:25)
    at resolveDependencies (eval at <anonymous> (/Library/WebServer/Documents/localhost/uniter/node_modules/modular-amd/index.js:23:25), <anonymous>:338:32)
asmblah commented 9 years ago

This should be fixed by the move to RequireJS.

asmblah commented 9 years ago

Merged in RequireJS changes in https://github.com/asmblah/uniter/pull/17.