Closed informatter closed 12 months ago
I am not a Vue user, but it seems to be a frontend JS framework. ogr2ogr
has to run on the server side to work.
you need to create an api endpoint that has access to your server's filesystem.
Ok cool makes sense!
Hi everyone,
I am trying to install the
ogr2ogr
in a Vue 2.7.14. Initially it "successfully" installed after runningnpm install ogr2ogr
After adding
import ogr2ogr from 'ogr2ogr'
to a vue component to test the installation, my app fails to build due to the below polyfill errors:To mitigate the issue, I added the following to
webpack.config.js
to ignore the polyfills for the aboveAfter rebuilding the app, polyfill errors are gone as expected, but now I am seeing the following errors:
But I am not sure why the
fs
is not being found?