-
Notifications
You must be signed in to change notification settings - Fork 46
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
Module not found: Error: Can't resolve 'fs' - installation #104
Comments
I am not a Vue user, but it seems to be a frontend JS framework. |
you need to create an api endpoint that has access to your server's filesystem. |
Ok cool makes sense! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?The text was updated successfully, but these errors were encountered: