You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/config/file.ts
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -226,6 +226,14 @@ async function nativeImport(
226
226
throwconfigError
227
227
}
228
228
229
+
if(String(error).includes('not supported in strip-only mode')){
230
+
constconfigError=newError(
231
+
`Failed to load the config file because it contains TypeScript-specific syntax that Node.js cannot execute directly. Please set the --config-loader CLI flag to \`tsx\` or \`unrun\`.\n\n${error.message}`,
0 commit comments