This dependency was not found:
* chameleon-bridge in ./node_modules/chameleon-api/src/lib/sdk/cmlBridge.js, ./node_modules/chameleon-runtime/src/interfaces/bootstrap/index.interface
复现:
git clone https://github.com/chameleon-team/chameleon-bridge
cd chameleon-bridge
npm install
npm link
git clone https://github.com/chameleon-team/chameleon-api
cd chameleon-api
npm install
npm link
git clone https://github.com/chameleon-team/cml-demo
cd cml-demo
npm install
npm link chameleon-bridge
npm link chameleon-api
cml weex build
在chameleon-bridge跟chameleon-api都是本地npm link依赖时,编译cml-demo报错:
复现:
环境: win10 chameleon-tool@1.0.4、ubuntu18.04 chameleon-tool@1.0.5