Skip to content

Is packageManager removed now from version 0.76.4 onwards? #311

@jerinjohnk

Description

@jerinjohnk

Environment

info Fetching system and libraries information...
(node:8794) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
System:
  OS: macOS 15.2
  CPU: (8) arm64 Apple M2
  Memory: 304.39 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.13.0
    path: ~/.nvm/versions/node/v22.13.0/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.nvm/versions/node/v22.13.0/bin/yarn
  npm:
    version: 11.0.0
    path: ~/.nvm/versions/node/v22.13.0/bin/npm
  Watchman:
    version: 2024.12.02.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /Users/jerin/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.2
      - iOS 18.2
      - macOS 15.2
      - tvOS 18.2
      - visionOS 2.2
      - watchOS 11.2
  Android SDK:
    API Levels:
      - "33"
      - "34"
      - "35"
    Build Tools:
      - 33.0.1
      - 34.0.0
      - 35.0.0
    System Images:
      - android-35 | Google Play ARM 64 v8a
      - android-35 | Google Play Intel x86_64 Atom
    Android NDK: 26.1.10909125
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12700392
  Xcode:
    version: 16.2/16C5032a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.11
    path: /usr/bin/javac
  Ruby:
    version: 3.3.5
    path: /Users/jerin/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.5
    wanted: 0.76.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false

Things I’ve done to figure out my issue

Upgrading version

0.76.4

Description

Till version 0.76.4 we had "packageManager": "[email protected]" mentioned in package.json.
But this has been deleted when upgrading to 0.76.4 and later versions.
Should we use the default Yarn Classic (1.x) from 0.76.4?
Are we supposed to run corepack disable now and then use yarn?

Reproducible demo

https://react-native-community.github.io/upgrade-helper/?from=0.76.3&to=0.76.5
Here, both "packageManager": "[email protected]" and .yarnrc.yml files are deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions