-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPM install failing on Ubuntu Core installed on Dragonboard 410c #777
Labels
Comments
So that would indicate it's failed the arch check. Which is odd. As a quick
fix install via cmake and it should work.
…On 1 Jul 2017 00:25, "Lucas" ***@***.***> wrote:
Hi, I'm trying to run npm install mraa on my Dragonboard 410c and it's
failing.
Ubuntu Core version: 16.04
Log:
../src/mraa.c: In function ‘imraa_init’: ../src/mraa.c:154:2: error:
#error mraa_ARCH NOTHING #error mraa_ARCH NOTHING ^ mraa.target.mk:136:
recipe for target 'Release/obj.target/mraa/src/mraa.o' failed make: ***
[Release/obj.target/mraa/src/mraa.o] Error 1 make: Leaving directory
'/home/gruutak/TARCplusplus-iot/node_modules/mraa/build' gyp ERR! build
error gyp ERR! stack Error:makefailed with exit code: 2 gyp ERR! stack at
ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at
ChildProcess.emit (events.js:191:7) gyp ERR! stack at
Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 4.4.0-1054-snapdragon gyp ERR! command
"/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild" gyp ERR! cwd /home/gruutak/TARCplusplus-iot/node_modules/mraa
gyp ERR! node -v v6.11.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#777>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAfZZn9JOO2bbpAoe7Mkv3qml6027mjuks5sJXW-gaJpZM4OLG7N>
.
|
Done. It installed successfully. But how can I proceed to use it in node since it isn't able to find the module? |
Set |
It worked! Thank you very much! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm trying to run npm install mraa on my Dragonboard 410c and it's failing.
Ubuntu Core version: 16.04
Log:
The text was updated successfully, but these errors were encountered: