简体   繁体   中英

opening project in web browser in expo, error in node-fetch

When I run expo start and write down w it displays this error message. error in console

and if I try to open in the web it displays an error saying to see the logs, but no logs appear. Error in web

I want to know if there is any solution, because I've already searched and tried many things but none of them seems to be working.

I'm not fully sure what the issue is. However, I recommend this cause of action:

  1. Ensure npm is up to date. (npm -v)
  2. Ensure nodejs is up to date. (Check version node -v)
  3. Inside your expo project directory install node modules (npm install)
    1. Maybe also try expo install
  4. expo start

If that doesn't work, then start a new expo project ensure it works and then start moving code from your old project into the new one. Move small chunks of code at a time until you find what caused the error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM