Open dcrockwell opened 8 years ago
I thought the whole point of this lib was to build native modules?
I'm getting:
"gyp WARN install got an error, rolling back install",
"gyp ERR! configure error ",
"gyp ERR! stack Error: EROFS: read-only file system, mkdir '/home/sbx_user1055'",
"gyp ERR! stack at Error (native)",
"gyp ERR! System Linux 4.1.19-24.31.amzn1.x86_64",
"gyp ERR! command \"/usr/local/lib64/node-v4.3.x/bin/node\" \"/var/task/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"",
"gyp ERR! cwd /tmp/akiroBuilder116628-1-cvxr64/node_modules/s2geometry-node",
"gyp ERR! node -v v4.3.2",
"gyp ERR! node-gyp -v v3.4.0",
"gyp ERR! not ok ",
"npm ERR! Linux 4.1.19-24.31.amzn1.x86_64",
"npm ERR! argv \"/usr/local/lib64/node-v4.3.x/bin/node\" \"/var/task/node_modules/npm/bin/npm-cli.js\" \"install\" \"--production\" \"--no-bin-links\" \"--prefix\" \"/tmp/akiroBuilder116628-1-cvxr64\" \"--cache\" \"/tmp/akiroBuilder116628-1-cvxr64\" \"--init-module\" \"/tmp/akiroBuilder116628-1-cvxr64\"",
"npm ERR! node v4.3.2",
"npm ERR! npm v3.10.5",
"npm ERR! code ELIFECYCLE",
"",
"npm ERR! s2geometry-node@1.3.1 install: `node-gyp rebuild`",
"npm ERR! Exit status 1",
"npm ERR! ",
"npm ERR! Failed at the s2geometry-node@1.3.1 install script 'node-gyp rebuild'.",
"npm ERR! Make sure you have the latest version of node.js and npm installed.",
"npm ERR! If you do, this is most likely a problem with the s2geometry-node package,",
"npm ERR! not with npm itself.",
"npm ERR! Tell the author that this fails on your system:",
"npm ERR! node-gyp rebuild",
"npm ERR! You can get information on how to open an issue for this project with:",
"npm ERR! npm bugs s2geometry-node",
"npm ERR! Or if that isn't available, you can get their info via:",
"npm ERR! npm owner ls s2geometry-node",
"npm ERR! There is likely additional logging output above.",
"",
"npm ERR! Please include the following file with any support request:",
"npm ERR! /tmp/akiroBuilder116628-1-cvxr64/npm-debug.log",
"",
"ChildProcess.exithandler (child_process.js:213:12)",
"emitTwo (events.js:87:13)",
"ChildProcess.emit (events.js:172:7)",
"maybeClose (internal/child_process.js:821:16)",
"Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)"
Is that what this story is to address?
Yes, there's some more work to be done on it. After releasing it, we realized we were working under some false presumptions.
It's 3rd in the pipeline right now behind 2 other tools that will make this functionality easier to implement. Sorry for the wild goose chase. I'll change the README to reflect that this is currently not working as advertised.
Akiro needs support for including dependent native libraries directly.
For example, the
ffmpeg
package depends upon the native librariesffmpeg
andlibmp3lame
orlibx264
.Akiro needs a way to include these. If it's not possible through just akiro, perhaps a conan plugin could handle it.