Skip to content

npm构建失败 #20

Description

@qq382724935
  1. 使用mpflow创建了一个自定义第三方库(@unif/mini-camera)
  2. 在原小程序项目install 成功后,进行npm构建,报错SyntaxError: parse js file (/Users/liulijun/Projects/tongyi/retail-mini-unif/node_modules/@babel/plugin-proposal-private-property-in-object/lib/index.js) failed: 'return' outside of function (25:2) [1.06.2404301][darwin-x64].
  3. 看提示是@babel/plugin-proposal-private-property-in-object这个库存在兼容问题,这个库是脚手架使用的,看 npm已经不维护了

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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