deploying react app

hi people of the cloudflare. i have no clue what is happening with these error messages. if any help could be given, it would be much appreciated
16:43:16.072 npm ERR! While resolving: [email protected]
16:43:16.072 npm ERR! Found: [email protected]
16:43:16.072 npm ERR! node_modules/typescript
16:43:16.072 npm ERR! dev typescript@"^5.5.4" from the root project
16:43:16.073 npm ERR! peer typescript@">= 2.7" from [email protected]
16:43:16.073 npm ERR! node_modules/fork-ts-checker-webpack-plugin
16:43:16.073 npm ERR! fork-ts-checker-webpack-plugin@"^6.5.0" from [email protected]
16:43:16.073 npm ERR! node_modules/react-dev-utils
16:43:16.073 npm ERR! react-dev-utils@"^12.0.1" from [email protected]
16:43:16.074 npm ERR! node_modules/react-scripts
16:43:16.074 npm ERR! react-scripts@"5.0.1" from the root project
16:43:16.074 npm ERR! 1 more (tsutils)
16:43:16.074 npm ERR! Could not resolve dependency:
16:43:16.074 npm ERR! peerOptional typescript@"^3.2.1 || ^4" from [email protected]
16:43:16.074 npm ERR! node_modules/react-scripts
16:43:16.074 npm ERR! react-scripts@"5.0.1" from the root project
16:43:16.075 npm ERR! Conflicting peer dependency: [email protected]
16:43:16.075 npm ERR! node_modules/typescript
16:43:16.075 npm ERR! peerOptional typescript@"^3.2.1 || ^4" from [email protected]
16:43:16.075 npm ERR! node_modules/react-scripts
16:43:16.075 npm ERR! react-scripts@"5.0.1" from the root project
16:43:16.076 npm ERR! Fix the upstream dependency conflict, or retry
16:43:16.076 npm ERR! this command with --force or --legacy-peer-deps
16:43:16.076 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
16:43:16.072 npm ERR! While resolving: [email protected]
16:43:16.072 npm ERR! Found: [email protected]
16:43:16.072 npm ERR! node_modules/typescript
16:43:16.072 npm ERR! dev typescript@"^5.5.4" from the root project
16:43:16.073 npm ERR! peer typescript@">= 2.7" from [email protected]
16:43:16.073 npm ERR! node_modules/fork-ts-checker-webpack-plugin
16:43:16.073 npm ERR! fork-ts-checker-webpack-plugin@"^6.5.0" from [email protected]
16:43:16.073 npm ERR! node_modules/react-dev-utils
16:43:16.073 npm ERR! react-dev-utils@"^12.0.1" from [email protected]
16:43:16.074 npm ERR! node_modules/react-scripts
16:43:16.074 npm ERR! react-scripts@"5.0.1" from the root project
16:43:16.074 npm ERR! 1 more (tsutils)
16:43:16.074 npm ERR! Could not resolve dependency:
16:43:16.074 npm ERR! peerOptional typescript@"^3.2.1 || ^4" from [email protected]
16:43:16.074 npm ERR! node_modules/react-scripts
16:43:16.074 npm ERR! react-scripts@"5.0.1" from the root project
16:43:16.075 npm ERR! Conflicting peer dependency: [email protected]
16:43:16.075 npm ERR! node_modules/typescript
16:43:16.075 npm ERR! peerOptional typescript@"^3.2.1 || ^4" from [email protected]
16:43:16.075 npm ERR! node_modules/react-scripts
16:43:16.075 npm ERR! react-scripts@"5.0.1" from the root project
16:43:16.076 npm ERR! Fix the upstream dependency conflict, or retry
16:43:16.076 npm ERR! this command with --force or --legacy-peer-deps
16:43:16.076 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
10 Replies
chex (O Bestie)
chex (O Bestie)OP•4mo ago
16:43:16.090 Error: Exit with error code: 1
16:43:16.090 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
16:43:16.091 at Object.onceWrapper (node:events:652:26)
16:43:16.091 at ChildProcess.emit (node:events:537:28)
16:43:16.091 at ChildProcess._handle.onexit (node:internal/child_process:291:12)
16:43:16.104 Failed: build command exited with code: 1
16:43:17.064 Failed: error occurred while running build command
16:43:16.090 Error: Exit with error code: 1
16:43:16.090 at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
16:43:16.091 at Object.onceWrapper (node:events:652:26)
16:43:16.091 at ChildProcess.emit (node:events:537:28)
16:43:16.091 at ChildProcess._handle.onexit (node:internal/child_process:291:12)
16:43:16.104 Failed: build command exited with code: 1
16:43:17.064 Failed: error occurred while running build command
Edward
Edward•4mo ago
could you drop some more context about what you're trying to deploy and what your current build command/configuration looks like
chex (O Bestie)
chex (O Bestie)OP•4mo ago
idk if youre trolling im trying to deploy a whole ahh react app website hold up mate
Edward
Edward•4mo ago
nah fr drop more info for the people here
chex (O Bestie)
chex (O Bestie)OP•4mo ago
No description
chex (O Bestie)
chex (O Bestie)OP•4mo ago
yh ik. i was trolling u by asking if u were trolling i got more than 2 braincells little buddy. i got 3 BRAINCELLS
Edward
Edward•4mo ago
😲
chex (O Bestie)
chex (O Bestie)OP•4mo ago
its insane
Cyb3r-Jak3
Cyb3r-Jak3•4mo ago
It looks like you need to clean up your projects dependencies. Does it build locally?
chex (O Bestie)
chex (O Bestie)OP•4mo ago
yeah it builds locally. i think i managed to fix it somehow tho just by fooling around and typing random npm stuff into the terminal idek 😭😭
Want results from more Discord servers?
Add your server