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

cli v3.0.0-alpha.6 新建项目后不做任何修改该。直接编译weapp报错 #5676

Closed
xgaxpp opened this issue Mar 12, 2020 · 3 comments
Assignees

Comments

@xgaxpp
Copy link

xgaxpp commented Mar 12, 2020

#5227 # 问题描述

cli v3.0.0-alpha.6 新建项目后不做任何修改该。直接编译weapp报错,错误信息

编译 发现入口 src/app.ts
编译 发现页面 src/pages/index/index.tsx
| 正在编译...[BABEL] Note: The code generator has deoptimised the styling of D:\workspace\myapp\node_modules\react-reconciler\cjs\react-reconciler.development.js as it exceeds the max of 500KB.
� 编译失败.

./src/app.ts
Module not found: Can't resolve './app.ts"' in 'D:\workspace\myapp\src'

复现步骤

1、taro init myapp
2、yarn dev:weapp

报错信息

./src/app.ts
Module not found: Can't resolve './app.ts"' in 'D:\workspace\myapp\src'

系统信息

Taro CLI 3.0.0-alpha.6 environment info:
System:
OS: Windows 10
Binaries:
Node: 13.10.1 - D:\Applications\Scoop\apps\nodejs\current\node.EXE
Yarn: 1.22.4 - D:\Applications\Scoop\apps\yarn\current\Yarn\bin\yarn.CMD
npm: 6.13.7 - D:\Applications\Scoop\apps\nodejs\current\npm.CMD

@taro-bot
Copy link

taro-bot bot commented Mar 12, 2020

CC @luckyadam

@taro-bot
Copy link

taro-bot bot commented Mar 12, 2020

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@yuche
Copy link
Contributor

yuche commented Mar 12, 2020

try alpha.7
Duplicate of #5675

@yuche yuche closed this as completed Mar 12, 2020
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

3 participants