我有一个用ionic 3制作的项目,我想试着启动它,但这些依赖项不让我安装,有人知道这类问题
我尝试执行npm安装。
npm WARN @ionic-native/barcode-scanner@3.14.0 requires a peer of @angular/core@* but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/camera@3.14.0 requires a peer of @angular/core@* but none is installe
当我试着
使用以下代码
D:\whatsapp>meteor npm install ionic-scripts --save
npm WARN angular-meteor@1.3.11 requires a peer of angular@^1.4.0 but none was installed.
npm WARN ionic-scripts@1.3.2 requires a peer of angular@^1.5.3 but none was installed.
npm WARN ionic-scripts@1.3.2 requires a peer of angular-
我有一个Node.js项目,它有几个依赖项。
我创建了package.json文件(npm init),并尝试安装所有相关的包
(npm install all)或(npm install)
使用npm install,我得到了以下结果:
npm notice created a lockfile as package-lock.json. You should commit this file.
但是当我尝试运行的时候,我得到了一个包丢失的错误(即express,我需要手动安装它)
有没有一种方法(命令)一次(用一个命令)安装所有相关的包和依赖项?(而不是手动安装每个包)?
我想用ng-引导。
文档要求将引导CSS作为依赖项安装,但不包括jQuery。
如果我用npm安装引导程序,就会得到警告,它需要jquery和popper。
$ npm i -S bootstrap
npm WARN bootstrap@4.1.3 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN bootstrap@4.1.3 requires a peer of popper.js@^1.14.3 but none
我正在尝试运行Ionic并使用Ionic框架Ionic docs教程进行安装,但是当我运行Ionic服务时,我的浏览器打开时出现错误,'Cannot GET /‘ 我使用npm install -g @ionic/cli安装并创建了基本模板选项卡ionic start myApp tabs 这是来自离子服务的错误 > ng run app:serve --host=localhost --port=8100
[ng] Browserslist: caniuse-lite is outdated. Please run next command `npm update`
[ng]
我使用的是Ionic v2.1.8,当我运行命令"npm install“时,我会看到很多类似下面这样的警告:
C:\xampp\htdocs\AppFineMobile>npm install
npm WARN @angular/compiler@2.4.8 requires a peer of @angular/core@2.4.8 but none was installed.
npm WARN @angular/compiler-cli@2.4.8 requires a peer of @angular/core@2.4.8 but none was installed.
我正在尝试安装一些npm模块,一切正常,直到我尝试安装已安装模块的依赖项。npm显示以下日志:
$ sudo npm install -g
npm ERR! addLocal Could not install .
npm ERR! Error: ENOENT, open 'package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://githu
我用git克隆了一个项目,该项目是用ionic 2创建的,但是当我执行re这个节点的命令时 _ 模块文件夹我得到了这个错误。 npm install
npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
npm ERR! code ETARGET
npm ERR! notarget No matching version found for ionic-native@^3.5.0
npm ERR! notarget In most cases you or one of your depe
我使用的是离子3,在添加任何Cordova插件时,我没有指定任何版本。如何维护离子4和离子3项目之间插件的兼容性,以及如何确定安装了哪个版本的插件?
举个例子:
我安装了本机http
npm install @ionic-native/http
npm WARN @ionic-native/http@5.2.0 requires a peer of rxjs@^6.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/http@5.2.0 requi
我收到了以下警告,但我不知道如何更新它们。我还试图安装所需的依赖项,但它不起作用。
npm WARN ajv-keywords@2.1.0 requires a peer of ajv@>=5.0.0 but none was installed.
npm WARN ionic2-super-tabs@2.6.3 requires a peer of ionic-angular@^3.4.0 but none was installed.
npm WARN ng2-translate@5.0.0 requires a peer of @angular/core@^2.0.0 but no