Open JimLynchCodes opened 1 year ago
i tried to deploy on netlify and the problem is solved
Here is how I solved it : link to my comment
I'm seeing this issue as well. The link for how @abdelrahman-essawy is also not working for me.
Did anyone deploy it to Vercel successfully? I'm facing the same problem and steps on how to solve it would be highly appreciate it. Thanks in advance.
@issaafalkattan
Please use the command below to fix the build fail (on Mac):
base) rahul@dhcp-39-11-203 react-landing-page-template-2021 % export NODE_OPTIONS=--openssl-legacy-provider
(base) rahul@dhcp-39-11-203 react-landing-page-template-2021 % yarn build
yarn run v1.22.22
$ next build
info - Checking validity of types
warn - The Next.js plugin was not detected in your ESLint configuration. See https://nextjs.org/docs/basic-features/eslint#migrating-existing-config
warn - Disabled SWC because of custom Babel configuration ".babelrc" https://nextjs.org/docs/messages/swc-disabled
info - Using external babel configuration from /Users/rahul/Documents/GitHub/react-landing-page-template-2021/.babelrc
[styled-jsx] Loading plugin from path: /Users/rahul/Documents/GitHub/react-landing-page-template-2021/node_modules/styled-jsx-plugin-postcss/index.js
info - Creating an optimized production build
info - Compiled successfully
info - Collecting page data
info - Generating static pages (3/3)
info - Finalizing page optimization
Page Size First Load JS
┌ ○ / 56 kB 127 kB
├ /_app 0 B 70.6 kB
└ ○ /404 3.06 kB 73.6 kB
+ First Load JS shared by all 70.6 kB
├ chunks/framework-0f8b31729833af61.js 42.4 kB
├ chunks/main-01dd2ea356b96b11.js 26.1 kB
├ chunks/pages/_app-b0b96b4e81a5ef8d.js 578 B
├ chunks/webpack-2f8c19cc1e0963ea.js 1.5 kB
└ css/f2c0ba4aac291e6a.css 4.04 kB
○ (Static) automatically rendered as static HTML (uses no initial props)
✨ Done in 7.91s.
Why Add a "Publish to Prod" button if it just leads to a failing build?? @issaafalkattan