skip to Main Content

`Running "yarn install" in /home/expo/workingdir/build directory

yarn install v1.22.19

[1/4] Resolving packages…

[stderr] warning Lockfile has incorrect entry for "@expo/webpack-config@^49.0.0". Ignoring it.

[stderr] error Couldn’t find any versions for "@expo/webpack-config" that matches "^49.0.0"

info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

yarn exited with non-zero code: 1`

Problem on react native expo build.

2

Answers


  1. Chosen as BEST ANSWER

    Running "yarn install" in /home/expo/workingdir/build directory

    yarn install v1.22.17

    [stderr] warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.

    [1/4] Resolving packages...

    [stderr] warning Lockfile has incorrect entry for "@expo/webpack-config@^49.0.0". Ignoring it.

    [stderr] error Couldn't find any versions for "@expo/webpack-config" that matches "^49.0.0"

    info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

    yarn exited with non-zero code: 1


  2. From npmjs:

    The latest version for this package is 18.1.1. You are using 49.0.0.
    Update the version and it should work.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search