one icon indicating copy to clipboard operation
one copied to clipboard

Minimal Tamagui

Open andrewchester1 opened this issue 9 months ago • 3 comments

Current Behavior

The Minimal Tamagui template is not working out of the box. After installing today I see this error: "no such file or directory, open '../node_modules/@vxrn/resolve/dist/esm/react-native/package.json'"

Expected Behavior

No response

One Version

1.1.479

Platform (Web, iOS, Android)

All

Reproduction

npx one

System Info

System:
    OS: macOS 15.4
    CPU: (11) arm64 Apple M3 Pro
    Memory: 371.05 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
    Yarn: 4.9.1 - ~/.nvm/versions/node/v18.18.0/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm
    bun: 1.1.34 - ~/.nvm/versions/node/v18.18.0/bin/bun
  Browsers:
    Chrome: 135.0.7049.96
    Safari: 18.4
  npmPackages:
    @biomejs/biome: 1.9.4 => 1.9.4 
    @react-native-community/cli: 15.1.3 => 15.1.3 
    @tamagui/animations-css: ^1.125.28 => 1.126.1 
    @tamagui/animations-moti: ^1.125.28 => 1.126.1 
    @tamagui/colors: ^1.125.28 => 1.126.1 
    @tamagui/config: ^1.125.28 => 1.126.1 
    @tamagui/image-next: ^1.125.28 => 1.126.1 
    @tamagui/lucide-icons: ^1.125.28 => 1.126.1 
    @tamagui/react-native-media-driver: ^1.125.28 => 1.126.1 
    @tamagui/shorthands: ^1.125.28 => 1.126.1 
    @tamagui/vite-plugin: ^1.125.28 => 1.126.1 
    @types/react: ^18.3.11 => 18.3.20 
    @vxrn/color-scheme: 1.1.479 => 1.1.479 
    expo: ~52.0.17 => 52.0.46 
    expo-modules-core: 2.1.2 => 2.1.2 
    one: 1.1.479 => 1.1.479 
    react: ~19.0.0 => 19.0.0 
    react-native: ^0.76.5 => 0.76.9 
    react-native-reanimated: ~3.16.5 => 3.16.7 
    react-native-safe-area-context: 4.10.5 => 4.10.5 
    react-native-screens: 4.4.0 => 4.4.0 
    react-native-svg: 15.8.0 => 15.8.0 
    react-native-web: ^0.19.12 => 0.19.13 
    tamagui: ^1.125.28 => 1.126.1 
    typescript: ^5.7.3 => 5.8.3 
    vite: ^6.1.0 => 6.3.2

andrewchester1 avatar Apr 18 '25 20:04 andrewchester1

Hi, the latest version (1.1.481) is now working for me with web and iOS, using the yarn package manager. Is it still not working for you? If so, what package are you using, and when did you see that error message?

zetavg avatar May 04 '25 21:05 zetavg

This is a weird error.

I installed one using minimal (npx one) on my laptop, and yarn dev does not throw the error on that machine.

When I switched to my desktop and pulled the project from github, I got the above error. I installed from scratch and get the same error. I changed package managers and get the same error, but only on the desktop machine running MacOS 15.5 (24F74). Still investigating...

bmakr avatar Jun 04 '25 15:06 bmakr

It's the node version installed on the machine causing the issue. I had node 18 on my desktop and 23 on my laptop.

When I upgraded node to 23 on my desktop, the error went away.

bmakr avatar Jun 04 '25 15:06 bmakr