-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Some examples don't work #25854
Comments
Good work, thanks! |
As mentioned in #25854 `witn-next-sitemap` example is missing `typescript` package as a dependency - [x] Make sure the linting passes
Could you please convert this list to checkboxes? It would be much better to understand fixed cases 🙏 |
Yep totally, good point. |
Fixes one of the items that was mentioned in #25854. It fixes the warning in `with-next-page-transitions` by moving the viewport tag to `_app.js` from `_document.js`
Fixes one of the items that was mentioned in #25854. It fixes warning from React in `with-react-multi-carousel`.
@vitalybaev I can verify that the
|
|
@akellbl4 Thanks for the update! Let me test those examples again and update the checklist accordingly. |
@d3lm good! Let me know if anything causes errors I'm ready to fix it ;) |
@akellbl4 I commented on your PRs with updates and can verify that the i18n example works now 👍 Good job! |
ssr-caching example does not work, even with current latest package versions. server.js
|
@d3lm here are live examples of fixed items that were merged: Could you please mark them as resolved? |
@akellbl4 Updated the list accordingly. Good job man! |
## Documentation / Examples - [x] Make sure the linting passes As mentioned in #25854 `with-urql` doesn't work. After investigation, I've found that Pokémon GraphQL server located at `https://graphql-pokemon.vercel.app` is down. After some research I came across its repository and this [pull request](lucasbento/graphql-pokemon#14). That pull request provides new URL `https://graphql-pokemon2.vercel.app` which seems to work. I don't know the status of this server, maybe @leerob can confirm this PR is ok.
@vitalybaev Awesome! Just checked it and it works. Great work 🙌 🙏 |
## Documentation / Examples - [x] Make sure the linting passes As mentioned in vercel#25854 `with-urql` doesn't work. After investigation, I've found that Pokémon GraphQL server located at `https://graphql-pokemon.vercel.app` is down. After some research I came across its repository and this [pull request](lucasbento/graphql-pokemon#14). That pull request provides new URL `https://graphql-pokemon2.vercel.app` which seems to work. I don't know the status of this server, maybe @leerob can confirm this PR is ok.
Fixes one of the items from #25854 ## Documentation / Examples - [x] Make sure the linting passes - [x] Add the StackBlitz button
Ops, that's was my bad. Fixed in #26091 |
As mentioned in vercel#25854 `witn-next-sitemap` example is missing `typescript` package as a dependency - [x] Make sure the linting passes
Fixes one of the items that was mentioned in vercel#25854. It fixes the warning in `with-next-page-transitions` by moving the viewport tag to `_app.js` from `_document.js`
Fixes one of the items that was mentioned in vercel#25854. It fixes warning from React in `with-react-multi-carousel`.
## Documentation / Examples - [x] Make sure the linting passes As mentioned in vercel#25854 `with-urql` doesn't work. After investigation, I've found that Pokémon GraphQL server located at `https://graphql-pokemon.vercel.app` is down. After some research I came across its repository and this [pull request](lucasbento/graphql-pokemon#14). That pull request provides new URL `https://graphql-pokemon2.vercel.app` which seems to work. I don't know the status of this server, maybe @leerob can confirm this PR is ok.
## Documentation / Examples - [x] Make sure the linting passes Continuing fixing vercel#25854 Switching from `node-sass` to `sass`
### Documentation / Examples Fixed one of the items from vercel#25854 - [x] add `@graphql-codegen/import-types-preset` - [x] remove depriceated field `schemaEntrypoint` - [x] add the StackBlitz button - [x] Make sure the linting passes [Live demo on StackBlitz](https://stackblitz.com/github/akellbl4/next.js/tree/example/with-typescript-graphql/fix-deps/examples/with-typescript-graphql)
Fixes some examples from vercel#25854 - with-kea [live demo](https://stackblitz.com/github/akellbl4/next.js/tree/examples/missed-peer-deps/examples/with-kea) - with-mobx [live demo](https://stackblitz.com/github/akellbl4/next.js/tree/examples/missed-peer-deps/examples/with-mobx) - with-mobx-react-lite [live demo](https://stackblitz.com/github/akellbl4/next.js/tree/examples/missed-peer-deps/examples/with-mobx-react-lite) - with-mobx-state-tree [live demo](https://stackblitz.com/github/akellbl4/next.js/tree/examples/missed-peer-deps/examples/with-mobx-state-tree) ## Documentation / Examples - [x] Add the StackBlitz button - [x] Make sure the linting passes
Fixes one of the items from vercel#25854 ## Documentation / Examples - [x] Make sure the linting passes - [x] Add the StackBlitz button
Fixes one of the items from #25854 ## Documentation / Examples - [x] Make sure the linting passes - [x] Add the StackBlitz button - [x] [Live demo](https://stackblitz.com/github/akellbl4/next.js/tree/examples/with-lingui-update/examples/with-lingui)
@akellbl4 @vitalybaev I just filed an issue for |
@d3lm thanks for reporting! It has been broken after releasing Next.js 11, that enabled webpack 5 by default. Let's wait my PR to merge 😴 |
Yay! Has been merged 🙌 Thanks @vitalybaev |
Fixes one of the items from vercel#25854 ## Documentation / Examples - [x] Make sure the linting passes - [x] Add the StackBlitz button - [x] [Live demo](https://stackblitz.com/github/akellbl4/next.js/tree/examples/with-lingui-update/examples/with-lingui)
## Documentation / Examples - [x] Make sure the linting passes Fixes vercel#26436 As mention in vercel#25854 `with-webassembly` example doesn't work anymore after switching to webpack 5. This PR adds webpack experimental configuration.
I just filed #26715 because the |
### Documentation / Examples Fixed one of the items from #25854 - Fixes warning from `next-intl` - Hides locale selector in case if no other location - Fixes path `next/router` import - Removes unused variable --- - [x] Add the StackBlitz button in README.md - [x] Make sure the linting passes [Live demo on StackBlitz](https://stackblitz.com/github/akellbl4/next.js/tree/fix/example-with-i18n-next-intl-missing-other/examples/with-i18n-next-intl)
### Documentation / Examples Fixed one of the items from vercel#25854 - Fixes warning from `next-intl` - Hides locale selector in case if no other location - Fixes path `next/router` import - Removes unused variable --- - [x] Add the StackBlitz button in README.md - [x] Make sure the linting passes [Live demo on StackBlitz](https://stackblitz.com/github/akellbl4/next.js/tree/fix/example-with-i18n-next-intl-missing-other/examples/with-i18n-next-intl)
Example In
Ideas how to fix it? |
Hi, we appreciate the efforts on this, but I believe such an issue like this should not exist. It's way too general and hardly actionable. I suggest opening example-specific issues instead. |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
…9996) ## Bug - Partially fixes #25854 - Badly specified package dependency version (`graphql-let`). The new major version required manual migration. As specified [here](https://github.com/piglovesyou/graphql-let/releases/tag/v0.18.0). - In `lib/resolvers.ts` ```Module '"*.graphqls"' has no exported member 'MutationResolvers'. Did you mean to use 'import MutationResolvers from "*.graphqls"' instead?ts(2614)``` ## Fixes - Migrate as described in migration guide for `graphql-let` above. - Update some npm packages along the way.
…rcel#29996) ## Bug - Partially fixes vercel#25854 - Badly specified package dependency version (`graphql-let`). The new major version required manual migration. As specified [here](https://github.com/piglovesyou/graphql-let/releases/tag/v0.18.0). - In `lib/resolvers.ts` ```Module '"*.graphqls"' has no exported member 'MutationResolvers'. Did you mean to use 'import MutationResolvers from "*.graphqls"' instead?ts(2614)``` ## Fixes - Migrate as described in migration guide for `graphql-let` above. - Update some npm packages along the way.
What example does this report relate to?
See list below
What version of Next.js are you using?
latest
What version of Node.js are you using?
14.x
What browser are you using?
Chrome
What operating system are you using?
MacOS
How are you deploying your application?
/
Describe the Bug
While testing all examples for this PR, I ran into a few examples that didn't work. Here's a list:
MISSING_OTHER_CLAUSE
yarn
or our internal package managerturbo
yarn
or our internal package managerturbo
→@babel/core
yarn
or our internal package managerturbo
→@babel/core
yarn
or our internal package managerturbo
→@babel/core
yarn
or our internal package managerturbo
→@babel/core
yarn
or our internal package managerturbo
→@babel/core
yarn
or our internal package managerturbo
→@babel/core
<Head>
. https://nextjs.org/docs/messages/no-document-viewport-metadevDependencies
→typescript
node-sass
which doesn't work on StackBlitz because it requires a binary and typically involves running aninstall
script which builds the package. Would be nice if we could switch tosass
instead, thetypescript
version of this example also uses sass.Warning: Each child in a list should have a unique "key" prop
Warning: componentWillMount has been renamed
matchUtilities
is not a functionwith-tailwindcss-emotion/.next/server/pages-manifest.json
https://graphql-pokemon.vercel.app/
, maybe we can add stackblitz.com to the allowed originsExpected Behavior
The examples are expected to work locally.
After an example has been fixed, please add a
Preview
section to theREADME.md
right aboveDeploy your own
.DIRECTORY_NAME
with the directory name you’re adding.To Reproduce
Follow the steps in the
README.md
.The text was updated successfully, but these errors were encountered: