Syntax error? 7/15


#1

Here's my code:
var p1 =

foo

;

Here's the error I get:
Oops! The test returned an error. Maybe you have a syntax error, or a typo. Hide error.
/home/ccuser/node_modules/mocha/lib/utils.js:634
throw new Error("cannot resolve path (or pattern) '" + path + "'");
^

Error: cannot resolve path (or pattern) 'test/test.js'
at Object.lookupFiles (/home/ccuser/node_modules/mocha/lib/utils.js:634:15)
at /home/ccuser/node_modules/mocha/bin/_mocha:327:30
at Array.forEach (native)
at Object. (/home/ccuser/node_modules/mocha/bin/_mocha:326:6)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.