Skip to content

缺陷:执行 jest 失败 #58

@liujinxing

Description

@liujinxing

在 monorepo 根目录下执行单元测试时,报下面的错误:

The name `@sinoform/app-context` was looked up in the Haste module map. It cannot be resolved, because there exists several different files, or packages, that provide a module for that particular name and platform. The platform is generic (no extension). You must delete or exclude files until there remains only one of these:

    * `E:\workspace\sino-intellisense-form\packages\app-context\dist\package.json` (package)
    * `E:\workspace\sino-intellisense-form\packages\app-context\package.json` (package)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions