Fresh install on Linux mint 64, attempt to use amberc results in the following error:
-- /usr/local/lib/node_modules/amber-cli/node_modules/amber-dev/lib/amberc.js:71 throw new Error('amber_dir needs to be a valid directory'); ^ Error: amber_dir needs to be a valid directory at new AmberCompiler (/usr/local/lib/node_modules/amber-cli/node_modules/amber-dev/lib/amberc.js:71:9) at Object.<anonymous> (/usr/local/lib/node_modules/amber-cli/support/amberc-cli.js:22:16) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:901:3 Any help would be welcome! 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/d/optout. |
Fixed by 3a11a2c, do (sudo) npm -g update amber-cli.
BTW, if there's a issue of this kind, rather fill an issue in github than use ML for that. Herby Peter MacDonald wrote: > Fresh install on Linux mint 64, attempt to use amberc results in the > following error: > > /usr/local/lib/node_modules/amber-cli/node_modules/amber-dev/lib/amberc.js:71 > throw new Error('amber_dir needs to be a valid directory'); > ^ > Error: amber_dir needs to be a valid directory > at new AmberCompiler > (/usr/local/lib/node_modules/amber-cli/node_modules/amber-dev/lib/amberc.js:71:9) > at Object.<anonymous> > (/usr/local/lib/node_modules/amber-cli/support/amberc-cli.js:22:16) > at Module._compile (module.js:456:26) > at Object.Module._extensions..js (module.js:474:10) > at Module.load (module.js:356:32) > at Function.Module._load (module.js:312:12) > at Function.Module.runMain (module.js:497:10) > at startup (node.js:119:16) > at node.js:901:3 > > Any help would be welcome! > > -- > 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] > <mailto:[hidden email]>. > For more options, visit https://groups.google.com/d/optout. -- 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/d/optout. |
Thanks Herby! Sorry, new to this - will use github next time!On Mon, May 26, 2014 at 9:56 PM, Herby Vojčík <[hidden email]> wrote: Fixed by 3a11a2c, do (sudo) npm -g update amber-cli. 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/d/optout. |
Free forum by Nabble | Edit this page |