Giter Site home page Giter Site logo

cli's People

Contributors

atomist-bot avatar atomist[bot] avatar cdupuis avatar ddgenome avatar jessitron avatar johnsonr avatar lievendoclo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cli's Issues

Code Inspection: npm audit on nortissej/spell-out-kubernetes

js-yaml:<3.13.0

  • (warn) Denial of Service Upgrade to version 3.13.0.
    • js-yaml:3.12.2:
      • @atomist/automation-client>apollo>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-codegen-flow>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-codegen-scala>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-codegen-swift>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-codegen-typescript>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>graphql-code-generator>graphql-config>js-yaml
      • @atomist/sdm-core>@kubernetes/client-node>js-yaml
      • tslint>js-yaml
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml
    • js-yaml:3.12.0:
      • mocha>js-yaml

[atomist:code-inspection:nortissej/spell-out-kubernetes=@atomist/atomist-sdm]

Add support for missing resource providers to the CLI

We need support for the following resource providers in the CLI:

  • DockerRegistryProvider
  • BinaryRepositoryProvider
  • KubernetesClusterProvider
  • ScmProvider

the following actions should be supported:

  • create
  • configure
  • delete

Create sdm fails setting property 'branch' of undefined

Running atomist create sdm using the CLI fails with the error Cannot set property 'branch' of undefined with either the empty or uhura SDM and using both user and org owners.

$ atomist create sdm

┌─────────────────────────────────────────────────────────────────────────────────────────┐
│                                                                                         │
│   ## Create a new Software Delivery Machine (SDM) repository                            │
│                                                                                         │
│   Choose blank for a new SDM to which you can add your own functionality.               │
│                                                                                         │
│   Choose uhura for a new SDM that provides self service software delivery               │
│   for common project types.                                                             │
│                                                                                         │
│       If you're new to Atomist, choose "uhura" to see Atomist's capabilities quickly.   │
│                                                                                         │
└─────────────────────────────────────────────────────────────────────────────────────────┘

? Type of SDM to create uhura
Please follow the prompts to create a new SDM

? name of the new repository uhura
? (mapped parameter) target-owner looking-for-freedom
# general 2019-04-15 09:22:10 Create Project
  Cloning seed project from starting point atomist/uhura at https://github.com/atomist/uhura
# general 2019-04-15 09:22:11 Create Project
  Project creation for looking-for-freedom/uhura failed:
  Cannot set property 'branch' of undefined

Code Inspection: npm audit on nortissej/usage

axios:<0.18.1

  • (warn) Denial of Service Upgrade to 0.18.1 or later.
    • axios:0.18.0:
      • @atomist/sdm-core>axios

graphql-code-generator:<0.18.2

  • (error) Insecure Default Configuration Upgrade to version 0.18.2 or later.
    • graphql-code-generator:0.16.1:
      • @atomist/automation-client>graphql-code-generator

js-yaml:<3.13.0

  • (warn) Denial of Service Upgrade to version 3.13.0.
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml

js-yaml:<3.13.1

  • (error) Code Injection Upgrade to version 3.13.1.
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml

marked:>=0.3.14 <0.6.2

[atomist:code-inspection:nortissej/usage=@atomist/atomist-sdm]

Code Inspection: npm audit on cli-support-for-resource-providers

axios:<0.18.1

  • (warn) Denial of Service Upgrade to 0.18.1 or later.
    • axios:0.18.0:
      • @atomist/sdm-core>axios

graphql-code-generator:<0.18.2

  • (error) Insecure Default Configuration Upgrade to version 0.18.2 or later.
    • graphql-code-generator:0.16.1:
      • @atomist/automation-client>graphql-code-generator

js-yaml:<3.13.0

  • (warn) Denial of Service Upgrade to version 3.13.0.
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml

js-yaml:<3.13.1

  • (error) Code Injection Upgrade to version 3.13.1.
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml

marked:>=0.3.14 <0.6.2

[atomist:code-inspection:cli-support-for-resource-providers=@atomist/atomist-sdm]

Code Inspection: npm audit on goal-monitor

graphql-code-generator:>=0

  • (error) Insecure Default Configuration No fix is currently available. Consider using an alternative module until a fix is made available.
    • graphql-code-generator:0.16.1:
      • @atomist/automation-client>graphql-code-generator

handlebars:<=4.0.13 || >=4.1.0 <4.1.2

  • (error) Prototype Pollution For handlebars 4.1.x upgrade to 4.1.2 or later.
    For handlebars 4.0.x upgrade to 4.0.14 or later.
    • handlebars:4.1.0:
      • @atomist/sdm-local>express-handlebars>handlebars
      • typedoc>@types/handlebars>handlebars
      • typedoc>handlebars

js-yaml:<3.13.0

  • (warn) Denial of Service Upgrade to version 3.13.0.
    • js-yaml:3.12.2:
      • @atomist/automation-client>graphql-code-generator>graphql-config>js-yaml
      • @atomist/sdm-core>@kubernetes/client-node>js-yaml
      • @kubernetes/client-node>js-yaml
      • tslint>js-yaml
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml
    • js-yaml:3.12.0:
      • mocha>js-yaml

js-yaml:<3.13.1

  • (error) Code Injection Upgrade to version 3.13.1.
    • js-yaml:3.12.2:
      • @atomist/automation-client>graphql-code-generator>graphql-config>js-yaml
      • @atomist/sdm-core>@kubernetes/client-node>js-yaml
      • @kubernetes/client-node>js-yaml
      • tslint>js-yaml
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml
    • js-yaml:3.12.0:
      • mocha>js-yaml

marked:>=0.3.14 <0.6.2

tar:<4.4.2

  • (error) Arbitrary File Overwrite Upgrade to version 4.4.2 or later.
    • tar:2.2.1:
      • @atomist/sdm-core>npm>libcipm>npm-lifecycle>node-gyp>tar
      • @atomist/sdm-core>npm>libnpm>npm-lifecycle>node-gyp>tar
      • @atomist/sdm-core>npm>node-gyp>tar
      • @atomist/sdm-core>npm>npm-lifecycle>node-gyp>tar

[atomist:code-inspection:goal-monitor=@atomist/atomist-sdm]

Code Inspection: npm audit on kube-install-104

lodash:<4.17.12

  • (error) Prototype Pollution Update to version 4.17.12 or later. - CVE-2019-10744
    • lodash:4.17.11:
      • @atomist/automation-client>graphql-code-generator>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-client>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-client>graphql-codegen-plugin-helpers>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-client>graphql-codegen-typescript-common>graphql-codegen-plugin-helpers>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-common>graphql-codegen-plugin-helpers>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-server>graphql-codegen-typescript-common>graphql-codegen-plugin-helpers>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-client>graphql-codegen-typescript-common>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-common>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-server>graphql-codegen-typescript-common>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-code-generator>graphql-toolkit>lodash

[atomist:code-inspection:kube-install-104=@atomist/atomist-sdm]

Make "atomist config" print status

When I type "atomist config" and I'm already configured, I would like it to report about the configuration.
and maybe tell me what to type if I want to change it.

currently it prints nothing.

Code Inspection: Tslint on deploy-command

comment-format

import-blacklist

  • lib/deploy.ts:20: (error) Importing this module is blacklisted. Try importing a submodule instead.

no-null-keyword

ordered-imports

semicolon

trailing-comma

[atomist:code-inspection:deploy-command=@atomist/atomist-sdm]

Add login command to connect to an workspace

atomist login|connect --api-key <> --workspace-ids <> should create the correct entries in the local config or if omitted log the user in, create an api key and provide access to the list of workspaces.

Code Inspection: npm audit on repository-start

graphql-code-generator:>=0

  • (error) Insecure Default Configuration No fix is currently available. Consider using an alternative module until a fix is made available.
    • graphql-code-generator:0.16.1:
      • @atomist/automation-client>graphql-code-generator

handlebars:<=4.0.13 || >=4.1.0 <4.1.2

  • (error) Prototype Pollution For handlebars 4.1.x upgrade to 4.1.2 or later.
    For handlebars 4.0.x upgrade to 4.0.14 or later.
    • handlebars:4.1.0:
      • @atomist/sdm-local>express-handlebars>handlebars
      • typedoc>@types/handlebars>handlebars
      • typedoc>handlebars

js-yaml:<3.13.0

  • (warn) Denial of Service Upgrade to version 3.13.0.
    • js-yaml:3.12.2:
      • @atomist/automation-client>graphql-code-generator>graphql-config>js-yaml
      • @atomist/sdm-core>@kubernetes/client-node>js-yaml
      • tslint>js-yaml
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml
    • js-yaml:3.12.0:
      • mocha>js-yaml

js-yaml:<3.13.1

  • (error) Code Injection Upgrade to version 3.13.1.
    • js-yaml:3.12.2:
      • @atomist/automation-client>graphql-code-generator>graphql-config>js-yaml
      • @atomist/sdm-core>@kubernetes/client-node>js-yaml
      • tslint>js-yaml
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml
    • js-yaml:3.12.0:
      • mocha>js-yaml

marked:>=0.3.14 <0.6.2

tar:<4.4.2

  • (error) Arbitrary File Overwrite Upgrade to version 4.4.2 or later.
    • tar:2.2.1:
      • @atomist/sdm-core>npm>libcipm>npm-lifecycle>node-gyp>tar
      • @atomist/sdm-core>npm>libnpm>npm-lifecycle>node-gyp>tar
      • @atomist/sdm-core>npm>node-gyp>tar
      • @atomist/sdm-core>npm>npm-lifecycle>node-gyp>tar

[atomist:code-inspection:repository-start=@atomist/atomist-sdm]

Give indication of input when pasting APIKey

That hidden input was a problem, because we could not tell whether we had pasted it in, and the result we got was like ten copies of the APIKey concatenated. Either don't hide it or make it show dots or somethign

Get rid of deprecation warnings when installing cli

cdupuis@imac-pro:~ $ npm install -g @atomist/cli
npm WARN deprecated [email protected]: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated [email protected]: Use uuid module instead
/usr/local/bin/atomist -> /usr/local/lib/node_modules/@atomist/cli/index.js
/usr/local/bin/@atomist -> /usr/local/lib/node_modules/@atomist/cli/index.js
/usr/local/bin/atomist-githook -> /usr/local/lib/node_modules/@atomist/cli/githook.js
+ @atomist/[email protected]
updated 1 package in 34.771s

Code Inspection: npm audit on bom

graphql-code-generator:<0.18.2

  • (error) Insecure Default Configuration Upgrade to version 0.18.2 or later.
    • graphql-code-generator:0.16.1:
      • @atomist/automation-client>graphql-code-generator

handlebars:<=4.0.13 || >=4.1.0 <4.1.2

  • (error) Prototype Pollution For handlebars 4.1.x upgrade to 4.1.2 or later.
    For handlebars 4.0.x upgrade to 4.0.14 or later.
    • handlebars:4.1.0:
      • typedoc>@types/handlebars>handlebars
      • typedoc>handlebars

js-yaml:<3.13.0

  • (warn) Denial of Service Upgrade to version 3.13.0.
    • js-yaml:3.12.2:
      • @atomist/automation-client>graphql-code-generator>graphql-config>js-yaml
      • @atomist/sdm-core>@kubernetes/client-node>js-yaml
      • tslint>js-yaml
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml
    • js-yaml:3.12.0:
      • mocha>js-yaml

js-yaml:<3.13.1

  • (error) Code Injection Upgrade to version 3.13.1.
    • js-yaml:3.12.2:
      • @atomist/automation-client>graphql-code-generator>graphql-config>js-yaml
      • @atomist/sdm-core>@kubernetes/client-node>js-yaml
      • tslint>js-yaml
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml
    • js-yaml:3.12.0:
      • mocha>js-yaml

marked:>=0.3.14 <0.6.2

[atomist:code-inspection:bom=@atomist/atomist-sdm]

Commands not working on MS Windows

Commands are not working on MS Windows since the switch from child_process.exec to child_process.spawn.

exec spawns a shell which properly deals with both .exe, .bat, and .cmd files on MS Windows. spawn properly handles .exe but not .bat and .cmd. See https://nodejs.org/api/child_process.html#child_process_spawning_bat_and_cmd_files_on_windows for the current status and nodejs/node-v0.x-archive#2318 for more context.

Reference: https://nodejs.org/api/child_process.html

Code Inspection: npm audit on deploy-command

fstream:<1.0.12

  • (error) Arbitrary File Overwrite Upgrade to version 1.0.12 or later.
    • fstream:1.0.11:
      • @atomist/sdm-core>npm>libcipm>npm-lifecycle>node-gyp>fstream
      • @atomist/sdm-core>npm>libcipm>npm-lifecycle>node-gyp>tar>fstream
      • @atomist/sdm-core>npm>libnpm>npm-lifecycle>node-gyp>fstream
      • @atomist/sdm-core>npm>libnpm>npm-lifecycle>node-gyp>tar>fstream
      • @atomist/sdm-core>npm>node-gyp>fstream
      • @atomist/sdm-core>npm>node-gyp>tar>fstream
      • @atomist/sdm-core>npm>npm-lifecycle>node-gyp>fstream
      • @atomist/sdm-core>npm>npm-lifecycle>node-gyp>tar>fstream

graphql-code-generator:>=0

  • (error) Insecure Default Configuration No fix is currently available. Consider using an alternative module until a fix is made available.
    • graphql-code-generator:0.16.1:
      • @atomist/automation-client>graphql-code-generator

handlebars:<=4.0.13 || >=4.1.0 <4.1.2

  • (error) Prototype Pollution For handlebars 4.1.x upgrade to 4.1.2 or later.
    For handlebars 4.0.x upgrade to 4.0.14 or later.
    • handlebars:4.1.0:
      • @atomist/sdm-local>express-handlebars>handlebars
      • typedoc>@types/handlebars>handlebars
      • typedoc>handlebars

js-yaml:<3.13.0

  • (warn) Denial of Service Upgrade to version 3.13.0.
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml
    • js-yaml:3.12.0:
      • mocha>js-yaml

js-yaml:<3.13.1

  • (error) Code Injection Upgrade to version 3.13.1.
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml
    • js-yaml:3.12.0:
      • mocha>js-yaml

marked:>=0.3.14 <0.6.2

tar:<2.2.2 || >=3.0.0 <4.4.2

  • (error) Arbitrary File Overwrite For tar 4.x, upgrade to version 4.4.2 or later.
    For tar 2.x, upgrade to version 2.2.2 or later.
    • tar:2.2.1:
      • @atomist/sdm-core>npm>libcipm>npm-lifecycle>node-gyp>tar
      • @atomist/sdm-core>npm>libnpm>npm-lifecycle>node-gyp>tar
      • @atomist/sdm-core>npm>node-gyp>tar
      • @atomist/sdm-core>npm>npm-lifecycle>node-gyp>tar

[atomist:code-inspection:deploy-command=@atomist/atomist-sdm]

Code Inspection: npm audit on kube-fetch

lodash:<4.17.12

  • (error) Prototype Pollution Update to version 4.17.12 or later. - CVE-2019-10744
    • lodash:4.17.11:
      • @atomist/automation-client>graphql-code-generator>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-code-generator>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-client>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-client>graphql-codegen-plugin-helpers>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-client>graphql-codegen-typescript-common>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-client>graphql-codegen-typescript-common>graphql-codegen-plugin-helpers>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-common>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-common>graphql-codegen-plugin-helpers>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-server>graphql-codegen-typescript-common>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-server>graphql-codegen-typescript-common>graphql-codegen-plugin-helpers>graphql-codegen-core>graphql-toolkit>lodash

marked:>=0.3.14 <0.6.2

[atomist:code-inspection:kube-fetch=@atomist/atomist-sdm]

Code Inspection: npm audit on nortissej/config-ps

js-yaml:<3.13.0

  • (warn) Denial of Service Upgrade to version 3.13.0.
    • js-yaml:3.12.2:
      • @atomist/automation-client>apollo>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-codegen-flow>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-codegen-scala>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-codegen-swift>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-codegen-typescript>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>graphql-code-generator>graphql-config>js-yaml
      • @atomist/sdm-core>@kubernetes/client-node>js-yaml
      • tslint>js-yaml
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml
    • js-yaml:3.12.0:
      • mocha>js-yaml

[atomist:code-inspection:nortissej/config-ps=@atomist/atomist-sdm]

Code Inspection: Tslint on goal-monitor

no-console

no-null-keyword

ordered-imports

typedef

whitespace

[atomist:code-inspection:goal-monitor=@atomist/atomist-sdm]

Code Inspection: npm audit on kube-encrypt-100

lodash:<4.17.12

  • (error) Prototype Pollution Update to version 4.17.12 or later. - CVE-2019-10744
    • lodash:4.17.11:
      • @atomist/automation-client>graphql-code-generator>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-client>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-client>graphql-codegen-plugin-helpers>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-client>graphql-codegen-typescript-common>graphql-codegen-plugin-helpers>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-common>graphql-codegen-plugin-helpers>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-server>graphql-codegen-typescript-common>graphql-codegen-plugin-helpers>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-client>graphql-codegen-typescript-common>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-common>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-codegen-typescript-server>graphql-codegen-typescript-common>graphql-codegen-core>graphql-toolkit>lodash
      • @atomist/automation-client>graphql-code-generator>graphql-toolkit>lodash

[atomist:code-inspection:kube-encrypt-100=@atomist/atomist-sdm]

Add kube-encrypt and kube-decrypt commands

Add the ability to encrypt and decrypt Kubernetes secrets and values using our standard encryption/decryption algorithm. The commands should be able to operate on a string or a secret spec.

PostInstall fails on Windows 7 with no indication why

A user reports that on windows 7 server amd 64 bit desktop, the installation of the CLI fails. Here are the relevant parts of the log:

65181 verbose lifecycle @atomist/[email protected]~postinstall: CWD: C:\Users\XXXX\AppData\Roaming\npm\node_modules\@atomist\cli
65182 silly lifecycle @atomist/[email protected]~postinstall: Args: [ '/d /s /c', 'node bin/postInstall.js' ]
65183 silly lifecycle @atomist/[email protected]~postinstall: Returned: code: 1  signal: null
65184 info lifecycle @atomist/[email protected]~postinstall: Failed to exec postinstall script
65185 verbose unlock done using C:\Users\XXXX\AppData\Roaming\npm-cache\_locks\staging-e32421e33087ce3b.lock for C:\Users\XXXX\AppData\Roaming\npm\node_modules\.staging
65186 silly rollbackFailedOptional Starting
65187 silly rollbackFailedOptional Finishing
65188 silly runTopLevelLifecycles Finishing
65189 silly install printInstalled
65190 verbose stack Error: @atomist/[email protected] postinstall: `node bin/postInstall.js`
65190 verbose stack Exit status 1
65190 verbose stack     at EventEmitter.<anonymous> (G:\Tools\node-6.9.4\node_modules\npm\lib\utils\lifecycle.js:255:16)
65190 verbose stack     at emitTwo (events.js:106:13)
65190 verbose stack     at EventEmitter.emit (events.js:191:7)
65190 verbose stack     at ChildProcess.<anonymous> (G:\Tools\node-6.9.4\node_modules\npm\lib\utils\spawn.js:40:14)
65190 verbose stack     at emitTwo (events.js:106:13)
65190 verbose stack     at ChildProcess.emit (events.js:191:7)
65190 verbose stack     at maybeClose (internal/child_process.js:877:16)
65190 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
65191 verbose pkgid @atomist/[email protected]
65192 verbose cwd C:\Windows\system32
65193 error Windows_NT 6.1.7601
65194 error argv "G:\\Tools\\node-6.9.4\\node.exe" "G:\\Tools\\node-6.9.4\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "@atomist/cli@next"
65195 error node v6.9.4
65196 error npm  v3.10.10
65197 error code ELIFECYCLE
65198 error @atomist/[email protected] postinstall: `node bin/postInstall.js`
65198 error Exit status 1
65199 error Failed at the @atomist/[email protected] postinstall script 'node bin/postInstall.js'.
65199 error Make sure you have the latest version of node.js and npm installed.
65199 error If you do, this is most likely a problem with the @atomist/cli package,
65199 error not with npm itself.
65199 error Tell the author that this fails on your system:
65199 error     node bin/postInstall.js
65199 error You can get information on how to open an issue for this project with:
65199 error     npm bugs @atomist/cli
65199 error Or if that isn't available, you can get their info via:
65199 error     npm owner ls @atomist/cli
65199 error There is likely additional logging output above.
65200 verbose exit [ 1, true ]

While the postInstall script exited with a status of 1, there is no indication of why.

Code Inspection: npm audit on add-update-command

axios:<0.18.1

  • (warn) Denial of Service Upgrade to 0.18.1 or later.
    • axios:0.18.0:
      • @atomist/sdm-core>axios

graphql-code-generator:<0.18.2

  • (error) Insecure Default Configuration Upgrade to version 0.18.2 or later.
    • graphql-code-generator:0.16.1:
      • @atomist/automation-client>graphql-code-generator

js-yaml:<3.13.0

  • (warn) Denial of Service Upgrade to version 3.13.0.
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml

js-yaml:<3.13.1

  • (error) Code Injection Upgrade to version 3.13.1.
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml

marked:>=0.3.14 <0.6.2

[atomist:code-inspection:add-update-command=@atomist/atomist-sdm]

Code Inspection: npm audit on provider-repo-config

js-yaml:<3.13.0

  • (warn) Denial of Service Upgrade to version 3.13.0.
    • js-yaml:3.12.2:
      • @atomist/automation-client>apollo>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-codegen-flow>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-codegen-scala>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-codegen-swift>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-codegen-typescript>apollo-codegen-core>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>apollo>apollo-language-server>cosmiconfig>js-yaml
      • @atomist/automation-client>graphql-code-generator>graphql-config>js-yaml
      • @atomist/sdm-core>@kubernetes/client-node>js-yaml
      • tslint>js-yaml
    • js-yaml:3.12.1:
      • @atomist/automation-client>graphql-code-generator>js-yaml
    • js-yaml:3.12.0:
      • mocha>js-yaml

[atomist:code-inspection:provider-repo-config=@atomist/atomist-sdm]

When the APIkey is invalid, please ask for another one

[master] first-uhura-sdm $ atomist config
atomist: [ERROR] Failed to validate API key: Network error: Response not successful: Received status code 401

I knew it was invalid, I revoked it. I was hoping this would prompt me again, and like create another one for me.
(I know, I know, I'll delete the config and start over, but still, it would be nice)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.