What are you trying to do?
Trying to deploy my project to Vercel; this is the error code
[19:42:48.184] Running build in Washington, D.C., USA (East) – iad1
[19:42:48.288] Cloning github.com/its-a-lisa/just-hacking-site (Branch: main, Commit: 61419bb)
[19:42:48.616] Previous build cache not available
[19:42:48.804] Cloning completed: 516.000ms
[19:42:50.984] Running "vercel build"
[19:42:51.426] Vercel CLI 39.3.0
[19:42:51.760] Installing dependencies...
[19:42:53.332] npm warn ERESOLVE overriding peer dependency
[19:42:53.332] npm warn While resolving: react-slick@0.28.1
[19:42:53.333] npm warn Found: react@18.3.1
[19:42:53.333] npm warn node_modules/react
[19:42:53.333] npm warn react@"^18" from the root project
[19:42:53.333] npm warn 135 more (@plasmicapp/auth-react, @plasmicapp/data-sources, ...)
[19:42:53.333] npm warn
[19:42:53.333] npm warn Could not resolve dependency:
[19:42:53.333] npm warn peer react@"^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0" from react-slick@0.28.1
[19:42:53.333] npm warn node_modules/@plasmicpkgs/react-slick/node_modules/react-slick
[19:42:53.333] npm warn react-slick@"^0.28.1" from @plasmicpkgs/react-slick@0.0.229
[19:42:53.333] npm warn node_modules/@plasmicpkgs/react-slick
[19:42:53.333] npm warn
[19:42:53.333] npm warn Conflicting peer dependency: react@17.0.2
[19:42:53.334] npm warn node_modules/react
[19:42:53.334] npm warn peer react@"^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0" from react-slick@0.28.1
[19:42:53.334] npm warn node_modules/@plasmicpkgs/react-slick/node_modules/react-slick
[19:42:53.334] npm warn react-slick@"^0.28.1" from @plasmicpkgs/react-slick@0.0.229
[19:42:53.334] npm warn node_modules/@plasmicpkgs/react-slick
[19:42:53.345] npm warn ERESOLVE overriding peer dependency
[19:42:53.345] npm warn While resolving: react-slick@0.28.1
[19:42:53.345] npm warn Found: react-dom@18.3.1
[19:42:53.345] npm warn node_modules/react-dom
[19:42:53.346] npm warn react-dom@"^18" from the root project
[19:42:53.346] npm warn 44 more (@plasmicapp/host, @plasmicapp/nextjs-app-router, ...)
[19:42:53.346] npm warn
[19:42:53.346] npm warn Could not resolve dependency:
[19:42:53.346] npm warn peer react-dom@"^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0" from react-slick@0.28.1
[19:42:53.346] npm warn node_modules/@plasmicpkgs/react-slick/node_modules/react-slick
[19:42:53.346] npm warn react-slick@"^0.28.1" from @plasmicpkgs/react-slick@0.0.229
[19:42:53.346] npm warn node_modules/@plasmicpkgs/react-slick
[19:42:53.346] npm warn
[19:42:53.346] npm warn Conflicting peer dependency: react-dom@17.0.2
[19:42:53.346] npm warn node_modules/react-dom
[19:42:53.346] npm warn peer react-dom@"^0.14.0 || ^15.0.1 || ^16.0.0 || ^17.0.0" from react-slick@0.28.1
[19:42:53.346] npm warn node_modules/@plasmicpkgs/react-slick/node_modules/react-slick
[19:42:53.346] npm warn react-slick@"^0.28.1" from @plasmicpkgs/react-slick@0.0.229
[19:42:53.346] npm warn node_modules/@plasmicpkgs/react-slick
[19:42:54.812] npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
[19:42:55.315] npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
[19:42:56.942] npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
[19:42:56.974] npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
[19:42:57.008] npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
[19:42:59.416] npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
[19:43:04.420]
[19:43:04.420] added 543 packages in 12s
[19:43:04.420]
[19:43:04.420] 155 packages are looking for funding
[19:43:04.420] run `npm fund` for details
[19:43:04.471] Detected Next.js version: 14.2.23
[19:43:04.476] Running "npm run build"
[19:43:04.597]
[19:43:04.598] > tmp-cpa@0.1.0 build
[19:43:04.598] > next build
[19:43:04.598]
[19:43:05.717] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[19:43:05.717] This information is used to shape Next.js' roadmap and prioritize features.
[19:43:05.717] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[19:43:05.718] https://nextjs.org/telemetry
[19:43:05.718]
[19:43:05.777] ▲ Next.js 14.2.23
[19:43:05.777]
[19:43:05.778] Skipping linting
[19:43:05.778] Checking validity of types ...
[19:43:10.197] Failed to compile.
[19:43:10.197]
[19:43:10.197] ./components/BaseComponentsPopover.tsx:41:11
[19:43:10.197] Type error: Type '{ children?: ReactNode; contentSlot?: ReactNode; className?: string | undefined; }' is not assignable to type '"Unexpected extraneous props"'.
[19:43:10.197]
[19:43:10.197] e[0m e[90m 39 |e[39m e[90m// to do whatever works for you.e[39me[0m
[19:43:10.197] e[0m e[90m 40 |e[39me[0m
[19:43:10.197] e[0me[31me[1m>e[22me[39me[90m 41 |e[39m e[36mreturne[39m e[33m<e[39me[33mPlasmicBaseComponentsPopovere[39m {e[33m...e[39mprops} e[33m/e[39me[33m>e[39me[33m;e[39me[0m
[19:43:10.198] e[0m e[90m |e[39m e[31me[1m^e[22me[39me[0m
[19:43:10.198] e[0m e[90m 42 |e[39m }e[0m
[19:43:10.198] e[0m e[90m 43 |e[39me[0m
[19:43:10.198] e[0m e[90m 44 |e[39m e[36mexporte[39m e[36mdefaulte[39m e[33mBaseComponentsPopovere[39me[33m;e[39me[0m
[19:43:10.221] Static worker exited with code: 1 and signal: null
[19:43:10.242] Error: Command "npm run build" exited with 1
[19:43:10.832]
What are the reproduction steps?
Update: Modify the project to separate it to its own project
Relevant links:
- My project: Plasmic
- Github Repo: GitHub - its-a-lisa/popover-errors
- Vercel: https://popover-errors-git-main-itsalisas-projects.vercel.app/