【问题标题】:Installing error for jasmine茉莉花安装错误
【发布时间】:2016-09-29 15:30:53
【问题描述】:

我正在尝试在我的节点项目文件夹中安装 jasmine,但最终出现了一些错误,我不知道,谁能给我一些帮助....

npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global jasmine-node@1.14.5 should be installed with -g
npm WARN unmet dependency /var/www/html/meanjs/node_modules/phantomjs-prebuilt requires request@'~2.74.0' but will load
npm WARN unmet dependency /var/www/html/meanjs/node_modules/request,
npm WARN unmet dependency which is version 2.75.0
npm WARN unmet dependency /var/www/html/meanjs/node_modules/protractor requires jasmine@'2.4.1' but will load
npm WARN unmet dependency /var/www/html/meanjs/node_modules/jasmine,
npm WARN unmet dependency which is version 2.5.2
npm ERR! Linux 4.4.0-38-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "jasmine-node" "--save"
npm ERR! node v4.6.0
npm ERR! npm  v2.15.9
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package grunt@1.0.1 does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer grunt-contrib-cssmin@0.12.3 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-mocha-istanbul@5.0.2 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-ng-annotate@2.0.2 wants grunt@>=0.4.5
npm ERR! peerinvalid Peer grunt-nodemon@0.4.2 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-sass@1.2.1 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-contrib-connect@0.11.2 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-contrib-csslint@0.4.0 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-karma@0.12.2 wants grunt@>=0.4.x
npm ERR! peerinvalid Peer grunt-protractor-runner@3.2.0 wants grunt@>=0.4.0
npm ERR! peerinvalid Peer grunt-istanbul@0.6.2 wants grunt@~0.4.5

npm ERR! Please include the following file with any support request:
npm ERR!     /var/www/html/meanjs/modules/npm-debug.log

【问题讨论】:

    标签: node.js jasmine package.json


    【解决方案1】:

    只需安装更新的 grunt 版本。确保您非常仔细地遵循 grunt 项目设置说明。

    【讨论】:

    • 我尝试使用命令 npm install grunt-version --save-dev 安装新的 grunt,但同样的错误仍然存​​在............
    • 好的,您可能需要花一些时间来提高英语技能。要么就是这样,要么试试 Adderall——不确定。
    猜你喜欢
    • 1970-01-01
    • 2017-01-15
    • 2014-12-12
    • 1970-01-01
    • 2016-08-03
    • 2016-05-28
    • 1970-01-01
    • 2015-07-26
    • 1970-01-01
    相关资源
    最近更新 更多