[英]Unable to find expo in this project - have you run yarn / npm install yet? and not able to run npm start
I am facing the above error and I am unable to run npm start after using npm audit fix --我遇到上述错误,在使用 npm 审核修复程序后无法运行 npm start --
force.Please resolve the issue强制。请解决问题
Windows PowerShell Windows PowerShell
Copyright (C) Microsoft Corporation.版权所有 (C) Microsoft Corporation。 All rights reserved.
版权所有。
Install the latest PowerShell for new features and improvements!安装最新的 PowerShell 以获得新功能和改进! https://aka.ms/PSWindows
https://aka.ms/PSWindows
PS C:\Users\nahee\OneDrive\Desktop> cd MERN_PROJECT PS C:\Users\nahee\OneDrive\Desktop> cd MERN_PROJECT
PS C:\Users\nahee\OneDrive\Desktop\MERN_PROJECT> cd animal-feedmart PS C:\Users\nahee\OneDrive\Desktop\MERN_PROJECT> cd animal-feedmart
PS C:\Users\nahee\OneDrive\Desktop\MERN_PROJECT\animal-feedmart> npm PS C:\Users\nahee\OneDrive\Desktop\MERN_PROJECT\animal-feedmart> npm
start开始
animal-feedmart@1.0.0 start
animal-feedmart@1.0.0 开始
expo start
expo开始
Starting project at开始项目于
C:\Users\nahee\OneDrive\Desktop\MERN_PROJECT\animal-feedmart C:\Users\nahee\OneDrive\Desktop\MERN_PROJECT\animal-feedmart
Unable to find expo in this project - have you run yarn / npm install在这个项目中找不到 expo - 你运行 yarn / npm install
yet?然而?
PS C:\Users\nahee\OneDrive\Desktop\MERN_PROJECT\animal-feedmart> PS C:\Users\nahee\OneDrive\Desktop\MERN_PROJECT\animal-feedmart>
I am unable to share the picture so i am showing my terminal how it我无法分享图片,所以我正在向我的终端展示它是如何分享的
looks when I use npm start command当我使用 npm 启动命令时看起来
First, you need to npm init
then npm install expo
then npm start
if am not wrong.首先,你需要
npm init
然后npm install expo
然后npm start
如果没有错。 Please provide more info by screenshot or something.请通过屏幕截图或其他方式提供更多信息。
Or remove package-lock.json
and node_modules
and do the above commands或者删除
package-lock.json
和node_modules
并执行上述命令
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.