#reactjs #next.js
#реагирует на #next.js
Вопрос:
Я получаю это сообщение об ошибке, когда пытаюсь создать свой Next.js проект; в чем проблема?
gt; (base) net-MS24:~/Documents/myproject$ npm run build gt; myproject@1.0.0 build gt; next build Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Loaded env from /home/xxxy/Documents/myproject/.env Warning: Built-in CSS support is being disabled due to custom CSS configuration being detected. See here for more info: https://err.sh/next.js/built-in-css-disabled info - Creating an optimized production build Failed to compile. ./pages/content/_index.scss Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (93) For more information on which environments are supported please see: https://github.com/sass/node-sass/releases/tag/v4.14.1 gt; Build error occurred Error: gt; Build failed because of webpack errors at build (/home/xxxy/Documents/myproject/node_modules/next/dist/build/index.js:15:918)
Комментарии:
1. Что у тебя Node.js версия?