#Building in vercel
4 messages · Page 1 of 1 (latest)
its sending me errors
[GET] /
15:51:01:63
RequestId: d7ecc83f-80ab-48eb-91d6-dc3fd05e9e66 Error: Runtime exited with error: exit status 1
Runtime.ExitError
2022-10-04T21:51:02.007Z 4bde18a0-cde1-42af-8181-a80bd61fabcd ERROR file:///var/task/entry.js:6
import { extendTheme, ChakraProvider, Heading, Image } from '@chakra-ui/react';
^^^^^^^^^^^^^^
SyntaxError: Named export 'ChakraProvider' not found. The requested module '@chakra-ui/react' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from '@chakra-ui/react';
const { extendTheme, ChakraProvider, Heading, Image } = pkg;
at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
at async importModuleDynamicallyWrapper (node:internal/vm/module:437:15)
at async getListener (/var/task/___vc/__launcher.js:37:11)
RequestId: 4bde18a0-cde1-42af-8181-a80bd61fabcd Error: Runtime exited with error: exit status 1
Runtime.ExitError```
Have you tried changing the code in error message?