Giter Site home page Giter Site logo

Comments (10)

NLueg avatar NLueg commented on September 18, 2024

Can you provide some more details? What Capacitor-Version are you using? What module did you set in your tsconfig?

from capacitor-firebase-dynamic-links.

alectoparty avatar alectoparty commented on September 18, 2024

Thanks @NLueg It is a server-side rendered next.js implementation of react.js. It is a javascript project, but i have not experienced issues importing .ts modules in the past. I believe all capacitor packages are .ts and work fine.

Capacitor version
"@capacitor/app": "^4.1.0",
"@capacitor/core": "^4.0.0",
"@capacitor/device": "^4.0.1",
"@capacitor/ios": "^4.0.0",

from capacitor-firebase-dynamic-links.

xurshid29 avatar xurshid29 commented on September 18, 2024

Same problem

"module": "esnext"

image

from capacitor-firebase-dynamic-links.

xurshid29 avatar xurshid29 commented on September 18, 2024

I think this package should also support CommonJS syntax, not just ESModule.

from capacitor-firebase-dynamic-links.

NLueg avatar NLueg commented on September 18, 2024

I think this package should also support CommonJS syntax, not just ESModule.

Sure, I would love to! Do you know how we can accomplish that?

from capacitor-firebase-dynamic-links.

xurshid29 avatar xurshid29 commented on September 18, 2024

Sure, I would love to! Do you know how we can accomplish that?

I think it's very well explained in this doc page: Dual CommonJS/ES module packages - https://nodejs.org/api/packages.html#dual-commonjses-module-packages

from capacitor-firebase-dynamic-links.

NLueg avatar NLueg commented on September 18, 2024

I just published version 4.1.0 which should solve the issue. Could you verify it?

from capacitor-firebase-dynamic-links.

alectoparty avatar alectoparty commented on September 18, 2024

It now lets me import it successfully into my project, but causes my capacitor builds to fail. Debug says "unable to open configuration settings file" and "missing module map file: [link to file here]"

I will also add that it sometimes fully builds and downloads but it fails to load app

from capacitor-firebase-dynamic-links.

NLueg avatar NLueg commented on September 18, 2024

Hmm, that's strange. The map.js is also part of the package when I install it. Could you provide me a minimum example in a repository, so that I can reproduce the issue?

from capacitor-firebase-dynamic-links.

NLueg avatar NLueg commented on September 18, 2024

I will close the issue for now as there is no further progress. I think it should work with the newest version. If this is not the case, feel free to reopen the issue!

from capacitor-firebase-dynamic-links.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.