node-mapnik-sample-code
node-mapnik-sample-code copied to clipboard
Class constructor Pool cannot be invoked without 'new'
The tile/pool/App.js starts and runs fine. But getting error Class constructor Pool cannot be invoked without 'new' when viewing http://localhost:8000/?z=1&x=0&y=1 and just a blank screen when viewing the index.html
macOS Big Sur on Google Chrome, Node version 15.2.1
Given how old this is, I installed an older version generic-pool, and it seemed to work
npm i generic-pool@2