Re: Exporting error and empty .js file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Exporting error and empty .js file

Dale Henrichs
Vanessa,

I think you might have the wrong mailing list ... this is the Pier mailing list and you probably want the Amber mailing list ... the errors that your describing here are all on the Amber side of the equation.

Dale

----- Original Message -----
| From: "vpena" <[hidden email]>
| To: [hidden email]
| Sent: Thursday, May 17, 2012 2:19:29 PM
| Subject: Exporting error and empty .js file
|
| 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.
| _______________________________________________
| Magritte, Pier and Related Tools ...
| https://www.iam.unibe.ch/mailman/listinfo/smallwiki
|
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
Reply | Threaded
Open this post in threaded view
|

Re: Exporting error and empty .js file

vpena
Hehe, yes, so sorry. I posted in the right forum after this. Thank you :)

Vanessa.
On 05/17/2012 06:03 PM, Dale Henrichs wrote:

> Vanessa,
>
> I think you might have the wrong mailing list ... this is the Pier mailing list and you probably want the Amber mailing list ... the errors that your describing here are all on the Amber side of the equation.
>
> Dale
>
> ----- Original Message -----
> | From: "vpena"<[hidden email]>
> | To: [hidden email]
> | Sent: Thursday, May 17, 2012 2:19:29 PM
> | Subject: Exporting error and empty .js file
> |
> | 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.
> | _______________________________________________
> | Magritte, Pier and Related Tools ...
> | https://www.iam.unibe.ch/mailman/listinfo/smallwiki
> |
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>

_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki