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

Install problem in ionic 4 app #23

Open
Arpapiemonte opened this issue Dec 23, 2019 · 1 comment
Open

Install problem in ionic 4 app #23

Arpapiemonte opened this issue Dec 23, 2019 · 1 comment

Comments

@Arpapiemonte
Copy link

Hi,
I'm trying to install netcdf4 in a ionic app giving:
npm install netcdf4 --save

When I compile, I get this error:
ERROR in ./node_modules/netcdf4/build/Release/netcdf4.node 1:0 Module parse failed: Unexpected character '' (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
What can I do?
Thanks!

@parro-it
Copy link
Owner

Hi, this module is a native-addon, so you cannot use it in a browser app.
You can, however, use this one in the backend (if you're using node) and then
retrieve somehow the data from it.

Otherwise, you can try one of the modules on NPM that works in the browser: https://www.npmjs.com/search?q=netcdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant