You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
sdx11sdx
changed the title
linux下的fis 如何配置插件的位置?有 [ERROR] unable to load plugin [fis-parser-tomd]报错
linux下的fis 如何配置插件的位置?有 [ERROR] unable to load plugin [fis-parser-tomd]报错【已解决】
Aug 3, 2018
fis-conf.js 中有
//插件配置
fis.config.merge({
modules : {
//打包预处理插件
prepackager : {
html:'app',
},
//配置编译器插件,可以根据 文件后缀 将某种语言编译成标准的js、css、html语言。
parser:{
tpl : 'tomd',
}
}
});
但是执行fis release -r fis-conf.js -d release -cwl 后,报错:
[ERROR] unable to load plugin [fis-parser-tomd]
请问要怎么解决?
我fis是默认npm安装到linux下的。
解决:
是执行用户不对,我安装使用的普通用户,但是执行使用root用户,从而导致找不到fis的插件。
使用安装fis的用户执行,就通过了。
(⊙﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏⊙)
The text was updated successfully, but these errors were encountered: