-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Cannot read property 'parsed' of null 同时static文件好像没有打包到weapp下 #2736
Comments
补充上面的问题 |
我也遇到了这个问题,楼主解决了吗 |
提交ISSUE前请确保已认真阅读以下内容
Please read the following information carefully before you open an issue.
在提交issue之前必须确认以下问题:
Please make sure you understand the following points:
必须是一个bug或者功能新增。
It must be a bug or a feature request
必须是WePY相关问题,原生小程序问题去开发者论坛。
It must be a WePY issue.
已经在issue中搜索过,并且没有找到相似的issue或者解决方案。
I searched issue already but I didn't find any relevant issues or solutions.
完善下面模板中的信息
Please fill out the following template
阅读完后请在提交的issue中删除以上内容,包括分割线
DELETE THE INFORMATION ABOVE(INCLUDE THE SEPARATION LINE) BEFORE YOU OPEN AN ISSUE
Description
Cannot read property 'parsed' of null
Environment
Reproduce
新建一个标准的项目
在app.wpy 里pages 添加wpy文件编辑出错,添加tabbar后可复现上面的问题
Observed Results
无法编译通过
Expected Results
[期望表现]
编译通过
Relevant Code / Logs
TypeError: Cannot read property 'parsed' of null
[22:20:24] ERR! at comps.forEach.comp (/Users/xusen/.nvm/versions/node/v10.14.0/lib/node_modules/@wepy/cli/core/plugins/build/components.js:27:38)
[22:20:24] ERR! at Array.forEach ()
[22:20:24] ERR! at Compile.buildComponents (/Users/xusen/.nvm/versions/node/v10.14.0/lib/node_modules/@wepy/cli/core/plugins/build/components.js:7:11)
[22:20:24] ERR! at fns.forEach (/Users/xusen/.nvm/versions/node/v10.14.0/lib/node_modules/@wepy/cli/core/hook.js:41:20)
[22:20:24] ERR! at Array.forEach ()
[22:20:24] ERR! at Compile.hookSeq (/Users/xusen/.nvm/versions/node/v10.14.0/lib/node_modules/@wepy/cli/core/hook.js:35:9)
[22:20:24] ERR! at Compile.buildComponents (/Users/xusen/.nvm/versions/node/v10.14.0/lib/node_modules/@wepy/cli/core/compile.js:297:12)
[22:20:24] ERR! at Compile.buildComps (/Users/xusen/.nvm/versions/node/v10.14.0/lib/node_modules/@wepy/cli/core/compile.js:328:18)
[22:20:24] ERR! { TypeError: Cannot read property 'parsed' of null
[22:20:24] ERR! at comps.forEach.comp (/Users/xusen/.nvm/versions/node/v10.14.0/lib/node_modules/@wepy/cli/core/plugins/build/components.js:27:38)
[22:20:24] ERR! at Array.forEach ()
[22:20:24] ERR! at Compile.buildComponents (/Users/xusen/.nvm/versions/node/v10.14.0/lib/node_modules/@wepy/cli/core/plugins/build/components.js:7:11)
[22:20:24] ERR! at fns.forEach (/Users/xusen/.nvm/versions/node/v10.14.0/lib/node_modules/@wepy/cli/core/hook.js:41:20)
[22:20:24] ERR! at Array.forEach ()
[22:20:24] ERR! at Compile.hookSeq (/Users/xusen/.nvm/versions/node/v10.14.0/lib/node_modules/@wepy/cli/core/hook.js:35:9)
[22:20:24] ERR! at Compile.buildComponents (/Users/xusen/.nvm/versions/node/v10.14.0/lib/node_modules/@wepy/cli/core/compile.js:297:12)
[22:20:24] ERR! at Compile.buildComps (/Users/xusen/.nvm/versions/node/v10.14.0/lib/node_modules/@wepy/cli/core/compile.js:328:18)
[22:20:24] ERR! stack:
The text was updated successfully, but these errors were encountered: