ecommerce_sanity_stripe icon indicating copy to clipboard operation
ecommerce_sanity_stripe copied to clipboard

Problem in installing sanity

Open sankooru14 opened this issue 2 years ago • 4 comments

image I am getting error while using the command "npm install -g @sanity/cli"

sankooru14 avatar Dec 09 '22 06:12 sankooru14

you need to install the latest version i.e npm i @sanity/client

marvelous-007 avatar Jan 05 '23 16:01 marvelous-007

pls..i installed sanity but didn't get the same dependencies he used.. He had something like @sanity/client,@sanity/image-url,@stripe/stripe-js... but mine is different.... i need help.

Gstark10 avatar Apr 14 '23 03:04 Gstark10

just copie the package.json file and paste it in yours, then run npm install --force it will install all the packages you need

marvelous-007 avatar Apr 18 '23 08:04 marvelous-007

just copie the package.json file and paste it in yours, then run npm install --force it will install all the packages you need

Thanks!!!

codebylanre avatar Apr 10 '24 06:04 codebylanre