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

您好,项目在本地yarn install以后报错,请问怎么解决? #3

Closed
zhuxiaoweb opened this issue Nov 23, 2022 · 15 comments
Closed
Labels
bug Something isn't working

Comments

@zhuxiaoweb
Copy link

Compiled with problems:X

ERROR in ./src/app.config.ts 1:0-20

Module not found: Error: Can't resolve './app.boot' in '/Users/zhuxiao/Documents/workspace/aie-wx/src'

ERROR in ./src/app.config.ts 1:0-20
Module not found: Error: Can't resolve './app.boot' in '/Users/zhuxiao/Documents/workspace/aie-wx/src'
resolve './app.boot' in '/Users/zhuxiao/Documents/workspace/aie-wx/src'
using description file: /Users/zhuxiao/Documents/workspace/aie-wx/package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
using description file: /Users/zhuxiao/Documents/workspace/aie-wx/package.json (relative path: ./src/app.boot)
no extension

@yanbowe
Copy link
Owner

yanbowe commented Nov 23, 2022

项目使用的是pnpm,使用pnpm install

@zhuxiaoweb
Copy link
Author

项目使用的是pnpm,使用pnpm install

您好,我用pnpm和cnpm、yarn都试过了报的还是同一个错

@yanbowe
Copy link
Owner

yanbowe commented Nov 23, 2022

项目使用的是pnpm,使用pnpm install

您好,我用pnpm和cnpm、yarn都试过了报的还是同一个错

node和pnpm是什么版本的

@zhuxiaoweb
Copy link
Author

node
node v18.12.1
pnpm 7.17.0

@zhuxiaoweb
Copy link
Author

OS: macOS 12.5
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.12.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn

@zhuxiaoweb
Copy link
Author

项目使用的是pnpm,使用pnpm install

您好,我用pnpm和cnpm、yarn都试过了报的还是同一个错

node和pnpm是什么版本的

兄弟你本地重新install可以运行h5吗?

@yanbowe
Copy link
Owner

yanbowe commented Nov 23, 2022

项目使用的是pnpm,使用pnpm install

您好,我用pnpm和cnpm、yarn都试过了报的还是同一个错

node和pnpm是什么版本的

兄弟你本地重新install可以运行h5吗?

是有问题,我这边排查一下

@zhuxiaoweb
Copy link
Author

项目使用的是pnpm,使用pnpm install

您好,我用pnpm和cnpm、yarn都试过了报的还是同一个错

node和pnpm是什么版本的

兄弟你本地重新install可以运行h5吗?

是有问题,我这边排查一下

好的 谢谢!我也在看 有进展即时沟通。

@zhuxiaoweb
Copy link
Author

好像不止我们两个遇到这个问题了

@yanbowe
Copy link
Owner

yanbowe commented Nov 23, 2022

好像不止我们两个遇到这个问题了

估计是taro的问题,我在另外的项目里遇到了同样的问题

@zhuxiaoweb
Copy link
Author

taro

taro真给力 我明天要给cto演示技术方案。。。

@yanbowe
Copy link
Owner

yanbowe commented Nov 23, 2022

taro

taro真给力 我明天要给cto演示技术方案。。。

哈哈,那就很危险了

@zhuxiaoweb
Copy link
Author

先演示小程序吧

@zhuxiaoweb
Copy link
Author

先演示小程序吧

unocss引入也会出现问题,可能需要先放弃使用unocss

如果打包环境也有问题估计会影响很多生产项目,那就有点严重了

@yanbowe
Copy link
Owner

yanbowe commented Nov 23, 2022

taro相关issues

@yanbowe yanbowe added the bug Something isn't working label Nov 23, 2022
@yanbowe yanbowe closed this as completed Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants