我试图(再次)构建一个React项目,在客户打电话给我并告诉我它已经崩溃之前,它工作得非常好。 在构建(npm run build)时,我得到的结果是: Creating an optimized production build...
Failed to compile.
./src/utils/graphql.js
Cannot find module: 'graphql-tag/src'. Make sure this package is installed.
You can install this package by running: npm install
这是我在GitHub操作文件中运行命令GitHub时所面临的问题。
Run npm ci
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/------
npm ERR!
npm ERR! Warning: Permanently added the RSA host key for IP address '140.82.113.4' to the list of known hosts.
npm ERR! git@github.com: Per
我无法运行它一直提供给我这个错误的npm install命令:
Error while executing:
/usr/bin/git ls-remote -h -t ssh://git@github.com/node_modules/cordova.git
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
exited with e
在我的ruby on rails项目中,我使用capistrano、unicorn、postgresql和nginx来部署我的项目。当我运行cap production git:check时,我得到了这个错误:
Error reading response length from authentication socket.
日志跟踪:
INFO [13522bc0] Running /usr/bin/env mkdir -p /tmp/deploy_test/ as mezbah@192.168.137.130
DEBUG [13522bc0] Command: /usr/bin/env m
在使用Capistrano 3部署Rails 4应用程序时,我遇到了以下错误
INFO [87512eb8] Running /usr/bin/env chmod +x /tmp/magnificent/git-ssh.sh as deploy@104.236.6.180
DEBUG [87512eb8] Command: /usr/bin/env chmod +x /tmp/magnificent/git-ssh.sh
INFO [87512eb8] Finished in 0.444 seconds with exit status 0 (successful).
INFO [1ec94d
最近我的Heroku评论应用程序使用码头停工建筑。他们以前的行为如出一辙,但现在看来,国家预防机制似乎无法在这条道路上找到git。
我最初的猜测是,出于某种原因,我现在需要将git安装到碳-高寒中。请参阅下面的尝试,其中添加了“运行-无缓存git”。
任何帮助都将不胜感激!我也很想知道它为什么表现得像预期的那样。
Dockerfile-heroku
FROM node:carbon-alpine
WORKDIR /usr/app
COPY . .
# Build Angular
RUN npm install --no-cache git
RUN npm install
RUN npm r
我部署Rails应用的频率太低了,以至于当我这样做的时候,我总是会和Capistrano发生正面冲突。这里,我有一个关于Github的回购。我使用的是Capistrano 3.2.1,我的deploy.rb的相关(即,非样板)部分是:
lock '3.2.1'
set :application, 'my_app'
set :scm, :git
set :repository, "git@github.com:my_github_user/my_app.git"
set :user, 'deploy'
set :deploy_
我试图通过运行npm install在github工作流ci中安装npm依赖项。但是,我得到了以下错误:
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/private-org/private-repo.git
npm ERR!
npm ERR! Warning: Permanently added the RSA host key for IP address 'removed' to the list of known hosts.
npm
我试图通过GitHub将我的Next.js/Express,js后端应用程序部署到Heroku,但是,我一直收到以下错误:
如果有人能帮我解决这个问题,那将是非常感谢的!
谢谢。
-----> Building on the Heroku-20 stack
-----> Determining which buildpack to use for this app
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_L
当尝试在node.js命令promt上执行bower安装时,得到以下错误
bower check-new Checking for new versions of the project dependencies..
bower ECMDERR Failed to execute "git ls-remote --tags --heads git@github.com:XXXXX/XXXX", exit
Additional error details:
ssh: connect to host github.com port 22: Bad file n
我正试图通过ssh克隆一个私人的github回购。
我用keygen生成了一对密钥,这些密钥存储在非根用户主目录中的.ssh中。
/home/nonroot/.ssh
然而,当我尝试:
git clone git@github.com:user/repo.git
我得到:
Cloning into 'discord-bot'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the c