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

[Bug report] mpx init mpx-project 后使用 yarn 安装,执行 yarn watch 报错 #1047

Open
sonofmagic opened this issue Jun 27, 2022 · 3 comments
Labels
processing will provide or fix soon

Comments

@sonofmagic
Copy link

问题描述
请用简洁的语言描述你遇到的bug,至少包括以下部分,如提供截图请尽量完整:

  1. https://mpxjs.cn/guide/basic/start.html
  2. npm i -g @mpxjs/cli
  3. mpx init mpx-project
  4. cd mpx-project
  5. yarn
  6. yarn watch

环境信息描述
至少包含以下部分:

  1. Windows11
  2. @mpxjs/core、@mpxjs/webpack-plugin和@mpxjs/api-proxy 均为你们提供的模板
  3. yarn 1.22.18

最简复现demo
微信截图_20220627160638
微信截图_20220627160920

@sonofmagic sonofmagic changed the title [Bug report] mpx init mpx-project 后使用 yarn 安装,执行 yarn watch 保存 [Bug report] mpx init mpx-project 后使用 yarn 安装,执行 yarn watch 报错 Jun 27, 2022
@sonofmagic
Copy link
Author

css-selector-tokenizer 这个包正常安装是有的,安装了 @mpxjs\webpack-plugin 后,它的源代码就无了。

@Blackgan3 Blackgan3 added the processing will provide or fix soon label Jun 29, 2022
@Blackgan3
Copy link
Collaborator

辛苦上传下可复现的demo吧,我们这用windows电脑按照你的描述步骤没复现报错

@sonofmagic
Copy link
Author

sonofmagic commented Jul 11, 2022

不好意思,忘记给了,我补上
单体Demo,https://github.com/sonofmagic/mpx-project-error
monorepo Demo, https://github.com/sonofmagic/weapp-tailwindcss-webpack-plugin/tree/dev/demompx-app 项目

两个使用 yarn 都能复现这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processing will provide or fix soon
Projects
None yet
Development

No branches or pull requests

2 participants