alibaba / schema-plugin-flow

A highly extensible JavaScript library, abbreviated as Sifo. 一个高扩展性、可二开的插件式前端开发框架

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setup vue example error

wulie88 opened this issue · comments

following shells:

$ git clone https://github.com/alibaba/schema-plugin-flow.git
$ cd schema-plugin-flow
$ npm run i
$ npm run i-vue
$ npm run start-vue

show error on npm run start-vue

ERROR Failed to compile with 1 errors

This relative module was not found:

  • ./lib/index.js in ../packages/sifo-vue/index.js

following shells:

$ git clone https://github.com/alibaba/schema-plugin-flow.git
$ cd schema-plugin-flow
$ npm run i
$ npm run i-vue
$ npm run start-vue

show error on npm run start-vue

ERROR Failed to compile with 1 errors

This relative module was not found:

  • ./lib/index.js in ../packages/sifo-vue/index.js

if you just want to see how it run. you can run :

cd ./examples-vue
npm uninstall @schema-plugin-flow/sifo-vue -s 
npm install @schema-plugin-flow/sifo-vue -s

following shells:

$ git clone https://github.com/alibaba/schema-plugin-flow.git
$ cd schema-plugin-flow
$ npm run i
$ npm run i-vue
$ npm run start-vue

show error on npm run start-vue

ERROR Failed to compile with 1 errors

This relative module was not found:

  • ./lib/index.js in ../packages/sifo-vue/index.js

I've tried to run these shells and they work well.

It build libs after run 'npm run i',did you see any error after 'npm run i' ?

or you can try like what @qq5050595531 said.