Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Build files missing? #16

Closed
kirjai opened this issue Sep 4, 2020 · 4 comments
Closed

Build files missing? #16

kirjai opened this issue Sep 4, 2020 · 4 comments
Labels

Comments

@kirjai
Copy link

kirjai commented Sep 4, 2020

Just tried installing this library, but unfortunately it seems that the build files are missing from the latest version?

After running yarn add stack-styled, what I get in node_modules is:

Screenshot 2020-09-04 at 14 46 59

This manifests itself in an error, when trying to build the project that imports stack-styled with the following error:

Module not found: Error: Can't resolve 'stack-styled'
@sapegin
Copy link
Owner

sapegin commented Sep 4, 2020

Hm, something is wrong with the configuration:

❯ npm run build

> stack-styled@3.0.0 build /Users/artim.sapegin/_/stack-styled
> npm run build:esm && npm run build:cjs && npm run build:emotion && npm run build:types


> stack-styled@3.0.0 build:esm /Users/artim.sapegin/_/stack-styled
> babel --delete-dir-on-start --ignore '**/*.spec.js' -d esm/ src/

Successfully compiled 0 files with Babel.

> stack-styled@3.0.0 build:cjs /Users/artim.sapegin/_/stack-styled
> babel --delete-dir-on-start --ignore '**/*.spec.js' --env-name cjs -d lib/ src/

Successfully compiled 0 files with Babel.

> stack-styled@3.0.0 build:emotion /Users/artim.sapegin/_/stack-styled
> babel --delete-dir-on-start --ignore '**/*.spec.js' --env-name emotion -d emotion/ src/

Successfully compiled 0 files with Babel.

> stack-styled@3.0.0 build:types /Users/artim.sapegin/_/stack-styled
> tsc --emitDeclarationOnly

@sapegin sapegin closed this as completed in aadb661 Sep 4, 2020
@sapegin
Copy link
Owner

sapegin commented Sep 4, 2020

🎉 This issue has been resolved in version 3.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sapegin
Copy link
Owner

sapegin commented Sep 4, 2020

Seems to work now:

image

@kirjai
Copy link
Author

kirjai commented Sep 4, 2020

sweet, thanks for a quick resolution!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants