Skip to content

Nuxt compatibility  #94

@TheNoim

Description

@TheNoim

This module doesn't seem to be compatible with Nuxt, because of map-promisified.

screen shot 2019-02-22 at 18 18 14

This is where the error happens:
screen shot 2019-02-22 at 18 21 00
(https://raw.githubusercontent.com/soal/map-promisified/master/dist/mapPromisify.js)

If I try to patch temporarily it and refactor the dist version to a normal module without window, then the error moves to this line:
screen shot 2019-02-22 at 18 23 30

Which is this line: https://github.com/soal/map-promisified/blob/master/src/promisifyMethod.ts#L27

I am not sure if this is a incorrect use of map-promisified by vue-mapbox or a bug in map-promisified.

nuxt: v2.4.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions