草庐IT

display-plugin-updates

全部标签

node.js - npm update 不做任何事情

当我在package.json所在的应用程序文件夹中执行此代码时:npmupdate或npmupdate--save-dev它什么都不做。但是当我执行npmoutdated时会显示许多过时的包。那么我该如何更新所有的包呢?OS:Win10x64nodejs:6.2.2npm:3.10.7package.json{"name":"tgb-frontend","version":"0.0.0","license":"MIT","angular-cli":{},"scripts":{"start":"ngserve","lint":"tslint\"src/**/*.ts\"","test"

node.js - NPM 安装错误 :Unexpected end of JSON input while parsing near '...nt-webpack-plugin" :"0'

创建新的Angular5项目时:Node版本:8.9.2npm版本:5.5.1我的命令是:npminstall-g@angular/cli错误是:npmERR!**UnexpectedendofJSONinputwhileparsingnear'...nt-webpack-plugin":"0'**npmERR!Acompletelogofthisruncanbefoundin:npmERR!C:\Users\Aashitec\AppData\Roaming\npm-cache\_logs\2017-12-06T13_10_10_729Z-debug.logTheerrorlogish

javascript - 用 upsert : true is not updating in express, mongoose 更新?

varlogs=[{mobilenumber:'1',ref:3,points:1000,ctype:'mycredit',entry:'sdfsdf',entry:0},{mobilenumber:'1',ref:6,points:2000,ctype:'mycredit',entry:'sdfsdf',entry:0},{mobilenumber:'2',ref:7,points:2600,ctype:'mycredit',entry:'sdfsdf',entry:0},{mobilenumber:'2',ref:15,points:-1500,ctype:'mycredit',e

javascript - 用 upsert : true is not updating in express, mongoose 更新?

varlogs=[{mobilenumber:'1',ref:3,points:1000,ctype:'mycredit',entry:'sdfsdf',entry:0},{mobilenumber:'1',ref:6,points:2000,ctype:'mycredit',entry:'sdfsdf',entry:0},{mobilenumber:'2',ref:7,points:2600,ctype:'mycredit',entry:'sdfsdf',entry:0},{mobilenumber:'2',ref:15,points:-1500,ctype:'mycredit',e

docker - 使用 Docker Pipeline Plugin 时,在 Jenkins 中停止和删除 docker 容器的正确方法是什么?

我有一个构建和运行Docker机器的Jenkins管道,不是作为代理,而是使用脚本block以及Docker管道插件方法docker.build()和Image.run()。这工作正常,但如果构建失败,docker容器将继续运行!我目前在post{always{}}block中有Container.stop()但它似乎不起作用。我不希望ssh进入我的Jenkins服务器以在每次构建后删除容器,我不能只留下它,因为它有一个特定且必要的名称。无论构建失败,我如何停止和rm容器?我的管道:pipeline{agentnonestages{stage('Checkout'){agentanys

Docker 在 v1 插件注册表 : plugin not found 中找不到插件桥

我正在尝试使用graphcool运行此命令:graphcool-frameworklocalup我从Docker收到此错误,dockercouldnotfindpluginbridgeinv1pluginregistry:pluginnotfound我的Docker版本是18.03.0-ce问题是什么,我该如何解决? 最佳答案 如果您使用的是Windows;请用dockernetworkcreate--drivernatnetwork-name 关于Docker在v1插件注册表:plug

docker - 如何找到 "Docker Host URI"用于 Jenkins "Docker Plugin"?

是否有任何命令可以运行并找出“Docker主机URI”?我找到了一些相关的questions但没有完全明白。 最佳答案 将jenkins作为容器运行时的JenkinsDocker插件配置1)首先安装Docker插件2)转到管理Jenkins->系统配置->向下滚动到底部->添加云->Docker3)如果您将jenkins作为容器运行,则必须在dockerhosturi字段中输入docker主机的unix或tcp地址。但是由于您将jenkins作为容器运行,因此容器无法到达dockerhostunix端口4)所以我们必须运行另一个可以

docker - GitLab CI 因 maven-surefire-plugin 和 VM 崩溃而失败

我们有大约10个不同的应用程序,它们是带有Groovy的SpringBoot项目。我们所有的项目都在所有开发人员工作站中正确构建,并且直到昨天它们都在正常运行,但是今天突然间它们都停止了,只在我们的GitLabCI管道中停止工作,并出现以下错误:[INFO]Testsrun:0,Failures:0,Errors:0,Skipped:0[INFO][INFO]------------------------------------------------------------------------[INFO]BUILDFAILURE[INFO]-------------------

java - Maven 构建和 maven-failsafe-plugin - fork 的虚拟机在没有正确告别的情况下终止

我使用Docker和https://github.com/fabric8io/docker-maven-plugin用于我的集成测试。在我的Windows10(更新到Windows101709)机器上,我的Maven3.5.0构建遇到了以下错误:[ERROR]Failedtoexecutegoalorg.apache.maven.plugins:maven-failsafe-plugin:2.20.1:verify(default)onprojectapi:Therearetestfailures.[ERROR][ERROR]PleaserefertoD:\Projects\examp

docker - 通过 fabric8io docker-maven-plugin 将 .war 部署到 Docker 镜像中

我对Docker和fabric8iodocker-maven-plugin很陌生。我很难将.war部署到由jboss/wildfly派生的图像中。我可以通过命令行成功构建.war附带的图像,但我不能通过已经提到的插件来做同样的事情。据我所知,一旦你给出正确的上下文和Dockerfile它应该只是一个问题:${project.build.finalName}.${project.packaging}...artifact但我遇到了这个错误:[INFO]Failedtocreateassemblyfordockerimage(withmode'dir'):Errorcreatingasse