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

fis release异常: Cannot read property 'useAutoload' of undefined #662

Open
yongsudehanzi opened this issue Sep 16, 2015 · 5 comments
Open

Comments

@yongsudehanzi
Copy link

大家好,小弟根据官方https://github.com/fex-team/fis-amd-demo 运行fis release
出现错误: [ERROR] Cannot read property 'useAutoload' of undefined
请问各位大神有没有遇到这种情况,解决方案能够告诉小弟,不甚感激!
附加配置:win7 64位 nodejs0.11.16(原先装0.10.34也存在此问题)

default

@yongsudehanzi
Copy link
Author

有人能告诉我吗?急

@2betop
Copy link
Contributor

2betop commented Sep 17, 2015

--verbose 看看详细信息,另外 csssprite 不支持 0.11 的版本,用 0.10.x 或者 0.12.x

@yongsudehanzi
Copy link
Author

恕我愚昧,我尝试着--verbose,请问这是什么错误?有什么解决方法

由于图片上传出错 这里给出错误代码
[DEBUG] 10:59:02.0074 [prepackager.derived] end
[DEBUG] 10:59:02.0077 [postpackager.autoload] start
[ERROR] Cannot read property 'useAutoload' of undefined
C:\Users\Administrator\AppData\Roaming\npm\node_modules\fis\node_modules\fis-command-release\release.js:201
throw e;
^
TypeError: Cannot read property 'useAutoload' of undefined
at C:\Users\Administrator\AppData\Roaming\npm\node_modules\fis-postpackager-autoload\index.js:389:62
at Function..map (C:\Users\Administrator\AppData\Roaming\npm\node_modules\fis\node_modules\fis-kernel\lib\util.js:130:23)
at module.exports (C:\Users\Administrator\AppData\Roaming\npm\node_modules\fis-postpackager-autoload\index.js:388:14)
at cb (C:\Users\Administrator\AppData\Roaming\npm\node_modules\fis\node_modules\fis-kernel\lib\release.js:115:9)
at C:\Users\Administrator\AppData\Roaming\npm\node_modules\fis\node_modules\fis-kernel\lib\util.js:711:17
at Array.forEach (native)
at Function.
.pipe (C:\Users\Administrator\AppData\Roaming\npm\node_modules\fis\node_modules\fis-kernel\lib\util.js:698:20)
at Object.module.exports as release
at release (C:\Users\Administrator\AppData\Roaming\npm\node_modules\fis\node_modules\fis-command-release\release.js:171:17)
at Command. (C:\Users\Administrator\AppData\Roaming\npm\node_modules\fis\node_modules\fis-command-release\release.js:351:17)

2betop added a commit to 2betop/fis-postpackager-autoload that referenced this issue Sep 17, 2015
hefangshi added a commit to hefangshi/fis-postpackager-autoload that referenced this issue Sep 17, 2015
@hefangshi
Copy link
Member

autoload插件已经发布0.1.1解决这个问题

@yongsudehanzi
Copy link
Author

ok, 敬上深深的谢意

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

3 participants