dhiway / cord.js

Cord JS API
Apache License 2.0
34 stars 46 forks source link

build: issue while running `augment-api build:types` #183

Closed amarts closed 4 months ago

amarts commented 4 months ago

getting below error when we run yarn workspace @cord.network/augment-api build:types

file:packages/augment-api/scripts/fixTypes.mjs:2
import glob from 'glob'
       ^^^^
SyntaxError: The requested module 'glob' does not provide an export named 'default'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:132:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:214:5)
    at async ModuleLoader.import (node:internal/modules/esm/loader:329:24)
    at async loadESM (node:internal/process/esm_loader:28:7)
    at async handleMainPromise (node:internal/modules/run_main:113:12)