Skip to content

create-react-native-library JS Library not working on docker after being created on windows #917

Description

@vinils

Description

after create-react-native-library on windows and yarn install.
dockerfile below is not working:

FROM node:24-alpine
WORKDIR /app
COPY package.json yarn.lock ./
RUN  corepack enable
RUN  yarn set version 4.11.0
RUN yarn install --immutable
Image

Packages

  • create-react-native-library
  • react-native-builder-bob

Selected options

Image

Link to repro

n/a

Environment

info Fetching system and libraries information...
System:
OS: Windows 11 10.0.26200
CPU: (8) x64 Intel(R) Core(TM) Ultra 7 256V
Memory: 1.91 GB / 15.60 GB
Binaries:
Node:
version: 24.11.1
path: C:\nvm4w\nodejs\node.EXE
Yarn:
version: 4.11.0
path: C:\Users\myuser\AppData\Roaming\npm\yarn.CMD
npm:
version: 11.6.2
path: C:\nvm4w\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
IDEs:
Android Studio: AI-252.25557.131.2521.14432022
Visual Studio: Not Found
Languages:
Java:
version: 17.0.17
path: C:\Program Files\Microsoft\jdk-17.0.17.10-hotspot\bin\javac.EXE
Ruby: Not Found
npmPackages:
"@react-native-community/cli":
installed: 20.0.2
wanted: ^20.0.2
react: Not Found
react-native:
installed: 0.82.1
wanted: ^0.82.1
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found

info React Native v0.83.0 is now available (your project is running on v0.82.1).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.83.0
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.82.1&to=0.83.0
info For more info, check out "https://reactnative.dev/docs/upgrading?os=windows".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions