【发布时间】:2018-02-08 00:00:40
【问题描述】:
我正在尝试在我的应用程序中实现选项卡。当我尝试安装 npm 包时:
npm install ionic2-super-tabs --save
控制台打印:
npm ERR! path C:\Users\HH\Documents\ionicproject\node_modules\file:cordova-common-1.1.1.tgz
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall stat
npm ERR! enoent ENOENT: no such file or directory, stat 'C:\Users\HH\Documents\ionicproject\node_modules\file:cordova-common-1.1
.1.tgz'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
我该如何解决这个问题?
【问题讨论】:
-
你想在哪里安装?什么样的项目?
-
我想在我的 Ionic 项目中安装这个包,这是一个适用于 iOS 和 Android 的应用程序
-
你安装了cordova吗?
npm install -g ionic cordova然后只是ionic start myproject tabs
标签: node.js cordova ionic-framework ionic2 ionic3