konstaui / konsta

Mobile UI components made with Tailwind CSS
https://konstaui.com
MIT License
3.3k stars 119 forks source link

3.0.0 publication on NPM issue #165

Closed thehackermonkey closed 8 months ago

thehackermonkey commented 8 months ago

Check that this is really a bug

Reproduction link

https://www.npmjs.com/package/konsta?activeTab=code

Bug description

For some reason latest published version of Konsta has an extra config folder that breaks the functionality of the package. I downloaded and build the code locally and there is no extra config folder so I think this is an issue with the npm publishing process.

Expected Behavior

The published package should not have this extra folder: /konsta/config/config / It should be: /konsta/config/

Actual Behavior

There is an extra config folder /konsta/config/config /

Konsta UI version

3.0.0

Platform/Target and Browser Versions

macOS

Validations

Would you like to open a PR for this bug?

oyedejioyewole commented 8 months ago

I also have the same issue, running Manjaro with Node 20.5.1

Edit - I manually had to change the require() references to this weird structure

Jayke770 commented 8 months ago

Use this for the mean time.. I also encounter this error using react

$ npm install $ cd node_modules/konsta $ cp config/config/* config/.

thehackermonkey commented 8 months ago

Use this for the mean time.. I also encounter this error using react

$ npm install $ cd node_modules/konsta $ cp config/config/* config/.

yeah, did the hack to work for the moment. But this will affect anyone installing from npm. Hope they check the issue soon.

r-nl commented 8 months ago

This explains a lot. Suppose for now best to just pin Konsta at a stable version?

nolimits4web commented 8 months ago

fixed in 3.0.1