You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got the success ✅ Success! Created my-wizard at /Users/tiagosa/Documents/my-wizard
locally:
running npm run dev works ✅
running npm run build it does not work 🛑
( got an error ESLint must be installed in order to run during builds: yarn add --dev eslint )
Tried to deploy on Vercel:
When deploying it throws the same error message. ESLint must be installed in order to run during builds: yarn add --dev eslint
Full log:
14:19:13.664 Cloning completed: 978.006ms
14:19:13.687 Analyzing source code...
14:19:14.889 Installing build runtime...
14:19:16.992 Build runtime installed: 2.103s
14:19:19.733 No Build Cache available
14:19:21.012 Detected package.json
14:19:21.012 Installing dependencies...
14:19:21.326 yarn install v1.22.11
14:19:21.400 [1/4] Resolving packages...
14:19:21.673 [2/4] Fetching packages...
14:19:34.922 info @next/[email protected]: The platform "linux" is incompatible with this module.
14:19:34.922 info "@next/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
14:19:34.923 info @next/[email protected]: The CPU architecture "x64" is incompatible with this module.
14:19:34.923 info @next/[email protected]: The platform "linux" is incompatible with this module.
14:19:34.923 info "@next/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
14:19:34.923 info @next/[email protected]: The platform "linux" is incompatible with this module.
14:19:34.924 info "@next/[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
14:19:34.924 info [email protected]: The platform "linux" is incompatible with this module.
14:19:34.924 info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
14:19:34.932 [3/4] Linking dependencies...
14:19:34.936 warning "next > styled-jsx > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
14:19:34.937 warning " > [email protected]" has incorrect peer dependency "eslint@^7.23.0".
14:19:34.937 warning "eslint-config-next > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0 || ^7.0.0".
14:19:34.938 warning "eslint-config-next > [email protected]" has incorrect peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7".
14:19:34.939 warning "eslint-config-next > [email protected]" has incorrect peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7".
14:19:34.939 warning "eslint-config-next > [email protected]" has incorrect peer dependency "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0".
14:19:38.796 [4/4] Building fresh packages...
14:19:39.154 Done in 17.84s.
14:19:39.430 Running "yarn run build"
14:19:39.661 yarn run v1.22.11
14:19:39.698 $ next build
14:19:40.696 info - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
14:19:40.896 Attention: Next.js now collects completely anonymous telemetry regarding usage.
14:19:40.896 This information is used to shape Next.js' roadmap and prioritize features.
14:19:40.896 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:
14:19:40.896 https://nextjs.org/telemetry
14:19:40.950 info - Checking validity of types...
14:19:43.941 error - ESLint must be installed in order to run during builds: yarn add --dev eslint
14:19:43.946 info - Creating an optimized production build...
14:19:55.800 info - Compiled successfully
14:19:55.800 info - Collecting page data...
14:19:56.121 info - Generating static pages (0/3)
14:19:56.482 info - Generating static pages (3/3)
14:19:56.494 info - Finalizing page optimization...
14:19:56.518 Page Size First Load JS
14:19:56.519 ┌ ○ / 4.61 kB 71.6 kB
14:19:56.519 ├ └ css/99492b8413865e20907e.css 757 B
14:19:56.519 ├ /_app 0 B 67 kB
14:19:56.519 ├ ○ /404 194 B 67.1 kB
14:19:56.519 └ λ /api/hello 0 B 67 kB
14:19:56.519 + First Load JS shared by all 67 kB
14:19:56.519 ├ chunks/framework.b97a0e.js 42 kB
14:19:56.519 ├ chunks/main.c4f254.js 23.6 kB
14:19:56.520 ├ chunks/pages/_app.d4f4e0.js 556 B
14:19:56.520 ├ chunks/webpack.fb7614.js 770 B
14:19:56.520 └ css/120f2e2270820d49a21f.css 209 B
14:19:56.522 λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
14:19:56.522 ○ (Static) automatically rendered as static HTML (uses no initial props)
14:19:56.522 ● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
14:19:56.522 (ISR) incremental static regeneration (uses revalidate in getStaticProps)
14:19:56.665 Done in 17.01s.
14:19:56.792 Uploading build outputs...
14:19:57.135 Deploying build outputs...
14:20:00.082 Build completed. Populating build cache...
14:20:08.994 Uploading build cache [30.80 MB]...
14:20:09.925 Build cache uploaded: 930.352ms
14:20:10.444 Done with "package.json"```
Repo: https://github.com/TiagoSaAdvizr/my-wizard
### Expected Behavior
To build
### To Reproduce
run
`npm run build`
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 27, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Next.js are you using?
v11.1.2
What version of Node.js are you using?
v14.18.1
What browser are you using?
chrome
What operating system are you using?
macOs
How are you deploying your application?
On vercel, linked github
Describe the Bug
Used the comand:
npx create-next-app@latest
Got the success ✅
Success! Created my-wizard at /Users/tiagosa/Documents/my-wizard
locally:
running
npm run dev
works ✅running
npm run build
it does not work 🛑( got an error
ESLint must be installed in order to run during builds: yarn add --dev eslint
)Tried to deploy on Vercel:
When deploying it throws the same error message.
ESLint must be installed in order to run during builds: yarn add --dev eslint
Full log:
The text was updated successfully, but these errors were encountered: