amberc error: amber_dir needs to be a valid directory

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

amberc error: amber_dir needs to be a valid directory

planmac
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.
Reply | Threaded
Open this post in threaded view
|

Re: amberc error: amber_dir needs to be a valid directory

Herby Vojčík
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.
Reply | Threaded
Open this post in threaded view
|

Re: amberc error: amber_dir needs to be a valid directory

planmac
Thanks Herby!

Sorry, new to this - will use github next time!

Cheers, Peter


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.

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 a topic in the Google Groups "amber-lang" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/amber-lang/DckCSnULV_o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to [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.