You should be able to do:
npm install --arch=arm
On Wed, Apr 3, 2013 at 2:49 PM, Tim Wu <[email protected]> wrote:
> Hi!
>
> I'm developing on a large project on ARM processor with NodeJS.
> This project uses several native addons.
>
> I can manually build each addons with the simple
>
> *nodegyp -arch arm rebuild*
> *
> *
> command without any problem.
>
> However, when I install these addons with `npm install` and it fails with
> *-m64* error.
> Obviously, it's because npm doesn't launching nodegyp with *-arch arm*
> option.
>
> Does anyone know how to ask npm to pass extra options to nodegyp? Any
> help is appreciated.
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.