Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

npm install reports numerous warnings #230

@jasonrudolph

Description

@jasonrudolph

Description

Running npm install reports numerous warnings regarding use of deprecated commands and invalid configuration.

Steps to Reproduce

  1. git clone https://github.com/atom/atom-keymap.git
  2. cd atom-keymap
  3. npm install

Expected behavior: npm install completes with no warnings.

Actual behavior: npm install reports numerous warnings:

$ cd ~/github/atom-keymap

$ git show
commit 802745d4a2a7740d95c5e3f08e141d15fd349457

$ node -v
v8.1.4

$ npm -v
5.3.0

$ npm i
npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.

> atom-keymap@8.2.9 prepublish /Users/j/github/atom-keymap
> npm run clean && npm run compile && npm run lint && npm run atomdoc

npm WARN invalid config loglevel="notice"

> atom-keymap@8.2.9 clean /Users/j/github/atom-keymap
> rimraf lib && rimraf api.json

npm WARN invalid config loglevel="notice"

> atom-keymap@8.2.9 compile /Users/j/github/atom-keymap
> coffee --no-header --output lib --compile src && babel src --out-dir lib

src/partial-keyup-matcher.js -> lib/partial-keyup-matcher.js
npm WARN invalid config loglevel="notice"

> atom-keymap@8.2.9 lint /Users/j/github/atom-keymap
> coffeelint -r src spec && eslint src spec

  ✓ src/command-event.coffee
  ...

✓ Ok! » 0 errors and 0 warnings in 10 files

npm WARN invalid config loglevel="notice"

...

Reproduces how often: 100%

Versions

  • macOS 10.13.2
  • node v8.1.4
  • npm 5.3.0

Additional Information

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions