【问题标题】:Onsen UI with vuejs installation error带有 vuejs 安装错误的温泉 UI
【发布时间】:2017-11-19 09:32:35
【问题描述】:

我正在尝试开始使用 onsenUI vue。
当尝试像这样使用 monaca 创建一个新项目时:

monaca create helloworld

并选择 onsenui-v2-vue-splitter 模板,它给了我这样的错误:

npm WARN package.json onsenui-v2-vue-splitter@2.2.7+20170328.1 No description
npm WARN package.json onsenui-v2-vue-splitter@2.2.7+20170328.1 No repository field.
npm WARN package.json onsenui-v2-vue-splitter@2.2.7+20170328.1 No README data
npm WARN package.json onsenui-v2-vue-splitter@2.2.7+20170328.1 No license field.
npm WARN peerDependencies The peer dependency onsenui@~2.4.0 included from vue-onsenui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency 
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
Error occurred while creating project: Failed to install template dependencies.

我的 npm 版本是 3.10.10

有什么想法可以解决这个问题吗?
问候,

【问题讨论】:

    标签: node.js npm vuejs2 onsen-ui monaca


    【解决方案1】:

    如错误中所述,您未能安装模板依赖项。请按照Getting Started with Vue 2 & Onsen UI 2 Template上的分步说明进行操作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-12-04
      • 1970-01-01
      相关资源
      最近更新 更多