Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Bug]: StoryBook + NextJS based NPM is not working #28343

Open
KMadhanSPM opened this issue Jun 25, 2024 · 0 comments
Open

[Bug]: StoryBook + NextJS based NPM is not working #28343

KMadhanSPM opened this issue Jun 25, 2024 · 0 comments

Comments

@KMadhanSPM
Copy link

Describe the bug

After making an build, NextJS is building an .next folder. While importing an NPM package using my organization based package which is looking for an dist folder. In this case, StoryBook + NextJS based NPM is not working. I am not able to find any solution for this. Attaching an NPM Package link.

Reproduction link

https://www.npmjs.com/package/@uber9/zolvit-micro-next-common-lib

Reproduction steps

No response

System

npm run build
npm publish

In my repo,
npm i and just importing the component it is not able to find the module.

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant