trouble with amberc

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

trouble with amberc

Andy Balholm-2
I have a .st file that was created by committing classes that I created in the IDE in the web browser window. There is a corresponding .js file too, but I would like to exclude the .js file from version control. Before I do that, I need to figure out how to re-generate it if something happens to it. I assume amberc should be able to do that. But when I type amberc Models.st, I get an error:

module.js:340
    throw err;
          ^
Error: Cannot find module 'amdefine'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.start (/usr/local/amber/bin/amberc.js:74:24)
    at Object.callback (/usr/local/amber/bin/amberc.js:401:11)
    at Object.Combo.check (/usr/local/amber/bin/amberc.js:116:18)
    at /usr/local/amber/bin/amberc.js:109:9
    at fs.js:266:14
    at Object.oncomplete (fs.js:107:15)

I can't find the filenames that the stack trace refers to. What's going on?

--
You received this message because you are subscribed to the Google Groups "amber-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.