-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
Creating with-tailwindcss example instead creates with-tailwind-emotion #40389
Comments
Thanks for reporting. I was unable to reproduce this on Linux. Might be related to Windows. 🤔 |
@SukkaW can you check your |
@balazsorban44 Sure. Full example log, as you can see, no And the |
@almeidaalajoel if this is happening to you consistently, could you try to pinpoint which version of Please run |
For some reason, I can't specify version number with yarn - But npx worked, and yes, 12.2.0 is the correct with-tailwindcss repo. So it seems the issue started at 12.3. Can confirm that canary still has the issue as well. Sorry, accidentally closed this. |
I've realized I was slightly mistaken - the repo is not pulled from with-tailwindcss-emotion. It seems largely based on the emotion example but it's slightly different. I'm not exactly sure where it's coming from. It is very similar to the with-tailwindcss-emotion repo. The components folder is the same, and it has the same .babelrc specifying emotion, but there is no emotion in the package.json. Not sure if there's a way I can figure out where exactly it's pulling from? Edit: The readme calls itself the with-tailwindcss example, but it's clearly not the current with-tailwindcss example. |
I've checked the examples for Later digging on the
It seems that since both examples folder name |
As pointed out in #40389 (comment), the `filter` matched more files than necessary and merged different example directories together. This change makes the filter match the example directory name precisely. Fixes #40389 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
Operating System:
Platform: win32
Arch: x64
Version: Windows 10 Home
Binaries:
Node: 16.17.0
npm: N/A
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.3.0
eslint-config-next: N/A
react: 18.1.0
react-dom: 18.1.0
Which example does this report relate to?
with-tailwindcss
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
When calling
yarn create next-app --example with-tailwindcss test
or
npx create-next-app --example with-tailwindcss test
the project created is pulled from with-tailwindcss-emotion, rather than with-tailwindcss.
Expected Behavior
A project is created from with-tailwindcss example.
To Reproduce
Call
yarn create next-app --example with-tailwindcss test
or
npx create-next-app --example with-tailwindcss test
.The text was updated successfully, but these errors were encountered: