cosmology-tech / cosmology

CLI and TS library for the Cosmos ⚛️
MIT License
50 stars 20 forks source link

can't import { messages } from '@cosmology/core'; #19

Open jb3134 opened 1 year ago

jb3134 commented 1 year ago

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;