Giter VIP home page Giter VIP logo

Comments (12)

GarthDB avatar GarthDB commented on June 6, 2024 11

I'm working to release a fix. I'll close this issue when I get it out.

from leonardo.

duanwilliam avatar duanwilliam commented on June 6, 2024 3

extensions being changed to .mjs was done in #166 (between 1.0.0-alpha.13 and 1.0.0-alpha.14), and extensions were reverted back among the changes from #207, but version 1.0.0-alpha.18 has not been published to npm, and either way those changes aren't in the changelog for 1.0.0-alpha.18.
once a new working version is published to the registry i'd probably recommend deprecating1 versions 1.0.0-alpha.14 to 1.0.0-alpha.17 because those are all broken.

Footnotes

  1. https://docs.npmjs.com/cli/v10/commands/npm-deprecate

from leonardo.

GarthDB avatar GarthDB commented on June 6, 2024 1

I think I found the problem. The files are getting named with the .mjs extension instead of .js, which is messing everything up, and the dist director seemed to go missing around alpha.15. I'll look to see if I can republish it with the correct extension. https://unpkg.com/browse/@adobe/[email protected]/

from leonardo.

jLynx avatar jLynx commented on June 6, 2024 1

As a temporary fix, you can use this command to install it via NPM. It works fine in TS now with this command.

npm install "https://gitpkg.now.sh/adobe/leonardo/packages/contrast-colors?main"

This just create an NPM package from the main branch in the correct subfolder (Using the site https://gitpkg.vercel.app/)

from leonardo.

GarthDB avatar GarthDB commented on June 6, 2024

@NateBaldwinDesign did you add the package to your project? The first step in that documentation you mentioned says to install the package with npm i @adobe/leonardo-contrast-colors. If you're using yarn the command is yarn add @adobe/leonardo-contrast-colors. Verify that the package is listed in your dependencies in your package.json file.

from leonardo.

NateBaldwinDesign avatar NateBaldwinDesign commented on June 6, 2024

Yes, I have it installed as documented. I am going to try a few other things to see if I can replicate the problem on a different computer to verify that it's not just some system issue.

I have confirmed that it is not working properly on a new project as well as previous projects that have worked in the past.

from leonardo.

C3PablO avatar C3PablO commented on June 6, 2024

Hi, any progress on this? For me, the latest version that works is @adobe/[email protected]

from leonardo.

ZRogerson avatar ZRogerson commented on June 6, 2024

Hello, any progress on this?

from leonardo.

Tyler-V avatar Tyler-V commented on June 6, 2024

Bump :) same issue workaround is good but this is not a good sign for this library I stumbled upon

from leonardo.

jonathanwillisdesign avatar jonathanwillisdesign commented on June 6, 2024

Any progress?

from leonardo.

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.