Giter Site home page Giter Site logo

wms's Issues

Unable to npm install

Getting an error when I try to npm install wms using node v11.6.0:

npm WARN deprecated [email protected]: protozero should no longer be used via npm, install instead via https://github.com/mapbox/mason

> [email protected] install /Users/user/Desktop/projects/reviz/server/node_modules/mapnik
> node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/mapnik/v3.7.2/node-v67-darwin-x64-Release.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/mapnik/v3.7.2/node-v67-darwin-x64-Release.tar.gz 
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v67 ABI, unknown) (falling back to source compile with node-gyp) 
/bin/sh: mapnik-config: command not found
/bin/sh: mapnik-config: command not found
gyp: Call to 'mapnik-config --cflags' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
gyp: Call to 'mapnik-config --cflags' returned exit status 127 while in binding.gyp. while trying to load binding.gyp
gypgyp  ERR! configure error 
ERR! configure error 
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/user/.nvm/versions/node/v11.6.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gypgyp  ERR!ERR!  stackstack     at ChildProcess.emit (events.js:188:13)
 Error: `gyp` failed with exit code: 1
gyp gypERR!  stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
ERR! stack     at ChildProcess.onCpExit (/Users/user/.nvm/versions/node/v11.6.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gyp gypERR!  ERR! stackSystem     at ChildProcess.emit (events.js:188:13)
 Darwin 17.7.0
gyp ERR!gyp  ERR!stack      at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
command "/Users/user/.nvm/versions/node/v11.6.0/bin/node" "/Users/user/.nvm/versions/node/v11.6.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/user/Desktop/projects/reviz/server/node_modules/mapnik/lib/binding/mapnik.node" "--module_name=mapnik" "--module_path=/Users/user/Desktop/projects/reviz/server/node_modules/mapnik/lib/binding"
gyp ERR! cwd /Users/user/Desktop/projects/reviz/server/node_modules/mapnik
gyp ERR!gyp node -v  v11.6.0
ERR!gyp  ERR!System node-gyp -v Darwin 17.7.0
 v3.8.0
gyp ERR! not okgyp 
 ERR! command "/Users/user/.nvm/versions/node/v11.6.0/bin/node" "/Users/user/.nvm/versions/node/v11.6.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/user/Desktop/projects/reviz/server/node_modules/mapnik/lib/binding/mapnik.node" "--module_name=mapnik" "--module_path=/Users/user/Desktop/projects/reviz/server/node_modules/mapnik/lib/binding"
gyp ERR! cwd /Users/user/Desktop/projects/reviz/server/node_modules/mapnik
gyp ERR! node -v v11.6.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/Users/user/.nvm/versions/node/v11.6.0/bin/node /Users/user/.nvm/versions/node/v11.6.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/user/Desktop/projects/reviz/server/node_modules/mapnik/lib/binding/mapnik.node --module_name=mapnik --module_path=/Users/user/Desktop/projects/reviz/server/node_modules/mapnik/lib/binding' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/user/Desktop/projects/reviz/server/node_modules/mapnik/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:188:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:978:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
node-pre-gyp ERR! System Darwin 17.7.0
node-pre-gyp ERR! command "/Users/user/.nvm/versions/node/v11.6.0/bin/node" "/Users/user/Desktop/projects/reviz/server/node_modules/mapnik/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/user/Desktop/projects/reviz/server/node_modules/mapnik
node-pre-gyp ERR! node -v v11.6.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok 
Failed to execute '/Users/user/.nvm/versions/node/v11.6.0/bin/node /Users/user/.nvm/versions/node/v11.6.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/user/Desktop/projects/reviz/server/node_modules/mapnik/lib/binding/mapnik.node --module_name=mapnik --module_path=/Users/user/Desktop/projects/reviz/server/node_modules/mapnik/lib/binding' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/user/.npm/_logs/2019-01-13T00_23_22_777Z-debug.log

Thanks!

is it working on windows ?

I can't npm install the wms package due to this error:

node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/mapnik/v4.2.1/node-v57-win32-x64-Release.tar.gz
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v57 ABI, unknown) (falling back to source compile with node-gyp)

I am using node v 8.15.0 cause I saw in another issue than the lts version of node is not supported yet.

Node v12 Support

So, the good news is, that, at least for my use case, this package works great on node v12. However, I have to install with --ignore-engines since the engine specifier specifies a maximum version of v10.

Maybe only set the minimum version, and if it breaks on newer node wait for reports? (AFAIK, there's no good way for a user to say "for this one package, I know it works on my version of node", and ignoring engine versions for all installs clearly isn't desirable.)

GetFeatureInfo !

Hi @calvinmetcalf,

This is great work. I managed to implement a fully working custom wms/wmts server with it in a few hours. The responsiveness is awesome.

However, I still want little bit more! The only thing stopping me from throwing out GeoServer is the GetFeatureInfo capability. I've had a brief look over the source code and it looks like it would not be that hard to add. Is this something you were planning to implement to soonish anyway? Do you accept pull requests?

Many Thanks,
Nahid

Adding Email - Breaks Login?

Email from TNRIS with potential bug.

"Gayla and I both noticed what may be a bug. This morning, each of us logged into the appliance. The message on the login page said to add our email address to our user profile. So, being the ever obedient people that we are, we complied and we each entered our email address.

The appliance reset to the login page and prompted us to login again. Upon doing so, our passwords no longer worked. So, we had to hit the "Forgot Password" link to reset our passwords.

We will refrain from adding emails to the system until we know what might be causing this issue."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.