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

除了h5 可以编译成功,其他都不行报以下错误 #2610

Closed
mienv567 opened this issue Mar 28, 2019 · 2 comments
Closed

除了h5 可以编译成功,其他都不行报以下错误 #2610

mienv567 opened this issue Mar 28, 2019 · 2 comments

Comments

@mienv567
Copy link

TypeError: Cannot read property 'type' of null
at traverseObjectNode (C:\Users\Administrator\AppData\Roaming\npm\node_modul
es@tarojs\cli\src\weapp.js:137:12)
at node.elements.map.item (C:\Users\Administrator\AppData\Roaming\npm\node_m
odules@tarojs\cli\src\weapp.js:162:38)
at Array.map ()
at traverseObjectNode (C:\Users\Administrator\AppData\Roaming\npm\node_modul
es@tarojs\cli\src\weapp.js:162:26)
at properties.forEach.p (C:\Users\Administrator\AppData\Roaming\npm\node_mod
ules@tarojs\cli\src\weapp.js:145:18)
at Array.forEach ()
at traverseObjectNode (C:\Users\Administrator\AppData\Roaming\npm\node_modul
es@tarojs\cli\src\weapp.js:140:16)
at ClassProperty (C:\Users\Administrator\AppData\Roaming\npm\node_modules@t
arojs\cli\src\weapp.js:381:21)
at NodePath._call (C:\Users\Administrator\AppData\Roaming\npm\node_modules@
tarojs\cli\node_modules\babel-traverse\lib\path\context.js:76:18)
at NodePath.call (C:\Users\Administrator\AppData\Roaming\npm\node_modules@t
arojs\cli\node_modules\babel-traverse\lib\path\context.js:48:17)
编译 所有页面
(node:11612) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '
pages' of undefined
at buildPages (C:\Users\Administrator\AppData\Roaming\npm\node_modules@taro
js\cli\src\weapp.js:1190:27)
at Object.build (C:\Users\Administrator\AppData\Roaming\npm\node_modules@ta
rojs\cli\src\weapp.js:2215:9)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:744:11)
at startup (internal/bootstrap/node.js:285:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
(node:11612) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This
error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch(). (rejectio
n id: 2)
(node:11612) [DEP0018] DeprecationWarning: Unhandled promise rejections are depr
ecated. In the future, promise rejections that are not handled will terminate th
e Node.js process with a non-zero exit code.

@taro-bot
Copy link

taro-bot bot commented Mar 28, 2019

欢迎提交 Issue~

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

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

Good luck and happy coding~

@taro-bot
Copy link

taro-bot bot commented Apr 8, 2019

Hello~

您的问题我们无法复现。如果有空的话还请拔冗提供一个简单的复现 demo,否则这个 issue 将在 15 天后被自动关闭。

如果您在这 15 天中更新更多信息自动关闭的流程会自动取消,如有其他问题也可以发起新的 Issue。

Good luck and happy coding~

@taro-bot taro-bot bot removed the to be closed label Apr 12, 2019
@taro-bot taro-bot bot closed this as completed Apr 12, 2019
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

2 participants