Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Bad name in package.json: conflict with existing npm package #16799

Closed
@lahaxearnaud

Description

@lahaxearnaud

I'm submitting a ...

  • [ x ] bug report
  • feature request
  • other

Current behavior:

The name of the package provided in package.json is wrong.

In the last version of package.json on master: https://github.com/angular/angular.js/blob/master/package.json

{
  "name": "angularjs",
  "license": "MIT",
  "branchVersion": "^1.7.0",
  "branchPattern": "1.7.*",
...
}

But in fact angularjs package on npm is linked to this repository eugeneware/angularjs.
The good news is that the eugeneware/angularjs seems to be abandoned.

Expected / new behavior:

You need to change the name attribute in package.json to angular.

Minimal reproduction of the problem with instructions:

$ npm install angularjs

Output:

npm WARN saveError ENOENT: no such file or directory, open '/Users/alahaxe/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/alahaxe/package.json'
npm WARN alahaxe No description
npm WARN alahaxe No repository field.
npm WARN alahaxe No README data
npm WARN alahaxe No license field.

+ angularjs@0.0.1
added 1 package from 1 contributor and audited 1 package in 1.711s
found 0 vulnerabilities

AngularJS version: 1.x.y

All versions

Browser: Not relevant

Anything else:

No

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