You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
delete traceur folder and recheckout from SVN (I commented out the error in traceur/src/semantics/symbols/ModuleSymbol.js)
run node test.js
Witness "Missing URL". For bigger projects it spams alot more.
What is the expected output? What do you see instead?
No error
What version of the product are you using? On what operating system?
latest trunk as of 9/19/11
Please provide any additional information below.
NOTE: To get traceur to work with node.js I had to disable the FreeVariableChecker like so:
traceur.semantics.FreeVariableChecker.checkProgram = function() {}
This is due to Traceur blowing up saying module was not defined.
also, to assist debugging I threw in an exception to get a stack trace:
Error: Missing URL
at Object.ModuleSymbol (/home/aikar/projects/nodeib/node_modules/traceur/traceur/src/semantics/symbols/ModuleSymbol.js:36:13)
at Object.Project (/home/aikar/projects/nodeib/node_modules/traceur/traceur/src/semantics/symbols/Project.js:45:24)
at Object..js (/home/aikar/projects/nodeib/node_modules/traceur/traceur.js:34:19)
at Module.load (module.js:343:31)
at Function._load (module.js:302:12)
at require (module.js:355:19)
at Object.<anonymous> (/home/aikar/projects/nodeib/node_modules/traceur/test.js:2:7)
at Module._compile (module.js:411:26)
at Object.<anonymous> (module.js:417:10)
at Module.load (module.js:343:31)
From arv@chromium.org on November 11, 2011 07:19:21
A couple of notes.
Make sure you are passing in a url to the Project constructor:
var project = new traceur.semantics.symbols.Project(document.location.href);
Secondly, you can now set traceur.options.freeVariableChecker to false. You might also want to disable the validator to speed things up. See options.js for more info.
Do you still think there are things that need to change in traceur to better handle this?
Original author: aikar%ai...@gtempaccount.com (September 19, 2011 12:31:03)
What steps will reproduce the problem?
What is the expected output? What do you see instead?
No error
What version of the product are you using? On what operating system?
latest trunk as of 9/19/11
Please provide any additional information below.
NOTE: To get traceur to work with node.js I had to disable the FreeVariableChecker like so:
traceur.semantics.FreeVariableChecker.checkProgram = function() {}
This is due to Traceur blowing up saying module was not defined.
also, to assist debugging I threw in an exception to get a stack trace:
Error: Missing URL
at Object.ModuleSymbol (/home/aikar/projects/nodeib/node_modules/traceur/traceur/src/semantics/symbols/ModuleSymbol.js:36:13)
at Object.Project (/home/aikar/projects/nodeib/node_modules/traceur/traceur/src/semantics/symbols/Project.js:45:24)
at Object..js (/home/aikar/projects/nodeib/node_modules/traceur/traceur.js:34:19)
at Module.load (module.js:343:31)
at Function._load (module.js:302:12)
at require (module.js:355:19)
at Object.<anonymous> (/home/aikar/projects/nodeib/node_modules/traceur/test.js:2:7)
at Module._compile (module.js:411:26)
at Object.<anonymous> (module.js:417:10)
at Module.load (module.js:343:31)
Original issue: http://code.google.com/p/traceur-compiler/issues/detail?id=41
The text was updated successfully, but these errors were encountered: