-
Notifications
You must be signed in to change notification settings - Fork 17
Unable to install/setup Tileoven #14
Comments
same here |
Hi guys, thanks for the pointer. I tried to fix the issue by upgrading bones deps to jsdom 4.0 and pinning gdal. Could you give it a spin? |
I updated the package.json file, but got the same error. Can you provide what versions of the different dependencies you are running? I can provide a few, but I don't know enough to know which ones are important: The first error I get is an Access Denied to: ` npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: |
Appears it was probably a node version issue. I installed 'nvm' and installed Node v6.14.3 (nvm install 6), and now 'npm install' finishes without errors, and very quickly. In running './index.js', it appears I'm getting a mapnik error? $ ./index.js Guessing this might be a version error as well? Is there an easy way to manage running different versions of mapnik? 'mapnik-config -v' = v3.0.19 |
Adding additional steps I took to get it working: Attempted ./index.js again, this time complained about sqlite3 Ran ./index.js again and it worked. Not sure why I had to manually update those packages. |
Thanks for solving that. |
Yep, Mac OSX v10.12.6.
I've been a longtime Tilemill user, and always wanted to try Tileoven. I'm glad I finally got it working, this has always prevented me over the past years. I really like the Search functionality, and ability to Duplicate Layers.
… On Aug 7, 2018, at 1:20 AM, Tybion ***@***.***> wrote:
Thanks for solving that.
For the record, is this a system running Mac OSX, Sierra?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#14 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAH3RHxh5eEStur9Q7FnxkDbApWIQFYYks5uOU3igaJpZM4Vrd6y>.
|
here's what did it for me:
in
|
Thanks for testing. I updated some more dependencies and fixed some minor bugs, now it should work with Node 8 LTS (tested on linux) out of the box. |
To test your change on Mac OS X , I typed the following:
$ nvm use 8.4.0
$ git pull
$ npm install (no errors, didn't attempt to build from source)
$ ./index.js
I got the following error on attempting to run:
Illegal instruction: 4
No other errors or messages, so not sure what this latest error is referring to.
…-Cory
On Aug 8, 2018, at 2:06 PM, florianf ***@***.***> wrote:
Thanks for testing. I updated some more dependencies and fixed some minor bugs, now it should work with Node 8 LTS (tested on linux) out of the box.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#14 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAH3RNpG1nIaCTECxQ5C5OPi7NfRe6Fdks5uO1LCgaJpZM4Vrd6y>.
|
I ran ./index.js again using verbose mode, and appears to error when loading mapnik.node. I then deleted /node_modules directory and ran 'npm install' again. Got an error about unable to download sqlite3, but it appeared to finish correctly.
Running './index.js' in verbose mode, final error appears to be with sqlite3: MODULE 89366: load "/Users/username/Development/Tilemill/tileoven/node_modules/sqlite3/lib/binding/node-v57-darwin-x64/node_sqlite3.node" for module "/Users/username/Development/Tilemill/tileoven/node_modules/sqlite3/lib/binding/node-v57-darwin-x64/node_sqlite3.node" Fatal error in ../deps/v8/src/api.cc, line 1253 ==== C stack trace ===============================
Illegal instruction: 4 I tried going directly into /node_modules/mapnik and then /node_modules/sqlite3 and running 'npm install', but didn't appear to fix it this time. |
After cloning into local directory, running 'npm install' produces the errors below. Unable to start Tileoven.
CXX(target) Release/obj.target/contextify/src/contextify.o
../src/contextify.cc:131:56: warning: 'NewInstance' is deprecated [-Wdeprecated-declarations]
Local wrapper = Nan::New(constructor)->NewInstance();
^
/Users//.node-gyp/9.10.1/include/node/v8.h:3898:3: note: 'NewInstance' has been explicitly marked
deprecated here
V8_DEPRECATED("Use maybe version", Local NewInstance() const);
^
/Users//.node-gyp/9.10.1/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
../src/contextify.cc:150:16: error: no member named 'SetAccessCheckCallbacks' in 'v8::ObjectTemplate'
otmpl->SetAccessCheckCallbacks(GlobalPropertyNamedAccessCheck,
~~~~~ ^
../src/contextify.cc:182:51: warning: 'GetRealNamedProperty' is deprecated [-Wdeprecated-declarations]
Local rv = Nan::New(ctx->sandbox)->GetRealNamedProperty(property);
^
/Users//.node-gyp/9.10.1/include/node/v8.h:3450:3: note: 'GetRealNamedProperty' has been explicitly
marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users//.node-gyp/9.10.1/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
../src/contextify.cc:209:38: warning: 'GetRealNamedProperty' is deprecated [-Wdeprecated-declarations]
if (!Nan::New(ctx->sandbox)->GetRealNamedProperty(property).IsEmpty() ||
^
/Users//.node-gyp/9.10.1/include/node/v8.h:3450:3: note: 'GetRealNamedProperty' has been explicitly
marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users//.node-gyp/9.10.1/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
../src/contextify.cc:210:42: warning: 'GetRealNamedProperty' is deprecated [-Wdeprecated-declarations]
!Nan::New(ctx->proxyGlobal)->GetRealNamedProperty(property).IsEmpty()) {
^
/Users//.node-gyp/9.10.1/include/node/v8.h:3450:3: note: 'GetRealNamedProperty' has been explicitly
marked deprecated here
V8_DEPRECATED("Use maybe version",
^
/Users//.node-gyp/9.10.1/include/node/v8config.h:321:29: note: expanded from macro 'V8_DEPRECATED'
declarator attribute((deprecated))
^
4 warnings and 1 error generated.
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Darwin 16.7.0
gyp ERR! command "/usr/local/Cellar/node/9.10.1/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users//Development/Tilemill/tileoven_new/node_modules/contextify
gyp ERR! node -v v9.10.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN tilemill@0.10.2 No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! contextify@0.1.15 install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the contextify@0.1.15 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
The text was updated successfully, but these errors were encountered: