Giter Site home page Giter Site logo

Comments (8)

isaackehle avatar isaackehle commented on May 24, 2024 1

Hopefully fixed in #257. The demo was also not working locally, and now is.

from popover.

poirierlouis avatar poirierlouis commented on May 24, 2024 1

I confirm it works like a charm on my end. Thank you 👍

from popover.

isaackehle avatar isaackehle commented on May 24, 2024

Have you tried inspecting the configuration in the tests for this repo to make sure it's being imported correctly?
Is this a new install for you or after upgrade?

from popover.

poirierlouis avatar poirierlouis commented on May 24, 2024

Hi,

I'm having the same issue on my side, after upgrading dependencies.
Here error logs :

Error: export 'SatPopoverModule' (imported as 'SatPopoverModule') was not found in '@ncstate/sat-popover' (module has no exports)
Error: export 'SatPopover' (imported as 'i1') was not found in '@ncstate/sat-popover' (module has no exports)
Error: export 'SatPopoverAnchor' (imported as 'i3') was not found in '@ncstate/sat-popover' (module has no exports)
Error: export 'SatPopoverAnchor' (imported as 'i16') was not found in '@ncstate/sat-popover' (module has no exports)

I removed node_modules and package-lock.json and ran a clean install... Trying again, same errors.
Could it be related to : #252 and #251 ?

from popover.

informatika-medved avatar informatika-medved commented on May 24, 2024

@isaackehle it doesnt work on a fresh install, fresh angular 13 project, first installation of sat-popover, version 9 , its accidental that i have installed it hours after release on new version, just found out about the package recently

from popover.

poirierlouis avatar poirierlouis commented on May 24, 2024

@isaackehle I changed "module" option to CommonJS in tsconfig.json, bundling now works without errors. However when running application following error shows up:

Uncaught ReferenceError: exports is not defined
86637 ncstate-sat-popover.mjs:5

Here is my tsconfig.json if needed:

{
  "compileOnSave": false,
  "compilerOptions": {
    "baseUrl": "./",
    "downlevelIteration": true,
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "module": "CommonJS",
    "moduleResolution": "node",
    "esModuleInterop": true,
    "experimentalDecorators": true,
    "allowSyntheticDefaultImports": true,
    "importHelpers": true,
    "target": "es5",
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2017",
      "dom"
    ]
  }
}

from popover.

informatika-medved avatar informatika-medved commented on May 24, 2024

Any updates? All the effort of supporting Angular 13 is worthless as its not working and probably is a minor issue.

from popover.

isaackehle avatar isaackehle commented on May 24, 2024

Please confirm @informatika-medved

from popover.

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.