feTS icon indicating copy to clipboard operation
feTS copied to clipboard

[v0.7.0] - Build error in NextJs apps

Open akifunal opened this issue 1 year ago • 0 comments

Describe the bug

When attempting to build my project that uses fets 0.7.0, an error occurs. The error seems to originate from the fets/cjs/plugins/typebox.js file. The details of the error are provided below:

../../node_modules/.pnpm/[email protected]/node_modules/fets/cjs/plugins/typebox.js
 Module not found: Default condition should be last one

To Reproduce Steps to reproduce the behavior:

codesandbox

  1. Import fets 0.7.0 in the project
  2. Run the build command or dev command
  3. See error

Expected behavior

The project should build without any errors.

Environment:

akifunal avatar Dec 22 '23 12:12 akifunal