svelte-add / graphql-server

⚠️ MOVED: https://github.com/svelte-add/svelte-add/ ⚠️ (out of date) A command to add a GraphQL server to your Svelte project
MIT License
31 stars 1 forks source link

Error while svelte-add graphql #11

Open koakh opened 3 years ago

koakh commented 3 years ago

Hello I'm tryong to add graphql to a fresh start sveltekit project but I have a issue when add graphql

$ npm init svelte@next sveltekit-typescript-app-graphql

? Which Svelte app template? › - Use arrow-keys. Return to submit.
    SvelteKit demo app
❯   Skeleton project

✔ Which Svelte app template? › Skeleton project
✔ Use TypeScript? … Yes
✔ Add ESLint for code linting? … Yes
? Add Prettier for code formatting? › Yes

$ cd sveltekit-typescript-app-graphql
$ npm install
$ git init && git add -A && git commit -m "Initial commit"
$ npm run dev -- --open

$ npx svelte-add graphql
npx: installed 61 in 3.394s
➕ Svelte Add (Version 2021.06.30.01)
The project directory you're giving to this command cannot be determined to be guaranteed fresh — maybe it is, maybe it isn't. If any issues arise after running this command, please try again, making sure you've run it on a freshly initialized SvelteKit or Vite–Svelte app template.

thanks

drobati commented 2 years ago

I used npx svelte-add@latest graphql-server