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

linux下的fis 如何配置插件的位置?有 [ERROR] unable to load plugin [fis-parser-tomd]报错【已解决】 #821

Open
sdx11sdx opened this issue Aug 3, 2018 · 0 comments

Comments

@sdx11sdx
Copy link

sdx11sdx commented 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的用户执行,就通过了。
(⊙﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏﹏⊙)

@sdx11sdx 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
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

1 participant