Hello!
I'm trying to export an application from Pharo to Amber, and everything
works find except when it has to write the .js file. It give me the
following error + and empty .js file:
String>>streamContents:
a BlockClosure>>value:
a Exporter>>exportPackageDefinitionOf:on:
nil does not understand #name
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: First argument needs to be a number, array or string.
at new Buffer (buffer.js:156:15)
at Object.writeFileSync (fs.js:485:12)
at /home/projects/Amber/Amber/mySrc/amberc.0ZLAPg/compiler.js:18557:8
at Array.forEach (native)
at Object.<anonymous>
(/home/projects/Amber/Amber/mySrc/amberc.0ZLAPg/compiler.js:18549:11)
at Module._compile (module.js:402:26)
at Object..js (module.js:408:10)
at Module.load (module.js:334:31)
at Function._load (module.js:293:12)
at Array.<anonymous> (module.js:421:10)
Done.
Any idea?
Thanks,
Vanessa.
--
View this message in context:
http://forum.world.st/Exporting-error-and-empty-js-file-tp4630733.html
Sent from the Magritte, Pier and Related Tools mailing list archive at
Nabble.com.