graphql-server icon indicating copy to clipboard operation
graphql-server copied to clipboard

Error while svelte-add graphql

Open koakh opened this issue 4 years ago • 1 comments

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

koakh avatar Jul 07 '21 23:07 koakh

I used npx svelte-add@latest graphql-server

drobati avatar Oct 24 '21 16:10 drobati