8000 : "MITO" is not exported by "node_modules/.pnpm/@zyf2e+monitor-web@2.1.56/node_modules/@zyf2e/monitor-web/dist/web.esm.js" · Issue #74 · clouDr-f2e/monitor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
: "MITO" is not exported by "node_modules/.pnpm/@zyf2e+monitor-web@2.1.56/node_modules/@zyf2e/monitor-web/dist/web.esm.js" #74
Open
@winner800

Description

@winner800

Describe the bug
我在vue3项目中,通过pnpm i @zyf2e/monitor-web安装的,如下引用:
在main.ts中 import { MITO } from "@zyf2e/monitor-web"
报TS错误:找不到模块“@zyf2e/monitor-web”或其相应的类型声明。ts(2307)

在vite构建时报错:
MITO" is not exported by "node_modules/.pnpm/@zyf2e+monitor-web@2.1.56/node_modules/@zyf2e/monitor-web/dist/web.esm.js

Expected behavior
希望能正常解析

Information
"@zyf2e/monitor-web": "^2.1.56",

  • Mitojs Version [e.g. ^2.1.56]
  • Environment: [Vue3.0]
  • Error info stack [e.g. "MITO" is not exported by "node_modules/.pnpm/@zyf2e+monitor-web@2.1.56/node_modules/@zyf2e/monitor-web/dist/web.esm.js"]

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

      0