npm ERR! ERESOLVE unable to resolve dependency tree
- Dominant language
- TypeScript
- Stars
- 11.2k
- Forks
- 325
- PR merge metrics
- No merged PRs in 30d
Description
can't patch-package
command line
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: react@17.0.1
npm ERR! node_modules/react
npm ERR! peer react@"*" from react-native-gifted-chat@0.16.3
npm ERR! node_modules/react-native-gifted-chat
npm ERR! react-native-gifted-chat@"https://registry.npmjs.org/react-native-gifted-chat/-/react-native-gifted-chat-0.16.3.tgz" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"16.13.1" from react-native@0.63.4
npm ERR! node_modules/react-native
npm ERR! peer react-native@"*" from react-native-gifted-chat@0.16.3
npm ERR! node_modules/react-native-gifted-chat
npm ERR! react-native-gifted-chat@"https://registry.npmjs.org/react-native-gifted-chat/-/react-native-gifted-chat-0.16.3.tgz" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\Noi\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Noi\AppData\Local\npm-cache\_logs\2021-01-22T12_37_59_103Z-debug.log
{
status: 1,
signal: null,
output: [
null,
,
],
pid: 19628,
stdout: ,
stderr: ,
error: null
}
C:\Work\beeclean\beeclean-user\node_modules\patch-package\dist\makePatch.js:183
throw e;
^
{
status: 1,
signal: null,
output: [
null,
Buffer(0) [Uint8Array] [],
Buffer(1310) [Uint8Array] [
110, 112, 109, 32, 69, 82, 82, 33, 32, 99, 111, 100,
101, 32, 69, 82, 69, 83, 79, 76, 86, 69, 10, 110,
112, 109, 32, 69, 82, 82, 33, 32, 69, 82, 69, 83,
79, 76, 86, 69, 32, 117, 110, 97, 98, 108, 101, 32,
116, 111, 32, 114, 101, 115, 111, 108, 118, 101, 32, 100,
101, 112, 101, 110, 100, 101, 110, 99, 121, 32, 116, 114,
101, 101, 10, 110, 112, 109, 32, 69, 82, 82, 33, 32,
10, 110, 112, 109, 32, 69, 82, 82, 33, 32, 87, 104,
105, 108, 101, 32,
... 1210 more items
]
],
pid: 19628,
stdout: Buffer(0) [Uint8Array] [],
stderr: Buffer(1310) [Uint8Array] [
110, 112, 109, 32, 69, 82, 82, 33, 32, 99, 111, 100,
101, 32, 69, 82, 69, 83, 79, 76, 86, 69, 10, 110,
112, 109, 32, 69, 82, 82, 33, 32, 69, 82, 69, 83,
79, 76, 86, 69, 32, 117, 110, 97, 98, 108, 101, 32,
116, 111, 32, 114, 101, 115, 111, 108, 118, 101, 32, 100,
101, 112, 101, 110, 100, 101, 110, 99, 121, 32, 116, 114,
101, 101, 10, 110, 112, 109, 32, 69, 82, 82, 33, 32,
10, 110, 112, 109, 32, 69, 82, 82, 33, 32, 87, 104,
105, 108, 101, 32,
... 1210 more items
],
error: null
}
npm ERR! code 1
npm ERR! path C:\Work\beeclean\beeclean-user
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c patch-package react-native-gifted-chat
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Noi\AppData\Local\npm-cache\_logs\2021-01-22T12_37_59_155Z-debug.log
LOG
0 verbose cli [
0 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
0 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
0 verbose cli 'exec',
0 verbose cli '--',
0 verbose cli 'patch-package',
0 verbose cli 'react-native-gifted-chat'
0 verbose cli ]
1 info using npm@7.4.0
2 info using node@v15.6.0
3 timing config:load:defaults Completed in 1ms
4 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 1ms
5 timing config:load:builtin Completed in 1ms
6 timing config:load:cli Completed in 0ms
7 timing config:load:env Completed in 1ms
8 timing config:load:file:C:\Work\beeclean\beeclean-user\.npmrc Completed in 0ms
9 timing config:load:project Completed in 0ms
10 timing config:load:file:C:\Users\Noi\.npmrc Completed in 0ms
11 timing config:load:user Completed in 0ms
12 timing config:load:file:C:\Users\Noi\AppData\Roaming\npm\etc\npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:cafile Completed in 1ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:setUserAgent Completed in 0ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 5ms
19 verbose npm-session 8782ff4f57f2b18a
20 timing npm:load Completed in 10ms
21 timing command:exec Completed in 1772ms
22 verbose stack Error: command failed
22 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\index.js:64:27)
22 verbose stack at ChildProcess.emit (node:events:379:20)
22 verbose stack at maybeClose (node:internal/child_process:1065:16)
22 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:296:5)
23 verbose pkgid beeclean@0.0.1
24 verbose cwd C:\Work\beeclean\beeclean-user
25 verbose Windows_NT 10.0.19042
26 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "exec" "--" "patch-package" "react-native-gifted-chat"
27 verbose node v15.6.0
28 verbose npm v7.4.0
29 error code 1
30 error path C:\Work\beeclean\beeclean-user
31 error command failed
32 error command C:\Windows\system32\cmd.exe /d /s /c patch-package react-native-gifted-chat
33 verbose exit 1
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.