Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

can't run npm install on Cent OS 7 - node v.6.14.4 #1323

Closed
valerymihaylov opened this issue Oct 30, 2018 · 2 comments
Closed

can't run npm install on Cent OS 7 - node v.6.14.4 #1323

valerymihaylov opened this issue Oct 30, 2018 · 2 comments
Labels
build error Error with the build process

Comments

@valerymihaylov
Copy link

Hello, please help me.

when run npm install i get this error

npm WARN deprecated [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
npm ERR! git rev-list -n1 4.0: fatal: ambiguous argument '4.0': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 4.0: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 4.0: 'git [...] -- [...]'
npm ERR! git rev-list -n1 4.0:
npm ERR! git rev-list -n1 4.0: fatal: ambiguous argument '4.0': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 4.0: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 4.0: 'git [...] -- [...]'
npm ERR! git rev-list -n1 4.0:
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp.git /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801: Cloning into bare repository '/root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801'...
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp.git /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801:
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp.git /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801: Permission denied (publickey).
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp.git /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801: fatal: Could not read from remote repository.
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp.git /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801:
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp.git /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801: Please make sure you have the correct access rights
npm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp.git /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801: and the repository exists.
npm ERR! Linux 3.10.0-862.9.1.el7.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v6.14.4
npm ERR! npm v3.10.10
npm ERR! code 128

npm ERR! Command failed: git clone --template=/root/.npm/_git-remotes/_templates --mirror [email protected]:gulpjs/gulp.git /root/.npm/_git-remotes/git-github-com-gulpjs-gulp-git-4-0-7c06e801
npm ERR! Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /var/www/html/wp-content/themes/FoundationPress/npm-debug.log

WHAT TO DO?

OS: CentOS 7

@Mathster0598
Copy link

What's the status of this issue? I'm having similar problems

@derweili derweili added the build error Error with the build process label Jan 14, 2019
@derweili
Copy link
Collaborator

@valerymihaylov @Mathster0598 This is an error with gulp
See here: #1353

You have to change the gulp version in your package.json to "^4.0"

"gulp": "^4.0",

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build error Error with the build process
Projects
None yet
Development

No branches or pull requests

3 participants