can't import { messages } from '@cosmology/core';
Opened this issue · 0 comments
jb3134 commented
when i run , it showed :
SyntaxError: Named export 'messages' not found. The requested module '@cosmology/core' 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 '@cosmology/core';
const { messages } = pkg;