Build error
Unanswered
Ibizan Hound posted this in #help-forum
Ibizan HoundOP
$ 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.2 Replies
Ibizan HoundOP
$ 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 thiswere you able to solve?