Environment
OS: macOS Sequoia 15.5
Node: 24.4.1
npm: 11.4.2
Reproduction
- Run
npx create-dev-plugin@latest
- Fill in simple details
- Error occurs during the "Creating the app adapter project" step
Logs
npx create-dev-plugin@latest
✔ What is the name of the DevTools plugin? … [redacted]
✔ What is the description of the DevTools plugin? … [redacted]
✔ What is the React hook name for app integration? … [redacted]
✖ Creating the app adapter project
Error: npm install exited with non-zero code: 1
at ChildProcess.completionListener (/Users/[redacted]/.npm/_npx/2aa16221b9ef929d/node_modules/create-dev-plugin/build/index.js:2:57083)
at Object.onceWrapper (node:events:622:26)
at ChildProcess.emit (node:events:507:28)
at maybeClose (node:internal/child_process:1101:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
...
at spawnAsync (/Users/[redacted]/.npm/_npx/2aa16221b9ef929d/node_modules/create-dev-plugin/build/index.js:2:56577)
at NpmPackageManager.runAsync (/Users/[redacted]/.npm/_npx/2aa16221b9ef929d/node_modules/create-dev-plugin/build/index.js:2:46459)
at NpmPackageManager.installAsync (/Users/[redacted]/.npm/_npx/2aa16221b9ef929d/node_modules/create-dev-plugin/build/index.js:2:47007)
at installDependenciesAsync (/Users/[redacted]/.npm/_npx/2aa16221b9ef929d/node_modules/create-dev-plugin/build/index.js:30:36232)
at createAppAdapterProjectAsync (/Users/[redacted]/.npm/_npx/2aa16221b9ef929d/node_modules/create-dev-plugin/build/index.js:30:26888)
at async /Users/[redacted]/.npm/_npx/2aa16221b9ef929d/node_modules/create-dev-plugin/build/index.js:30:31981
at async newStep (/Users/[redacted]/.npm/_npx/2aa16221b9ef929d/node_modules/create-dev-plugin/build/index.js:30:36681)
at async runAsync (/Users/[redacted]/.npm/_npx/2aa16221b9ef929d/node_modules/create-dev-plugin/build/index.js:30:31916)
at async /Users/[redacted]/.npm/_npx/2aa16221b9ef929d/node_modules/create-dev-plugin/build/index.js:30:33601 {
pid: 8144,
output: [
'',
'npm error code ERESOLVE\n' +
'npm error ERESOLVE could not resolve\n' +
'npm error\n' +
'npm error While resolving: react-native@0.80.1\n' +
'npm error Found: @types/react@19.0.14\n' +
'npm error node_modules/@types/react\n' +
'npm error dev @types/react@"~19.0.10" from the root project\n' +
'npm error peerOptional @types/react@"^19.0.0" from @react-native/virtualized-lists@0.80.1\n' +
'npm error node_modules/react-native/node_modules/@react-native/virtualized-lists\n' +
'npm error @react-native/virtualized-lists@"0.80.1" from react-native@0.80.1\n' +
'npm error\n' +
'npm error Could not resolve dependency:\n' +
'npm error peerOptional @types/react@"^19.1.0" from react-native@0.80.1\n' +
'npm error node_modules/react-native\n' +
'npm error peer react-native@"*" from expo@53.0.19\n' +
'npm error node_modules/expo\n' +
'npm error dev expo@"~53.0.3" from the root project\n' +
'npm error 6 more (expo-font, expo-asset, expo-constants, expo-file-system, ...)\n' +
'npm error peer react-native@"*" from @expo/vector-icons@14.1.0\n' +
'npm error node_modules/@expo/vector-icons\n' +
'npm error @expo/vector-icons@"^14.0.0" from expo@53.0.19\n' +
'npm error 7 more (expo-asset, expo-constants, expo-file-system, ...)\n' +
'npm error\n' +
'npm error Conflicting peer dependency: @types/react@19.1.8\n' +
'npm error node_modules/@types/react\n' +
'npm error peerOptional @types/react@"^19.1.0" from react-native@0.80.1\n' +
'npm error node_modules/react-native\n' +
'npm error peer react-native@"*" from expo@53.0.19\n' +
'npm error node_modules/expo\n' +
'npm error dev expo@"~53.0.3" from the root project\n' +
'npm error 6 more (expo-font, expo-asset, expo-constants, expo-file-system, ...)\n' +
'npm error peer react-native@"*" from @expo/vector-icons@14.1.0\n' +
'npm error node_modules/@expo/vector-icons\n' +
'npm error @expo/vector-icons@"^14.0.0" from expo@53.0.19\n' +
'npm error 7 more (expo-asset, expo-constants, expo-file-system, ...)\n' +
'npm error\n' +
'npm error Fix the upstream dependency conflict, or retry\n' +
'npm error this command with --force or --legacy-peer-deps\n' +
'npm error to accept an incorrect (and potentially broken) dependency resolution.\n' +
'npm error\n' +
'npm error\n' +
'npm error For a full report see:\n' +
'npm error /Users/[redacted]/.npm/_logs/2025-07-17T12_53_53_889Z-eresolve-report.txt\n' +
'npm error A complete log of this run can be found in: /Users/[redacted]/.npm/_logs/2025-07-17T12_53_53_889Z-debug-0.log\n'
],
stdout: '',
stderr: 'npm error code ERESOLVE\n' +
'npm error ERESOLVE could not resolve\n' +
'npm error\n' +
'npm error While resolving: react-native@0.80.1\n' +
'npm error Found: @types/react@19.0.14\n' +
'npm error node_modules/@types/react\n' +
'npm error dev @types/react@"~19.0.10" from the root project\n' +
'npm error peerOptional @types/react@"^19.0.0" from @react-native/virtualized-lists@0.80.1\n' +
'npm error node_modules/react-native/node_modules/@react-native/virtualized-lists\n' +
'npm error @react-native/virtualized-lists@"0.80.1" from react-native@0.80.1\n' +
'npm error\n' +
'npm error Could not resolve dependency:\n' +
'npm error peerOptional @types/react@"^19.1.0" from react-native@0.80.1\n' +
'npm error node_modules/react-native\n' +
'npm error peer react-native@"*" from expo@53.0.19\n' +
'npm error node_modules/expo\n' +
'npm error dev expo@"~53.0.3" from the root project\n' +
'npm error 6 more (expo-font, expo-asset, expo-constants, expo-file-system, ...)\n' +
'npm error peer react-native@"*" from @expo/vector-icons@14.1.0\n' +
'npm error node_modules/@expo/vector-icons\n' +
'npm error @expo/vector-icons@"^14.0.0" from expo@53.0.19\n' +
'npm error 7 more (expo-asset, expo-constants, expo-file-system, ...)\n' +
'npm error\n' +
'npm error Conflicting peer dependency: @types/react@19.1.8\n' +
'npm error node_modules/@types/react\n' +
'npm error peerOptional @types/react@"^19.1.0" from react-native@0.80.1\n' +
'npm error node_modules/react-native\n' +
'npm error peer react-native@"*" from expo@53.0.19\n' +
'npm error node_modules/expo\n' +
'npm error dev expo@"~53.0.3" from the root project\n' +
'npm error 6 more (expo-font, expo-asset, expo-constants, expo-file-system, ...)\n' +
'npm error peer react-native@"*" from @expo/vector-icons@14.1.0\n' +
'npm error node_modules/@expo/vector-icons\n' +
'npm error @expo/vector-icons@"^14.0.0" from expo@53.0.19\n' +
'npm error 7 more (expo-asset, expo-constants, expo-file-system, ...)\n' +
'npm error\n' +
'npm error Fix the upstream dependency conflict, or retry\n' +
'npm error this command with --force or --legacy-peer-deps\n' +
'npm error to accept an incorrect (and potentially broken) dependency resolution.\n' +
'npm error\n' +
'npm error\n' +
'npm error For a full report see:\n' +
'npm error /Users/[redacted]/.npm/_logs/2025-07-17T12_53_53_889Z-eresolve-report.txt\n' +
'npm error A complete log of this run can be found in: /Users/[redacted]/.npm/_logs/2025-07-17T12_53_53_889Z-debug-0.log\n',
status: 1,
signal: null
}
Environment
OS: macOS Sequoia 15.5
Node: 24.4.1
npm: 11.4.2
Reproduction
npx create-dev-plugin@latestLogs