Skip to content

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

Open

Description

@Delivator

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```

Activity

  1. github-actions commented on Sep 28, 2020

    @github-actions

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

  2. ms-clovis commented on May 14, 2024

    @ms-clovis

    Is this issue going to be fixed?

  3. jcguarinpenaranda commented on May 16, 2024

    @jcguarinpenaranda
    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

  4. ms-clovis commented on May 23, 2024

    @ms-clovis

    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?

  5. jcguarinpenaranda commented on May 23, 2024

    @jcguarinpenaranda
    Collaborator
  6. ms-clovis commented on May 25, 2024

    @ms-clovis

    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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions