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
When i try to build my svelteKit app, I have error in console
error after npm run build 👇🏿
node:internal/process/promises:288 triggerUncaughtException(err, true /* fromPromise */;
^ [UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<Redirect2>".] { Node.js v18.9.0 [vite-plugin-sveltekit-compile] Failed with code 1 error during build: Error: Failed with code 1 at ChildProcess.<anonymous> (file:///C:/MAMP/htdocs/svelteKit/node_modules/@sveltejs/kit/src/utils/fork.js:68:13) at ChildProcess.emit (node:events:513:28) at ChildProcess.emit (node:domain:489:12) at ChildProcess._handle.onexit (node:internal/child_process:291:12)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
When i try to build my svelteKit app, I have error in console
error after
npm run build
👇🏿node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */;
^
[UnhandledPromiseRejection: This error originated either by throwing inside of
an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#<Redirect2>".] { Node.js v18.9.0
[vite-plugin-sveltekit-compile] Failed with code 1
error during build: Error: Failed with code 1 at ChildProcess.<anonymous> (file:///C:/MAMP/htdocs/svelteKit/node_modules/@sveltejs/kit/src/utils/fork.js:68:13) at ChildProcess.emit (node:events:513:28) at ChildProcess.emit (node:domain:489:12) at ChildProcess._handle.onexit (node:internal/child_process:291:12)
Beta Was this translation helpful? Give feedback.
All reactions