#Build error

3 messages · Page 1 of 1 (latest)

austere reef
#
$ next build
info  - Loaded env from /root/groot/.env
info  - Skipping validation of types
info  - Linting
info  - Creating an optimized production build
Failed to compile.

./node_modules/@internationalized/date/dist/import.mjs
Module not found: Can't resolve '@swc/helpers/_/_class_private_field_init' in '/root/groot/node_modules/@internationalized/date/dist'

Import trace for requested module:
./node_modules/@nextui-org/react/node_modules/@react-aria/i18n/dist/real-module.js
./node_modules/@nextui-org/react/node_modules/@react-aria/i18n/dist/module.js
./node_modules/@nextui-org/react/esm/index.js
./components/global/Navbar.tsx
./pages/index.tsx


> Build failed because of webpack errors
error Command failed with exit code 1.
honest dustBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

      🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in <id:customize>

      ✅ You can mark a message as the answer for your post with `Right click -> Apps -> Mark Solution`
      (if you don't see the option, try refreshing Discord with Ctrl + R)
austere reef
#

$ next build
info  - Loaded env from /root/groot/.env
info  - Linting and checking validity of types
info  - Creating an optimized production build
Failed to compile.

./node_modules/@internationalized/date/dist/import.mjs
Module not found: Can't resolve '@swc/helpers/_/_class_private_field_init' in '/root/groot/node_modules/@internationalized/date/dist'

Import trace for requested module:
./node_modules/@nextui-org/react/node_modules/@react-aria/i18n/dist/real-module.js
./node_modules/@nextui-org/react/node_modules/@react-aria/i18n/dist/module.js
./node_modules/@nextui-org/react/esm/index.js
./components/pricing/PricingCard.tsx
./pages/premium.tsx


> Build failed because of webpack errors
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
``` now this