-
Notifications
You must be signed in to change notification settings - Fork 8
Can't Host on Vercel #7
Description
error: SyntaxError: Unexpected identifier 'assert'
at compileSourceTextModule (node:internal/modules/esm/utils:338:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:102:18)
at ModuleLoader.#translate (node:internal/modules/esm/loader:468:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:515:27)
at ModuleJob._link (node:internal/modules/esm/module_job:115:19),
_tag: 'SuccessCallbackError',
toString: [Function (anonymous)],
[Symbol()]: {
error: SyntaxError: Unexpected identifier 'assert'
at compileSourceTextModule (node:internal/modules/esm/utils:338:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:102:18)
at ModuleLoader.#translate (node:internal/modules/esm/loader:468:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:515:27)
at ModuleJob._link (node:internal/modules/esm/module_job:115:19)
},
[Symbol()]: [ 'error' ]
}
Error: Command "yarn run build" exited with 1