Error: Could not locate the bindings file.use framework7 CLI
问题描述
使用Framework7 Command-Line Interface (CLI)工具创建模版出现问题
sicmatr1xMacBook-Pro:f7demo sicmatr1x$ framework7 create --ui
/usr/local/lib/node_modules/framework7-cli/node_modules/bindings/bindings.js:135
throw err;
^
Error: Could not locate the bindings file. Tried:
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/build/sharp.node
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/build/Debug/sharp.node
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/build/Release/sharp.node
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/out/Debug/sharp.node
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/Debug/sharp.node
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/out/Release/sharp.node
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/Release/sharp.node
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/build/default/sharp.node
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/compiled/11.10.1/darwin/x64/sharp.node
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/addon-build/release/install-root/sharp.node
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/addon-build/debug/install-root/sharp.node
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/addon-build/default/install-root/sharp.node
→ /usr/local/lib/node_modules/framework7-cli/node_modules/sharp/lib/binding/node-v67-darwin-x64/sharp.node
at bindings (/usr/local/lib/node_modules/framework7-cli/node_modules/bindings/bindings.js:126:9)
at Object.<anonymous> (/usr/local/lib/node_modules/framework7-cli/node_modules/sharp/lib/constructor.js:10:34)
at Module._compile (internal/modules/cjs/loader.js:738:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:749:10)
at Module.load (internal/modules/cjs/loader.js:630:32)
at tryModuleLoad (internal/modules/cjs/loader.js:570:12)
at Function.Module._load (internal/modules/cjs/loader.js:562:3)
at Module.require (internal/modules/cjs/loader.js:667:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/usr/local/lib/node_modules/framework7-cli/node_modules/sharp/lib/index.js:3:15)
问题出现的平台版本
MacOs 10.13.6
相关链接
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论