GithubHelp home page GithubHelp logo

Comments (2)

runspired avatar runspired commented on July 28, 2024 1

I looked at the pnpm lockfile in power-select for the commit prior to you adding ember-inflector in as a dependency. The problem is that ember-inflector is installed by mirage, but then the addon deactivates itself in production. Deactivated addons won't have their dependent addons included in the build; however, they are still installed and so still visible to embroider/macros (cc @mansona @NullVoxPopuli and @ef4 who probably already know this nuance but just to surface an odd edge case with classic+macros)

I'd argue that the correct thing here is for power-select to do exactly as it did and put ember-inflector in its dev-deps.

You can see mirage is what brings the library here: https://github.com/cibernox/ember-power-select/blob/734c21825204f45dc7f7aca776d3e4abfcffaba3/pnpm-lock.yaml#L7452

from data.

runspired avatar runspired commented on July 28, 2024

you'll want to run pnpm why -r ember-inflector to figure out why it was available even when not ostensibly installed. It's likely another dependency is bringing it in a way that makes it visible to node resolution but not included in the app assets

from data.

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.