I created my first app with Gemini. Successfully saved it to GitHub and connected to Vercel account. When I try to deploy it, I get an error:
npm error code ETARGET
npm error notarget No matching version found for @google/genai@^0.1.1.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn’t exist.
npm error A complete log of this run can be found in: /vercel/.npm/_logs/2025-12-17T03_22_24_538Z-debug-0.log
Error: Command “npm install” exited with 1
Vercel support bot says I should change the @google/genai. to “@google/generative-ai”: “^0.21.0”
Gemini bot says Note: I am intentionally keeping the package name as @google/genai (not @google/generative-ai) because your code uses the new Gemini 2.0 / Flash 2.5 APIs (GoogleGenAI class), which are only available in the newer @google/genai SDK. Switching to the old package would break your geminiService.ts.
So I’m getting conflicting advice and have no idea how to proceed. Yea, I’m a complete noob and need some simple, honest support on how to fix this.
https://seo-keyword-ranker-pro-git-main-roger-schnurs-projects.vercel.app/