Build error with TS and Nextjs #8171
Unanswered
madeinspace
asked this question in
General
Replies: 2 comments
-
Did you find the problem? I am facing the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
The issue was caused by an outdated typescript compiler, updated it and it all worked. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting that error trying to build my Nextjs app and wondering if you guys have a clue on how to fix it:
Failed to compile.
C:/Users/username/Documents/Workspace/myapp/node_modules/react-hook-form/dist/types/path/common.d.ts
ERROR in C:/Users/username/Documents/Workspace/myapp/node_modules/react-hook-form/dist/types/path/common.d.ts(39,53):
39:53 '?' expected.
37 | * @typeparam T - type which may be converted to a {@link Key}
38 | */
"react-hook-form": "^7.29.0",
"typescript": "^4.3",
Can't deploy my app until I find a fix! thanks
Beta Was this translation helpful? Give feedback.
All reactions