μ€λλ§μ λΉλ μ€ν¬λ¦½νΈλ₯Ό μ€ννλ, μλμ κ°μ΄ μ€λ₯μ ν¨κ» μ€ν¨ν©λλ€.
$ npm run build
> sample-next-i18next@1.2.1 build
> next build
info - Linting and checking validity of types
info - Creating an optimized production build
Failed to compile.
./src/components/common/RouteIndicator/RouteIndicator.module.css
TypeError: Cannot read properties of undefined (reading '700')
at module.exports [as typography] (/Users/helloworld/Repos/sample-next-i18next/node_modules/@tailwindcss/typography/src/styles.js:16:65)
Error: Cannot read properties of undefined (reading β700β)
κ²μμ νλ€ λ³΄λ, κ΄λ ¨ μ΄μλ₯Ό λ°κ²¬νμ΅λλ€.
tailwindlabs/tailwindcss-typography: Cannot read property β700β of undefinedΒ #214
2021-10-21 κΈμμ νμΈνκ³ κΉμ§λλ¬μ΅λλ€. κ·Έλμ λ무 μ κ²½μ λͺ»μ΄κ² κ°μ΅λλ€.
@tailwindcss/typography ν¨ν€μ§μ μ΅μ λ²μ μ μ€μΉν΄μ ν΄κ²°μ΄ κ°λ₯νλ€κ³ νμ¬, κ΄λ ¨ ν¨ν€μ§λ€μ μ κ·Έλ μ΄λνμ΅λλ€.
npm install @tailwindcss/typography@latest
$ npm install @tailwindcss/typography@latest
μ΄ ν tailwindcss, next-i18n κ΄λ ¨ λ³κ²½μ λ°μν ν λΉλ μ€ν¬λ¦½νΈκ° μ μμ μΌλ‘ μ€νλλ κ²μ νμΈνμ΅λλ€.
$ npm run build
> sample-next-i18next@1.2.1 build
> next build
info - Linting and checking validity of types
info - Creating an optimized production build
info - Compiled successfully
info - Collecting page data
info - Generating static pages (14/14)
info - Finalizing page optimization
Route (pages) Size First Load JS
β β / 1.48 kB 102 kB
β /_app 0 B 97.3 kB
β β /404 193 B 97.5 kB
β β /about 1.48 kB 102 kB
+ First Load JS shared by all 99.6 kB
β chunks/framework-7dc8a65f4a0cda33.js 45.3 kB
β chunks/main-9f2823b223abd7dd.js 32.7 kB
β chunks/pages/_app-1c32e923e1d3c53d.js 18.5 kB
β chunks/webpack-69bfa6990bb9e155.js 775 B
β css/104acd707b7e6ae7.css 2.3 kB
β (Static) automatically rendered as static HTML (uses no initial props)
β (SSG) automatically generated as static HTML + JSON (uses getStaticProps)