Comments (5)
Hi @pnorman, I have attempted to reproduce this issue, I started from a fresh nodejs docker container and it all worked fine.
Here are the commands I ran.
docker run -it node:18 /bin/bash
mkdir test-folder
cd test-folder
npm init --yes
npm install @basemaps/sprites
node_modules/.bin/basemaps-sprites --help
Could you provide more information about your nodejs versions and system setup?
from basemaps.
pnorman@took:~/sprites_test$ npm --version
7.5.2
pnorman@took:~/sprites_test$ nodejs --version
v12.22.12
This is on a clean Debian stable release
from basemaps.
Node v12 reached end of life in April 2022 https://github.com/nodejs/release#release-schedule
Node v14 will each end of life at the end of April 2023,
The current LTS is v18,
We only test back to node v16, However as far as I can v14 works as expected.
I see the docs mention > v12, I will update that.
from basemaps.
engines
should also be set in package.json if there are minimum versions - Debian and Ubuntu LTS both have Node 12 in their latest release, so it's fairly common.
from basemaps.
engines
should also be set in package.json if there are minimum versions
It is currently set as the default for what is needed for ESM.
I have made #2749 which will allow node12 to work with sprites.
But then I have also made a PR to say that we only support node>16 with the engines #2748
But considering that it was EOL'd a year ago, I would highly recommend using something like fnm
or n
to install a current LTS.
from basemaps.
Related Issues (14)
- Create ReadMe for repository HOT 2
- Header & footer styling issues on Safari HOT 6
- Deliver tiles via XYZ Service
- Imagery Layering HOT 1
- Add Bathy COGs HOT 6
- linz/basemaps lint error on docker build HOT 3
- Correct Imagery errors HOT 3
- docs: how to reproduce a tile build? HOT 2
- Add to geopandas.xyz-services
- Contours at lower zoom levels HOT 4
- Allow application developers to directly download the output tilesets to facilitate easier self-hosting HOT 3
- Missing parks in topo data/styling HOT 3
- Deployment pipeline sometimes fails to deploy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basemaps.