node-gdal icon indicating copy to clipboard operation
node-gdal copied to clipboard

Problem with Node 17

Open pcnandes opened this issue 2 years ago • 0 comments

When I update my project to Node 17 I receive this error:

Error: Cannot find module '/.../carga_deter_node/node_modules/gdal-next/lib/binding/node-v102-linux-x64/gdal.node' Require stack:

  • /.../node_modules/gdal-next/lib/gdal.js
  • /.../dist/shape-to-pg-dump.js
  • /.../dist/main.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:999:19) at require (node:internal/modules/cjs/helpers:102:18) at Object. (/.../node_modules/gdal-next/lib/gdal.js:22:31)

pcnandes avatar Jun 14 '22 13:06 pcnandes