artwithaliens / storefront

⚡ React Storefront for Art With Aliens, built with Next.js
https://artwithaliens.com
MIT License
54 stars 14 forks source link

Problen with schema #8

Open mycoinber opened 3 years ago

mycoinber commented 3 years ago

I'm trying to run dev, but get this problem. Everything ok with category, but products notfound

(base) Vitiss-MacBook-Pro:storefront vitisindustriesltd$ npm run dev

artwithaliens@1.0.0 dev concurrently "next dev" "yarn generate --watch"

yarn run v1.22.10 warning ../../package.json: No license field $ graphql-codegen --watch [0] ready - started server on 0.0.0.0:3000, url: http://localhost:3000 [0] info - Loaded env from /Users/vitisindustriesltd/Desktop/Lala/alien_woo/storefront/.env [1] [09:58:38] Parse configuration [started] [1] [09:58:38] Parse configuration [completed] [1] [09:58:38] Generate outputs [started] [1] [09:58:38] Generate ./src/graphql.ts [started] [1] [09:58:38] Generate ./src/fragment-types.ts [started] [1] [09:58:38] Load GraphQL schemas [started] [1] [09:58:38] Load GraphQL schemas [started] [0] info - Using webpack 5. Reason: future.webpack5 option enabled https://nextjs.org/docs/messages/webpack5 [0] (node:1654) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was renamed to EntryPlugin [0] (Use node --trace-deprecation ... to show where the warning was created) [0] Defining routes from exportPathMap [1] [09:58:52] Load GraphQL schemas [completed] [1] [09:58:52] Load GraphQL documents [started] [1] [09:58:53] Load GraphQL schemas [completed] [1] [09:58:53] Load GraphQL documents [started] [1] [09:58:53] Load GraphQL documents [completed] [1] [09:58:53] Generate [started] [1] [09:58:53] Generate [failed] [1] [09:58:53] → Name "" must not begin with "", which is reserved by GraphQL introspection. [1] [1] Name "____" must not begin with "", which is reserved by GraphQL introspection. [1] [09:58:53] Generate ./src/fragment-types.ts [failed] [1] [09:58:53] → Name "_" must not begin with "_", which is reserved by GraphQL introspection. [1] [1] Name "____" must not begin with "", which is reserved by GraphQL introspection. [1] [09:58:53] Load GraphQL documents [completed] [1] [09:58:53] Generate [started] [1] [09:58:53] Generate [failed] [1] [09:58:53] → Name "_" must not begin with "_", which is reserved by GraphQL introspection. [1] [1] Name "____" must not begin with "", which is reserved by GraphQL introspection. [1] [09:58:53] Generate ./src/graphql.ts [failed] [1] [09:58:53] → Name "_" must not begin with "_", which is reserved by GraphQL introspection. [1] [1] Name "____" must not begin with "__", which is reserved by GraphQL introspection. [1] [09:58:53] Generate outputs [failed] [1] ℹ Watching for changes... [0] info - Using external babel configuration from /Users/vitisindustriesltd/Desktop/Lala/alien_woo/storefront/.babelrc [0] (node:1654) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated. [0] BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation. [0] Do changes to assets earlier, e. g. in Compilation.hooks.processAssets. [0] Make sure to select an appropriate stage from Compilation.PROCESS_ASSETSSTAGE*. [0] event - compiled successfully [0] event - build page: /404 [0] wait - compiling... [0] event - build page: /404 [0] event - build page: / [0] event - compiled successfully

efoken commented 3 years ago

Can you share some more info, like which WPGraphQL version and other WP plugins you use?