[英]Getting error while installing react-stripe-js in my react Project
Getting this error on trying to install npm install @stripe/react-stripe-js
.尝试安装
npm install @stripe/react-stripe-js
出现此错误。 Can anyone help ?任何人都可以帮忙吗?
C:\Users\Ayush\Desktop\ReactBootcamp\amazon-clone>npm install @stripe/react-stripe-js
npm ERR! Object for dependency "@babel/generator" is empty.
npm ERR! Something went wrong. Regenerate the package-lock.json with "npm install".
npm ERR! If using a shrinkwrap, regenerate with "npm shrinkwrap".
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Ayush\AppData\Roaming\npm-cache\_logs\2020-09-11T07_04_49_530Z-debug.log
try below steps尝试以下步骤
Delete node_modules folder
Delete package-lock.json file
run npm cache clean --force
npm install
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.