Skip to content

Commit 320d7bd

Browse files
fix(examples/react/start): make react-start example compatible with npm-based sandboxes
Replace the 'workspace:*' dependency reference with a fixed version (^0.4.0) for @tanstack/devtools-event-client in the react/start example. The workspace:* reference was incompatible with npm-based sandboxes like StackBlitz and CodeSandbox, causing pnpm install failures with 'ERR_PNPM_OUTDATED_LOCKFILE' error. This change allows the example to be used in cloud-based development environments while maintaining version compatibility.
1 parent a3d9877 commit 320d7bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/react/start/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@tailwindcss/vite": "^4.0.6",
13-
"@tanstack/devtools-event-client": "workspace:*",
13+
"@tanstack/devtools-event-client": "^0.4.0",
1414
"@tanstack/react-devtools": "^0.9.3",
1515
"@tanstack/react-router": "^1.132.0",
1616
"@tanstack/react-router-devtools": "^1.132.0",

0 commit comments

Comments
 (0)