Skip to content

android build does not work when using default PNPM settings #352

Description

@mdjastrzebski

Environment

RNEF 0.7.12
PNPM 10.11.0

Description

Image

Reproducible Demo

  1. Create app straight from template using PNPM
  2. Run rnef build:android

This can be fixed by:

echo "node-linker=hoisted" > .npmrc  
pnpm install

However, we should be shipping a working template out of the box.

The options I see:

  • create .npmrc with "node-linker=hoisted" when using pnpm (fast)
  • modify Android files to work with PNPM without hoisted node modules (probably harder)

Notes:

  • rnef build:ios runs fine

CC: @jbroma @thymikee

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions