Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
677 views
in Technique[技术] by (71.8m points)

【taro】找不到项目配置文件config/index,请确定当前目录是 Taro 项目根目录!

今天下午开始所有taro的项目都报这个错误,重新卸载安装脚手架版本和Node_modules都是报这个错误?就连新创建的项目也是如此(不至于新项目依赖不一致吧)

使用window开发的,不知道和window路径解析有没有关系。。。今天之前开发taro都没有任何问题。。。不明???

实在没有办法了,问问大家有没有遇到过


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

找到问题所在了,Taro脚手架低于2.2.6版本在window就会有路径问题


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...