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

【2.0.0-beta4】快应用环境依赖包判断,path路径解析失败 #4944

Closed
Issacpeng opened this issue Nov 27, 2019 · 6 comments
Closed
Assignees

Comments

@Issacpeng
Copy link
Collaborator

问题描述

快应用环境依赖包判断,path路径解析失败

复现步骤

1.安装最新的2.0.0-beta4 CLI
2.taro init执行初始化项目
3.taro build --type quickapp --watch 执行快应用编译

/**
 * 这段注释后可以贴代码
 * 提供完整可复现的代码和整理好代码格式,有助于我们快速定位问题,节省你我时间
 * 代码提供不全或代码格式混乱的 issues 【有可能会被忽略】
 * 
 * 查看如何插入代码:https://coding.net/help/doc/project/markdown.html#i-5
 */

期望行为

能够正常运行

报错信息

image

系统信息

补充信息

如果您有功能上的建议,可以提到 FeatHub

使用上的问题,欢迎在「Taro 社区」一起交流

@taro-bot
Copy link

taro-bot bot commented Nov 27, 2019

CC @luckyadam

@taro-bot
Copy link

taro-bot bot commented Nov 27, 2019

欢迎提交 Issue~

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

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

Good luck and happy coding~

@shenghanqin
Copy link
Collaborator

@Issacpeng 你修改了config里面的配置,以及把所有的依赖都换成beta4版本了把?

@Issacpeng
Copy link
Collaborator Author

是的,全局安装2.0.0-beta4版本的CLI之后,删除了node_modules包,重新进行了依赖包安装。

@Issacpeng
Copy link
Collaborator Author

已提交PR修复#4955

@luckyadam
Copy link
Member

394f73a

@luckyadam luckyadam reopened this Dec 2, 2019
@Chen-jj Chen-jj closed this as completed Jul 3, 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

4 participants