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

[nominatim-js] Missing dependency cross-fetch #185

Open
Delivator opened this issue Sep 28, 2020 · 6 comments
Open

[nominatim-js] Missing dependency cross-fetch #185

Delivator opened this issue Sep 28, 2020 · 6 comments
Assignees

Comments

@Delivator
Copy link

After installing with npm install --save @owsas/nominatim-js and importing with const { NominatimJS } = require('@owsas/nominatim-js'); it throws an error on build:

ERROR  Failed to compile with 1 errors
This dependency was not found:

* cross-fetch in ./node_modules/@owsas/nominatim-js/dist/nominatim-js.js

To install it, you can run: npm install --save cross-fetch```
@github-actions
Copy link

This is your first issue on our repo :) Thank you!

@jcguarinpenaranda jcguarinpenaranda self-assigned this Oct 31, 2020
@ms-clovis
Copy link

Is this issue going to be fixed?

@jcguarinpenaranda
Copy link
Collaborator

Hello @Delivator @ms-clovis, could you please try as suggested in the error log reported?

To install it, you can run: npm install --save cross-fetch

@ms-clovis
Copy link

Sorry to be pushy, but I thought you were going to get to the issues and commit to the NPM repo.. Are you going to be able to do that?

@jcguarinpenaranda
Copy link
Collaborator

jcguarinpenaranda commented May 23, 2024 via email

@ms-clovis
Copy link

Your test repository works fine.... Using NPM list in my Vue project the versions of Nominatim-js and cross-fetch are the same. I am unsure where to go now.

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

3 participants