alibaba / alibaba/lowcode-engine

console控制台会出现提示重复命名导出警告

Open
#3,071 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

console控制台会出现提示重复命名导出警告,并且在开发环境显示到界面,比较影响开发体验,请问有什么方法可以移除该警告吗?

![image](https://github.com/user-attachments/assets/9872515c-1210-419c-aff1-ceb1ce5b6be9)

WARNING in ../../node_modules/.pnpm/@alilc+lowcode-types@1.1.10/node_modules/@alilc/lowcode-types/es/index.js 12:0-29

The requested module './deprecated' contains conflicting star exports for the names 'isJSExpression', 'isJSFunction' with the previous requested module '@alilc/lowcode-datasource-types'

使用版本: @alilc/lowcode-types:1.1.10, @alilc/lowcode-datasource-types: 1.2.0

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the warning with @alilc/lowcode-types 1.1.10 and @alilc/lowcode-datasource-types 1.2.0. Inspect the referenced @alilc/lowcode-types/es/index.js export and the ./deprecated and @alilc/lowcode-datasource-types modules to locate the conflicting names. Done means the duplicate-export warning no longer appears in the console or development UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.