Hello, I don't really know where to put this issue, but I've installed a nextjs project with Next.js with App Router (BETA)
npx create-reactbricks-app@latest
Create ReactBricks App v1.2.9
? Do you already have a React Bricks account? (Y/n) Y
? Please, enter your React Bricks account e-mail: **************
? Password: *******************
? Choose your app or create a new one: *****
? Project name (insert a valid package name): *****
? Folder name: brickstesr
? What would you like to create today? Website and Blog with Tailwind (recommended to start)
? Select framework: Next.js with App Router (BETA)
✔ Downloading starter
✔ Setting project configurations
✔ Saving app credentials
✔ Installing dependencies
✔ Setting up git repository
Project "karolbeffa" created!
You can start your project by typing:
cd karolbricks
yarn dev
When I try to build the project without touching anything, it crashes :
yarn build
yarn run v1.22.21
$ next build
▲ Next.js 14.0.4
- Environments: .env.local
✓ Creating an optimized production build
✓ Compiled successfully
./components/PostListItem.tsx
47:11 Warning: Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element @next/next/no-img-element
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
Linting and checking validity of types .Failed to compile.
./react-bricks/bricks/react-bricks-ui/contacts/FormBuilder/FormBuilderProvider.tsx:14:51
Type error: Type 'undefined' does not satisfy the constraint 'FieldValues'.
12 | interface IFormBuilderProvider {
13 | register?: UseFormRegister<FieldValues>
> 14 | handleSubmit?: UseFormHandleSubmit<FieldValues, undefined>
| ^
15 | errors?: FieldErrorsImpl<{
16 | [x: string]: any
17 | }>
error Command failed with exit code 1.
Could you take a look please ?
Hello, I don't really know where to put this issue, but I've installed a nextjs project with
Next.js with App Router (BETA)When I try to build the project without touching anything, it crashes :
Could you take a look please ?