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

复刻Taro实战文章后,tuture up报错"Error: no parsers regisetered for" #301

Open
tiancheng2000 opened this issue May 29, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@tiancheng2000
Copy link

tiancheng2000 commented May 29, 2020

简要描述 Bug
Fork了感兴趣的《Taro 多端小程序开发大型实战》项目到本地,tuture up时报错rror: no parsers registered for:(原Log就缺一个'E')

Tuture 版本信息
@tuture/cli/0.0.6 win32-x64 node-v12.16.2

详细的报错调用栈信息

"rror: no parsers registered for: "
    at parse (C:/Users/Timothy/AppData/Roaming/npm/node_modules/@tuture/cli/node_modules/snapdragon/lib/parser.js:473:15)
    at Parser.parse (C:/Users/Timothy/AppData/Roaming/npm/node_modules/@tuture/cli/node_modules/snapdragon/lib/parser.js:477:24)
    at Snapdragon.parse (C:/Users/Timothy/AppData/Roaming/npm/node_modules/@tuture/cli/node_modules/snapdragon/index.js:122:28)
    at Snapdragon.<anonymous> (C:/Users/Timothy/AppData/Roaming/npm/node_modules/@tuture/cli/node_modules/micromatch/lib/utils.js:47:45)
    at parse (C:/Users/Timothy/AppData/Roaming/npm/node_modules/@tuture/cli/node_modules/micromatch/index.js:739:26)
    at memoize (C:/Users/Timothy/AppData/Roaming/npm/node_modules/@tuture/cli/node_modules/micromatch/index.js:859:13)
    at Function.micromatch.parse (C:/Users/Timothy/AppData/Roaming/npm/node_modules/@tuture/cli/node_modules/micromatch/index.js:745:10)
    at create (C:/Users/Timothy/AppData/Roaming/npm/node_modules/@tuture/cli/node_modules/micromatch/index.js:686:44)
    at C:/Users/Timothy/AppData/Roaming/npm/node_modules/@tuture/cli/node_modules/micromatch/index.js:695:16
    at memoize (C:/Users/Timothy/AppData/Roaming/npm/node_modules/@tuture/cli/node_modules/micromatch/index.js:859:13)

复现步骤
复现 Bug 的完整步骤:

  1. 打开 ...
  2. 点击 ...
  3. 发生错误

期望的行为逻辑
描述一下你本来期望发生的事情。

屏幕截图
出错时的屏幕截图(有 GIF 的话就更棒啦!)

@tiancheng2000 tiancheng2000 added the bug Something isn't working label May 29, 2020
@pftom
Copy link
Contributor

pftom commented May 29, 2020

@tiancheng2000 我马上看一下,感谢你的问题!

@pftom
Copy link
Contributor

pftom commented May 29, 2020

@tiancheng2000 现在的 cli 版本已经升级到 @tuture/cli/0.0.6 darwin-x64 node-v14.0.0 了哦,可以通过 npm update -g @tuture/cli 升级到最新的版本使用

@tiancheng2000
Copy link
Author

感谢敏捷回复!这是需要升级node了、不过最近不方便升,先就用our-tuture练手吧😄

@pftom
Copy link
Contributor

pftom commented May 30, 2020

@tiancheng2000 其实只需要升级 @tuture/cli 就可以啦,那个只是我的 Node 开发环境哦

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