Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

微信小程序启动后缺失相关依赖包,【未能复现】 #69

Open
gaao opened this issue Apr 23, 2024 · 1 comment
Open

微信小程序启动后缺失相关依赖包,【未能复现】 #69

gaao opened this issue Apr 23, 2024 · 1 comment

Comments

@gaao
Copy link

gaao commented Apr 23, 2024

Bug report(问题描述)

微信小程序启动后缺失相关依赖包,如果使用pnpm重新安装缺失依赖包后还是缺失更多依赖包

Steps to reproduce(问题复现步骤)

  1. pnpm i 安装完依赖包后
  2. pnpm dev:mp-weixin 生成的dist/mp-weixin文件夹
  3. 小程序开发者工具打开项目生成的dist/mp-weixin文件夹

Screenshot or Gif(截图或动态图)

image
pnpm dev:mp-weixin启动后提示为外部依赖

image
小程序打开后报错

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
    Memory: 3.07 GB / 15.83 GB
Binaries:
    Node: 20.12.2 - C:\Program Files\nodejs\node.EXE
    npm: 10.5.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.0.4 - ~\AppData\Local\pnpm\pnpm.EXE
Browsers:
    Edge: Chromium (123.0.2420.97)
    Internet Explorer: 11.0.19041.3636
小程序开发者工具版本:
    wechat_devtools_1.06.2401020_win32_x64
@codercup
Copy link
Owner

没听到其他有这个问题哦,我也是一直都是OK的。你重新生成一个base模板项目试试,我感觉这个是偶发现象。

@codercup codercup changed the title 微信小程序启动后缺失相关依赖包 微信小程序启动后缺失相关依赖包,【未能复现】 Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants