-
-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Labels
dev-env: windowsIssues related to using Windows as the dev environmentIssues related to using Windows as the dev environment
Description
Current Behavior
When it is set to 'spa' the page is rendered blank.
I realize that windows is not yet supported but I spent a lot of time trying to get the zero example working on windows. I was able to narrow the problem down to the fact that the default render mode of 'spa' was the problem.
Changing it to 'ssg' the application started working. I'm hoping this bug report may help other people who are trying to test functionality on windows until you are able to resolve this issue.
Expected Behavior
I expected to install one using npx one and install the zero example and have it work with windows like the basic example. The basic example uses ssg while the zero version is set to spa.
One Version
"one": "1.1.446"Platform (Web, iOS, Android)
Windows (Web, desktop, ios)Reproduction
Change the default render mode in vite.config.ts to
defaultRenderMode: 'spa'
and the application will not work. Then change it to
defaultRenderMode: 'ssg'
and the application works again.System Info
System:
OS: Windows 11 10.0.26100
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Memory: 9.59 GB / 31.90 GB
Binaries:
Node: 22.13.1 - ~\.nvm\versions\node\v22.13.1\bin\node.EXE
Yarn: 1.22.22 - ~\.nvm\versions\node\v22.13.1\bin\yarn.CMD
npm: 11.1.0 - ~\.nvm\versions\node\v22.13.1\bin\npm.CMD
Browsers:
Chrome: 134.0.6998.118
Edge: Chromium (133.0.3065.82)
Internet Explorer: 11.0.26100.1882
npmPackages:
@react-native-community/cli: 15.1.3 => 15.1.3
@types/react: ^18.3.11 => 18.3.19
expo: ~52.0.17 => 52.0.40
one: 1.1.446 => 1.1.446
react: ^19.0.0 => 19.0.0
react-native: ^0.76.5 => 0.76.7
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-web: ^0.19.12 => 0.19.13
vite: ^6.1.0 => 6.2.2Metadata
Metadata
Assignees
Labels
dev-env: windowsIssues related to using Windows as the dev environmentIssues related to using Windows as the dev environment