Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRODUCTION ERROR #100

Closed
infokartasplit opened this issue Apr 24, 2023 · 2 comments
Closed

PRODUCTION ERROR #100

infokartasplit opened this issue Apr 24, 2023 · 2 comments
Labels

Comments

@infokartasplit
Copy link

on dev server everything works fine but on production i get this error:
`
Error: spawn ogr2ogr ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
at onErrorNT (internal/child_process.js:467:16)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn ogr2ogr',
path: 'ogr2ogr',
spawnargs: [
'-f',
'dxf',
'-skipfailures',
'/tmp/ogr_1682326233801.dxf',
'/vsistdin/'
],
cmd: 'ogr2ogr -f dxf -skipfailures /tmp/ogr_1682326233801.dxf /vsistdin/'
}

`

ogr2ogr --version GDAL 3.3.2, released 2021/09/01

@wavded
Copy link
Owner

wavded commented Apr 26, 2023

This error happens when Node cannot find ogr2ogr command on your system (gdal package). If it is installed, make sure its available in the PATH so Node can find it.

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label May 27, 2023
@wavded wavded closed this as completed May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants