Skip to content

Taro开发小程序 在集成unocss时报“找不到依赖 "[object Object]",请先在项目中安装”的错误 #17047

@lj330556037

Description

@lj330556037

相关平台

微信小程序

复现仓库

https://gitee.com/lj330556037/auto-part-fix.git
小程序基础库: 3.7.1
使用框架: React

复现步骤

运行不起来

期望结果

能正常运行并成功使用unocss样式

实际结果

运行报错:
找不到依赖 "[object Object]",请先在项目中安装

环境信息

👽 Taro v3.4.0


  Taro CLI 3.4.0 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 18.18.0 - D:\Program Files\nodejs\node.EXE
      Yarn: 1.22.22 - D:\Program Files\nodejs\yarn.CMD
      npm: 9.8.1 - D:\Program Files\nodejs\npm.CMD

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