热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

ERROR:"copydbschema"exitedwith1.

TryingtohostUmamiinNetlify.Hereisthecompletelog.Followedthestuffin#

Trying to host Umami in Netlify. Here is the complete log.

Followed the stuff in #18

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
11:35:39 AM: Build ready to start

11:35:43 AM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6

11:35:43 AM: build-image tag: v3.4.1

11:35:43 AM: buildbot version: fcbc7a79f7372e5995cf02954ef19fc48d20c871

11:35:43 AM: Building without cache

11:35:43 AM: Starting to prepare the repo for build

11:35:43 AM: No cached dependencies found. Cloning fresh repo

11:35:43 AM: git clone https://github.com/the-mcnaveen/umami

11:35:44 AM: Preparing Git Reference refs/heads/master

11:35:45 AM: Starting build script

11:35:45 AM: Installing dependencies

11:35:45 AM: Python version set to 2.7

11:35:47 AM: v12.18.0 is already installed.

11:35:47 AM: Now using node v12.18.0 (npm v6.14.4)

11:35:47 AM: Started restoring cached build plugins

11:35:47 AM: Finished restoring cached build plugins

11:35:47 AM: Attempting ruby version 2.7.1, read from environment

11:35:49 AM: Using ruby version 2.7.1

11:35:49 AM: Using PHP version 5.6

11:35:49 AM: 5.2 is already installed.

11:35:49 AM: Using Swift version 5.2

11:35:49 AM: Started restoring cached node modules

11:35:49 AM: Finished restoring cached node modules

11:35:49 AM: Started restoring cached yarn cache

11:35:49 AM: Finished restoring cached yarn cache

11:35:49 AM: Installing yarn at version 1.22.4

11:35:49 AM: Installing Yarn!

11:35:49 AM: > Downloading tarball...

11:35:49 AM: [1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.AKbwkY3pJX

11:35:49 AM:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

11:35:49 AM:                                  Dload  Upload   Total   Spent    Left  Speed

11:35:50 AM:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

11:35:50 AM: 100    80  100    80    0     0    234      0 --:--:-- --:--:-- --:--:--   234

11:35:50 AM:   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

11:35:50 AM: 100    93  100    93    0     0    127      0 --:--:-- --:--:-- --:--:--  1500

11:35:50 AM: 100   643  100   643    0     0    645      0 --:--:-- --:--:-- --:--:--   645

11:35:51 AM: 100 1215k  100 1215k    0     0   855k      0  0:00:01  0:00:01 --:--:--  855k

11:35:51 AM: [2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.AKbwkY3pJX.asc

11:35:51 AM: 100    84  100    84    0     0    922      0 --:--:-- --:--:-- --:--:--   922

11:35:51 AM: 100    97  100    97    0     0    808      0 --:--:-- --:--:-- --:--:--   808

11:35:51 AM: 100   647  100   647    0     0   4247      0 --:--:-- --:--:-- --:--:--  4247

11:35:51 AM: 100  1028  100  1028    0     0   5367      0 --:--:-- --:--:-- --:--:--  5367

11:35:51 AM: > Verifying integrity...

11:35:51 AM: gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA

11:35:51 AM: gpg: Good signature from "Yarn Packaging "

11:35:51 AM: gpg: WARNING: This key is not certified with a trusted signature!

11:35:51 AM: gpg:          There is no indication that the signature belongs to the owner.

11:35:51 AM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907  BBB7 1646 B01B 86E5 0310

11:35:51 AM:      Subkey fingerprint: 6D98 490C 6F1A CDDD 448E  4595 4F77 6793 6947 5BAA

11:35:51 AM: > GPG signature looks good

11:35:51 AM: > Extracting to ~/.yarn...

11:35:51 AM: > Adding to $PATH...

11:35:52 AM: > Successfully installed Yarn 1.22.4! Please open another terminal where the `yarn` command will now be available.

11:35:52 AM: Installing NPM modules using Yarn version 1.22.4

11:35:52 AM: yarn install v1.22.4

11:35:52 AM: [1/4] Resolving packages...

11:35:53 AM: [2/4] Fetching packages...

11:36:13 AM: info fsevents.2.13: The platform "linux" is incompatible with this module.

11:36:13 AM: info "fsevents.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.

11:36:13 AM: info fsevents.1.3: The platform "linux" is incompatible with this module.

11:36:13 AM: info "fsevents.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.

11:36:13 AM: [3/4] Linking dependencies...

11:36:13 AM: warning " > react-simple-maps.1.2" has unmet peer dependency "prop-types@^15.7.2".

11:36:25 AM: [4/4] Building fresh packages...

11:36:35 AM: Done in 42.50s.

11:36:35 AM: NPM modules installed using Yarn

11:36:35 AM: Started restoring cached go cache

11:36:35 AM: Finished restoring cached go cache

11:36:35 AM: go version go1.14.4 linux/amd64

11:36:35 AM: go version go1.14.4 linux/amd64

11:36:35 AM: Installing missing commands

11:36:35 AM: Verify run directory

11:36:36 AM: ​

11:36:36 AM: ┌─────────────────────────────┐

11:36:36 AM: │        Netlify Build        │

11:36:36 AM: └─────────────────────────────┘

11:36:36 AM: ​

11:36:36 AM: ❯ Version

11:36:36 AM:   /build 3.3.0

11:36:36 AM: ​

11:36:36 AM: ❯ Flags

11:36:36 AM:   deployId: 5f45fbb30061096440765286

11:36:36 AM:   mode: buildbot

11:36:36 AM: ​

11:36:36 AM: ❯ Current directory

11:36:36 AM:   /opt/build/repo

11:36:36 AM: ​

11:36:36 AM: ❯ Config file

11:36:36 AM:   No config file was defined: using default values.

11:36:36 AM: ​

11:36:36 AM: ❯ Context

11:36:36 AM:   production

11:36:36 AM: ​

11:36:36 AM: ┌───────────────────────────────────┐

11:36:36 AM: │ 1. Build command from Netlify app │

11:36:36 AM: └───────────────────────────────────┘

11:36:36 AM: ​

11:36:36 AM: $ yarn build build-postgresql-schema && yarn build-mysql-client && yarn build

11:36:37 AM: yarn run v1.22.4

11:36:37 AM: $ npm-run-all build-tracker copy-db-schema build-db-client build-app build-postgresql-schema

11:36:37 AM: $ rollup -c rollup.tracker.config.js

11:36:37 AM:

11:36:37 AM: tracker/index.js → public/umami.js...

11:36:38 AM: created public/umami.js in 775ms

11:36:39 AM: $ node scripts/copy-db-schema.js

11:36:39 AM: Database schema detected: https

11:36:39 AM: internal/fs/utils.js:230

11:36:39 AM:     throw err;

11:36:39 AM:     ^

11:36:39 AM: Error: ENOENT: no such file or directory, copyfile '/opt/build/repo/prisma/schema.https.prisma' -> '/opt/build/repo/prisma/schema.prisma'

11:36:39 AM:     at Object.copyFileSync (fs.js:1876:3)

11:36:39 AM:     at Object. (/opt/build/repo/scripts/copy-db-schema.js:16:4)

11:36:39 AM:     at Module._compile (internal/modules/cjs/loader.js:1138:30)

11:36:39 AM:     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)

11:36:39 AM:     at Module.load (internal/modules/cjs/loader.js:986:32)

11:36:39 AM:     at Function.Module._load (internal/modules/cjs/loader.js:879:14)

11:36:39 AM:     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)

11:36:39 AM:     at internal/main/run_main_module.js:17:47 {

11:36:39 AM:   errno: -2,

11:36:39 AM:   syscall: 'copyfile',

11:36:39 AM:   code: 'ENOENT',

11:36:39 AM:   path: '/opt/build/repo/prisma/schema.https.prisma',

11:36:39 AM:   dest: '/opt/build/repo/prisma/schema.prisma'

11:36:39 AM: }

11:36:39 AM: error Command failed with exit code 1.

11:36:39 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

11:36:39 AM: ERROR: "copy-db-schema" exited with 1.

11:36:39 AM: error Command failed with exit code 1.

11:36:39 AM: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

11:36:39 AM: ​

11:36:39 AM: ┌─────────────────────────────┐

11:36:39 AM: │   "build.command" failed    │

11:36:39 AM: └─────────────────────────────┘

11:36:39 AM: ​

11:36:39 AM:   Error message

11:36:39 AM:   Command failed with exit code 1: yarn build build-postgresql-schema && yarn build-mysql-client && yarn build

11:36:39 AM: ​

11:36:39 AM:   Error location

11:36:39 AM:   In Build command from Netlify app:

11:36:39 AM:   yarn build build-postgresql-schema && yarn build-mysql-client && yarn build

11:36:39 AM: ​

11:36:39 AM:   Resolved config

11:36:39 AM:   build:

11:36:39 AM:     command: yarn build build-postgresql-schema && yarn build-mysql-client && yarn build

11:36:39 AM:     commandOrigin: ui

11:36:39 AM:     environment:

11:36:39 AM:       - DATABASE_URL

11:36:39 AM:       - HASH_SALT

11:36:39 AM:     publish: /opt/build/repo/public

11:36:39 AM: Caching artifacts

11:36:39 AM: Started saving node modules

11:36:39 AM: Finished saving node modules

11:36:39 AM: Started saving build plugins

11:36:39 AM: Finished saving build plugins

11:36:39 AM: Started saving yarn cache

11:36:39 AM: Finished saving yarn cache

11:36:39 AM: Started saving pip cache

11:36:39 AM: Finished saving pip cache

11:36:39 AM: Started saving emacs cask dependencies

11:36:39 AM: Finished saving emacs cask dependencies

11:36:39 AM: Started saving maven dependencies

11:36:39 AM: Finished saving maven dependencies

11:36:39 AM: Started saving boot dependencies

11:36:39 AM: Finished saving boot dependencies

11:36:39 AM: Started saving go dependencies

11:36:39 AM: Finished saving go dependencies

11:36:42 AM: Error running command: Build script returned non-zero exit code: 1

11:36:42 AM: Failing build: Failed to build site

11:36:42 AM: Failed during stage 'building site': Build script returned non-zero exit code: 1

11:36:42 AM: Finished processing build request in 59.099259499s


该提问来源于开源项目:mikecao/umami

Closing this. Will track this issue on #203





   



推荐阅读
  • 本文讨论了clone的fork与pthread_create创建线程的不同之处。进程是一个指令执行流及其执行环境,其执行环境是一个系统资源的集合。在调用系统调用fork创建一个进程时,子进程只是完全复制父进程的资源,这样得到的子进程独立于父进程,具有良好的并发性。但是二者之间的通讯需要通过专门的通讯机制,另外通过fork创建子进程系统开销很大。因此,在某些情况下,使用clone或pthread_create创建线程可能更加高效。 ... [详细]
  • 让你明白kvm是什么
    参考:https:blog.csdn.netbbwangjarticledetails80465320KVM工具集合:libvirt:操作和管理KVM虚机的虚拟化API ... [详细]
  • 基于PgpoolII的PostgreSQL集群安装与配置教程
    本文介绍了基于PgpoolII的PostgreSQL集群的安装与配置教程。Pgpool-II是一个位于PostgreSQL服务器和PostgreSQL数据库客户端之间的中间件,提供了连接池、复制、负载均衡、缓存、看门狗、限制链接等功能,可以用于搭建高可用的PostgreSQL集群。文章详细介绍了通过yum安装Pgpool-II的步骤,并提供了相关的官方参考地址。 ... [详细]
  • 本文讨论了在Windows 8上安装gvim中插件时出现的错误加载问题。作者将EasyMotion插件放在了正确的位置,但加载时却出现了错误。作者提供了下载链接和之前放置插件的位置,并列出了出现的错误信息。 ... [详细]
  • 本文介绍了在CentOS上安装Python2.7.2的详细步骤,包括下载、解压、编译和安装等操作。同时提供了一些注意事项,以及测试安装是否成功的方法。 ... [详细]
  • 树莓派语音控制的配置方法和步骤
    本文介绍了在树莓派上实现语音控制的配置方法和步骤。首先感谢博主Eoman的帮助,文章参考了他的内容。树莓派的配置需要通过sudo raspi-config进行,然后使用Eoman的控制方法,即安装wiringPi库并编写控制引脚的脚本。具体的安装步骤和脚本编写方法在文章中详细介绍。 ... [详细]
  • 本文详细介绍了git常用命令及其操作方法,包括查看、添加、提交、删除、找回等操作,以及如何重置修改文件、抛弃工作区修改、将工作文件提交到本地暂存区、从版本库中删除文件等。同时还介绍了如何从暂存区恢复到工作文件、恢复最近一次提交过的状态,以及如何合并多个操作等。 ... [详细]
  • GreenDAO快速入门
    前言之前在自己做项目的时候,用到了GreenDAO数据库,其实对于数据库辅助工具库从OrmLite,到litePal再到GreenDAO,总是在不停的切换,但是没有真正去了解他们的 ... [详细]
  • 手把手教你使用GraphPad Prism和Excel绘制回归分析结果的森林图
    本文介绍了使用GraphPad Prism和Excel绘制回归分析结果的森林图的方法。通过展示森林图,可以更加直观地将回归分析结果可视化。GraphPad Prism是一款专门为医学专业人士设计的绘图软件,同时也兼顾统计分析的功能,操作便捷,可以帮助科研人员轻松绘制出高质量的专业图形。文章以一篇发表在JACC杂志上的研究为例,利用其中的多因素回归分析结果来绘制森林图。通过本文的指导,读者可以学会如何使用GraphPad Prism和Excel绘制回归分析结果的森林图。 ... [详细]
  • Iamtryingtocreateanarrayofstructinstanceslikethis:我试图创建一个这样的struct实例数组:letinstallers: ... [详细]
  • Ihaveaworkfolderdirectory.我有一个工作文件夹目录。holderDir.glob(*)>holder[ProjectOne, ... [详细]
  • 为什么下一个5年,软件定义市场将暴涨32%
    Technavio公司的市场调研分析预测,到2020年全球软件定义一切(SDx)市场年复合增长率将超过32%,向虚拟化的转化是市场增长的主要驱动力。近来 ... [详细]
  • mysql自动打开文件_让docker中的mysql启动时自动执行sql文件
    本文提要本文目的不仅仅是创建一个MySQL的镜像,而是在其基础上再实现启动过程中自动导入数据及数据库用户的权限设置,并且在新创建出来的容器里自动启动My ... [详细]
  • imnewtotheswiftandxcodeworld,soimhavingaproblemtryingtointegrateapackagetomypro ... [详细]
  • Git GitHub多人协作
    在学校做一个小项目需要多人协作,就用到了gitHub,百度了一下多数写得乱七八糟或者支离破碎,于是总结了一下自己的步骤如下,第一次使用GitHUb,哪里不对望大神指出一.前期准备: ... [详细]
author-avatar
阿都欧巴
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有