A
A
Anatoly Salamatin2019-11-05 23:37:26
JavaScript
Anatoly Salamatin, 2019-11-05 23:37:26

Why is the package not being installed?

Has anyone experienced this? My npm view @babel/traverse shows version 7.6.3 and current version is 7.7.0.
Because of this, the @babel/core package is not installed, because it has version 7,7,0 depending on it, but I can't see it.
npm cache verify did
package-lock.json removed.
Here is the current package.json

{
  "name": "start-template",
  "version": "1.0.0",
  "description": "My start Template",
  "main": "index.js",
  "author": "Salamatin Anatoliy",
  "license": "MIT",
  "devDependencies": {
    "@babel/core": "^7.7.0",
    "@babel/preset-env": "^7.6.3",
    "browser-sync": "^2.26.7",
    "del": "^5.1.0",
    "gulp": "4.0",
    "gulp-autoprefixer": "^7.0.1",
    "gulp-babel": "^8.0.0",
    "gulp-cache": "^1.1.3",
    "gulp-cached": "^1.1.1",
    "gulp-cheerio": "^0.6.3",
    "gulp-concat": "^2.6.1",
    "gulp-csscomb": "^3.0.8",
    "gulp-csso": "^3.0.1",
    "gulp-imagemin": "^6.1.1",
    "gulp-plumber": "^1.2.1",
    "gulp-pug": "^4.0.1",
    "gulp-rename": "1.4.0",
    "gulp-replace": "1.0.0",
    "gulp-sass": "^4.0.2",
    "gulp-sourcemaps": "^2.6.5",
    "gulp-svg-sprite": "^1.5.0",
    "gulp-svgmin": "^2.2.0",
    "gulp-uglify": "^3.0.2",
    "imagemin-jpeg-recompress": "^6.0.0"
  },
  "dependencies": {
    "normalize.css": "^8.0.1",
    "svg4everybody": "^2.1.9"
  }
}

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anatoly Salamatin, 2019-11-06
@farcer

Decided by writing npm set registry

I
Ice, 2019-11-06
@IceRD

If you need a specific version, try forcing it with
npm i -D @babel/[email protected]

F
flatronus, 2021-04-18
@flatronus

npm install '@babel/core' put in quotes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question