deep-foundation / deep-foundation/dev
Error: fatal: remote error: upload-pack: not our ref
- Dominant language
- TypeScript
- Stars
- 20
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
# First terminal
```
HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
npm run gitpod-init; docker pull deepf/deeplinks:main; docker run -v $(pwd)/packages/deeplinks:/deeplinks --rm --name links --entrypoint "sh" deepf/deeplinks:main -c "cp -r /snapshots/* /deeplinks/snapshots/"; (cd packages/deeplinks && npm run snapshot:last); npm install -g concurrently;
}
gitpod /workspace/deep-foundation-dev (main) $ HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
> npm run gitpod-init; docker pull deepf/deeplinks:main; docker run -v $(pwd)/packages/deeplinks:/deeplinks --rm --name links --entrypoint "sh" deepf/deeplinks:main -c "cp -r /snapshots/* /deeplinks/snapshots/"; (cd packages/deeplinks && npm run snapshot:last); npm install -g concurrently;
> }
> @deep-foundation/dev@0.0.21 gitpod-init /workspace/deep-foundation-dev
> npm run gitpod-prepare && npm ci && npm run packages && npm run apply-deeplinks && npm run apply-hasura
> @deep-foundation/dev@0.0.21 gitpod-prepare /workspace/deep-foundation-dev
> npm run git-shh-to-https && sudo apt update && (yes | sudo apt install screen) && (yes | sudo apt install rsync) && (yes | sudo apt install net-tools) && screen -S docker -d -m sudo docker-up
> @deep-foundation/dev@0.0.21 git-shh-to-https /workspace/deep-foundation-dev
> git config --global url."https://".insteadOf git:// && git config --global url."https://github.com/".insteadOf ssh://git@github.com/
Get:1 https://download.docker.com/linux/ubuntu focal InRelease [57.7 kB]
Get:2 https://download.docker.com/linux/ubuntu focal/stable amd64 Packages [40.1 kB]
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:6 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease [23.8 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [3,212 kB]
Get:9 http://ppa.launchpad.net/ondrej/apache2/ubuntu focal InRelease [23.8 kB]
Get:10 http://ppa.launchpad.net/ondrej/nginx-mainline/ubuntu focal InRelease [23.8 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3,712 kB]
Get:5 https://apt.llvm.org/focal llvm-toolchain-focal InRelease [6,833 B]
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [32.0 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,435 kB]
Get:14 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease [23.9 kB]
Get:15 https://apt.llvm.org/focal llvm-toolchain-focal/main amd64 Packages [14.4 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]
Get:18 http://ppa.launchpad.net/git-core/ppa/ubuntu focal/main amd64 Packages [3,171 B]
Get:19 http://ppa.launchpad.net/ondrej/apache2/ubuntu focal/main amd64 Packages [4,921 B]
Get:20 http://ppa.launchpad.net/ondrej/nginx-mainline/ubuntu focal/main amd64 Packages [6,429 B]
Get:21 http://ppa.launchpad.net/ondrej/php/ubuntu focal/main amd64 Packages [202 kB]
Get:22 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:23 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [3,221 kB]
Get:24 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [29.3 kB]
Get:25 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [3,057 kB]
Get:26 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1,130 kB]
Fetched 16.7 MB in 8s (2,077 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
219 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libutempter0
Suggested packages:
byobu | screenie | iselect ncurses-term
The following NEW packages will be installed:
libutempter0 screen
0 upgraded, 2 newly installed, 0 to remove and 219 not upgraded.
Need to get 586 kB of archives.
After this operation, 1,073 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libutempter0 amd64 1.1.6Progress: [ 89%] [###################################################.......]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 screen amd64 4.8.0-1ubuntu0.1 [577 kB]
Fetched 586 kB in 1s (1,075 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Processing triggers for install-info (6.7.0.dfsg.2-5) ...4.
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for systemd (245.4-4ubuntu3.17) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libpopt0
Suggested packages:
openssh-server
The following NEW packages will be installed:
libpopt0 rsync
0 upgraded, 2 newly installed, 0 to remove and 219 not upgraded.
Need to get 348 kB of archives.
After this operation, 817 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libpopt0 amd64 1.16-14 [26.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 rsync amd64 3.1.3-8ubuntu0.7 [322 kB]
Fetched 348 kB in 1s (626 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpopt0:amd64.
(Reading database ... 36159 files and directories currently installed.)
Preparing to unpack .../libpopt0_1.16-14_amd64.deb ...
Unpacking libpopt0:amd64 (1.16-14) ...
Selecting previously unselected package rsync.
Preparing to unpack .../rsync_3.1.3-8ubuntu0.7_amd64.deb ...
Unpacking rsync (3.1.3-8ubuntu0.7) ...
Setting up libpopt0:amd64 (1.16-14) ...
Setting up rsync (3.1.3-8ubuntu0.7) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Created symlink /etc/systemd/system/multi-user.target.wants/rsync.service → /lib/systemd/system/rsync.service.
Processing triggers for systemd (245.4-4ubuntu3.17) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
net-tools
0 upgraded, 1 newly installed, 0 to remove and 219 not upgraded.
Need to get 196 kB of archives.
After this operation, 864 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 net-tools amd64 1.60+git20180626.aebd88e-1ubuntu1 [196 kB]
Fetched 196 kB in 1s (220 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package net-tools.
(Reading database ... 36195 files and directories currently installed.)
Preparing to unpack .../net-tools_1.60+git20180626.aebd88e-1ubuntu1_amd64.deb ...
Unpacking net-tools (1.60+git20180626.aebd88e-1ubuntu1) ...
Setting up net-tools (1.60+git20180626.aebd88e-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
> microtime@3.1.1 install /workspace/deep-foundation-dev/node_modules/microtime
> node-gyp-build
> @apollo/protobufjs@1.2.6 postinstall /workspace/deep-foundation-dev/node_modules/apollo-server-express/node_modules/@apollo/protobufjs
> node scripts/postinstall
> @apollo/protobufjs@1.2.7 postinstall /workspace/deep-foundation-dev/node_modules/@apollo/usage-reporting-protobuf/node_modules/@apollo/protobufjs
> node scripts/postinstall
> @apollo/protobufjs@1.2.6 postinstall /workspace/deep-foundation-dev/node_modules/apollo-server-core/node_modules/@apollo/protobufjs
> node scripts/postinstall
> @apollo/protobufjs@1.2.2 postinstall /workspace/deep-foundation-dev/node_modules/@apollo/protobufjs
> node scripts/postinstall
> core-js-pure@3.27.1 postinstall /workspace/deep-foundation-dev/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js:
> https://opencollective.com/core-js
> https://patreon.com/zloirock
> bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> core-js@2.6.12 postinstall /workspace/deep-foundation-dev/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> fsevents@1.2.13 install /workspace/deep-foundation-dev/node_modules/glob-watcher/node_modules/fsevents
> node install.js
Skipping 'fsevents' build as platform linux is not supported
> es5-ext@0.10.62 postinstall /workspace/deep-foundation-dev/node_modules/es5-ext
> node -e "try{require('./_postinstall')}catch(e){}" || exit 0
added 1067 packages in 11.514s
> @deep-foundation/dev@0.0.21 packages /workspace/deep-foundation-dev
> (npx gulp packages:get) && (npx gulp packages:ci)
[14:05:50] Requiring external module ts-node/register
[14:05:52] Using gulpfile /workspace/deep-foundation-dev/gulpfile.ts
[14:05:52] Starting 'packages:get'...
[14:05:53] 'packages:get' errored after 878 ms
[14:05:53] Error: fatal: remote error: upload-pack: not our ref 5488d8124da8dd56525ad08333aa6a5f10fa1d04
fatal: Fetched in submodule path 'packages/deepcase', but it did not contain 5488d8124da8dd56525ad08333aa6a5f10fa1d04. Direct fetching of that commit failed.
at Object.action (/workspace/deep-foundation-dev/node_modules/simple-git/src/lib/plugins/error-detection.plugin.ts:38:28)
at PluginStore.exec (/workspace/deep-foundation-dev/node_modules/simple-git/src/lib/plugins/plugin-store.ts:24:29)
at /workspace/deep-foundation-dev/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:114:40
at new Promise ()
at GitExecutorChain.handleTaskData (/workspace/deep-foundation-dev/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:111:14)
at GitExecutorChain. (/workspace/deep-foundation-dev/node_modules/simple-git/src/lib/runners/git-executor-chain.ts:88:40)
at Generator.next ()
at fulfilled (/workspace/deep-foundation-dev/node_modules/simple-git/src/lib/runners/git-executor-chain.js:5:58)
npm notice
npm notice New major version of npm available! 7.24.2 -> 10.2.4
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.4
npm notice Run npm install -g npm@10.2.4 to update!
npm notice
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @deep-foundation/dev@0.0.21 packages: `(npx gulp packages:get) && (npx gulp packages:ci)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @deep-foundation/dev@0.0.21 packages script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/gitpod/.npm/_logs/2023-11-25T14_05_53_250Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @deep-foundation/dev@0.0.21 gitpod-init: `npm run gitpod-prepare && npm ci && npm run packages && npm run apply-deeplinks && npm run apply-hasura`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @deep-foundation/dev@0.0.21 gitpod-init script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/gitpod/.npm/_logs/2023-11-25T14_05_53_267Z-debug.log
main: Pulling from deepf/deeplinks
a0d0a0d46f8b: Pull complete
14df950e5a79: Pull complete
86a31cc9e913: Pull complete
f7a413701226: Pull complete
53d92eaf1416: Pull complete
e701314a3113: Pull complete
5bea1be2ff28: Pull complete
5abb11622685: Pull complete
2e3448405a21: Pull complete
bf064520bf42: Pull complete
1d24f2f3cafb: Pull complete
8f932ee1f5e5: Pull complete
08d0349926b9: Pull complete
4a58108af1c3: Pull complete
fd09ec7032e6: Pull complete
073f8c532c04: Pull complete
f813c51f7b76: Pull complete
3b300276ff57: Pull complete
7f821c783090: Pull complete
338247511cc4: Pull complete
4282006bf024: Pull complete
969e804087be: Pull complete
fe14be06ffc3: Pull complete
bb44f012a519: Pull complete
Digest: sha256:55d14485e3b0773e74bbeed000c61ad958d1145223c926c231f30b21195148af
Status: Downloaded newer image for deepf/deeplinks:main
docker.io/deepf/deeplinks:main
cp: can't create '/deeplinks/snapshots/1700326434804': No such file or directory
cp: can't create '/deeplinks/snapshots/1700326434804.migrate': No such file or directory
cp: can't create '/deeplinks/snapshots/create.js': No such file or directory
cp: can't create '/deeplinks/snapshots/last.js': No such file or directory
npm ERR! missing script: snapshot:last
npm ERR! A complete log of this run can be found in:
npm ERR! /home/gitpod/.npm/_logs/2023-11-25T14_06_26_002Z-debug.log
/home/gitpod/.nvm/versions/node/v14.15.0/bin/conc -> /home/gitpod/.nvm/versions/node/v14.15.0/lib/node_modules/concurrently/dist/bin/concurrently.js
/home/gitpod/.nvm/versions/node/v14.15.0/bin/concurrently -> /home/gitpod/.nvm/versions/node/v14.15.0/lib/node_modules/concurrently/dist/bin/concurrently.js
+ concurrently@8.2.2
added 30 packages from 30 contributors in 3.348s
```
# Second terminal
```
HISTFILE=/workspace/.gitpod/cmd-1 history -r; {
(cd packages/deeplinks; if git merge-base --is-ancestor origin/main main; then echo ''; else ( echo 'NEED TO PULL DEEPLINKS!'; git checkout main; git pull; cd ../../; npm run apply-deeplinks); fi) && (cd packages/deepcase; if (git merge-base --is-ancestor origin/main main); then echo ''; else ( echo 'NEED TO PULL DEEPCASE!'; git checkout main; git pull; npm ci); fi) && npm run gitpod-start;
}
mv: cannot remove '/home/gitpod/.pyenv/version': No such file or directory
gitpod /workspace/deep-foundation-dev (main) $ HISTFILE=/workspace/.gitpod/cmd-1 history -r; {
> (cd packages/deeplinks; if git merge-base --is-ancestor origin/main main; then echo ''; else ( echo 'NEED TO PULL DEEPLINKS!'; git checkout main; git pull; cd ../../; npm run apply-deeplinks); fi) && (cd packages/deepcase; if (git merge-base --is-ancestor origin/main main); then echo ''; else ( echo 'NEED TO PULL DEEPCASE!'; git checkout main; git pull; npm ci); fi) && npm run gitpod-start;
> }
> @deep-foundation/dev@0.0.21 gitpod-start /workspace/deep-foundation-dev
> export NEXT_PUBLIC_ENGINES=0; export NEXT_PUBLIC_HIDEPATH=1; export npm_config_yes=true; export JWT_SECRET="{\"type\":\"HS256\",\"key\":\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\"}" export MIGRATIONS_ID_TYPE_SQL=bigint; export MIGRATIONS_ID_TYPE_GQL=bigint; export MIGRATIONS_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export DEEPLINKS_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export MIGRATIONS_HASURA_SSL=1; export DEEPLINKS_HASURA_SSL=1; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export DEEPLINKS_HASURA_SECRET=myadminsecretkey; export NEXT_PUBLIC_DEEPLINKS_SERVER=https://$(echo $(gp url 3007) | awk -F[/:] '{print $4}'); export NEXT_PUBLIC_GQL_PATH=$(echo $(gp url 3006) | awk -F[/:] '{print $4}')/gql; export NEXT_PUBLIC_GQL_SSL=1 DEEPLINKS_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export DEEPLINKS_HASURA_SSL=1; export MIGRATIONS_DEEPLINKS_APP_URL=$(gp url 3007); export MIGRATIONS_DEEPLINKS_URL=$(gp url 3006); export DEEPLINKS_PUBLIC_URL=$(gp url 3006); export DOCKER_DEEPLINKS_URL=http://host.docker.internal:3006; export DEEPLINKS_ROUTE_HANDLERS_HOST=host.docker.internal; npm run gitpod-hasura-reattach; concurrently "npm run deepcase" "npm run deeplinks" "npm run gitpod-engine" "npm run nextjs"
> @deep-foundation/dev@0.0.21 gitpod-hasura-reattach /workspace/deep-foundation-dev
> export REATTACH_HASURA_SECRET=myadminsecretkey; export REATTACH_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export REATTACH_HASURA_SSL=1; export REATTACH_DEEPLINKS_PATH=$(echo $(gp url 3006) | awk -F[/:] '{print $4}'); npx gulp gitpod:hasura:reattach
[14:05:31] Failed to load external module ts-node/register
[14:05:31] Error: Cannot find module 'ts-node/register' from '/workspace/deep-foundation-dev'
[14:05:31] Failed to load external module typescript-node/register
[14:05:31] Error: Cannot find module 'typescript-node/register' from '/workspace/deep-foundation-dev'
[14:05:31] Failed to load external module typescript-register
[14:05:31] Error: Cannot find module 'typescript-register' from '/workspace/deep-foundation-dev'
[14:05:31] Failed to load external module typescript-require
[14:05:31] Error: Cannot find module 'typescript-require' from '/workspace/deep-foundation-dev'
[14:05:31] Failed to load external module sucrase/register/ts
[14:05:31] Error: Cannot find module 'sucrase/register/ts' from '/workspace/deep-foundation-dev'
[14:05:31] Failed to load external module @babel/register
[14:05:31] Error: Cannot find module '@babel/register' from '/workspace/deep-foundation-dev'
[14:05:31] Local modules not found in /workspace/deep-foundation-dev
[14:05:31] Try running: npm install
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @deep-foundation/dev@0.0.21 gitpod-hasura-reattach: `export REATTACH_HASURA_SECRET=myadminsecretkey; export REATTACH_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export REATTACH_HASURA_SSL=1; export REATTACH_DEEPLINKS_PATH=$(echo $(gp url 3006) | awk -F[/:] '{print $4}'); npx gulp gitpod:hasura:reattach`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @deep-foundation/dev@0.0.21 gitpod-hasura-reattach script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/gitpod/.npm/_logs/2023-11-25T14_05_31_848Z-debug.log
sh: 1: concurrently: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! @deep-foundation/dev@0.0.21 gitpod-start: `export NEXT_PUBLIC_ENGINES=0; export NEXT_PUBLIC_HIDEPATH=1; export npm_config_yes=true; export JWT_SECRET="{\"type\":\"HS256\",\"key\":\"3EK6FD+o0+c7tzBNVfjpMkNDi2yARAAKzQlk8O2IKoxQu4nF7EdAh8s3TwpHwrdWT6R\"}" export MIGRATIONS_ID_TYPE_SQL=bigint; export MIGRATIONS_ID_TYPE_GQL=bigint; export MIGRATIONS_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export DEEPLINKS_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export MIGRATIONS_HASURA_SSL=1; export DEEPLINKS_HASURA_SSL=1; export MIGRATIONS_HASURA_SECRET=myadminsecretkey; export DEEPLINKS_HASURA_SECRET=myadminsecretkey; export NEXT_PUBLIC_DEEPLINKS_SERVER=https://$(echo $(gp url 3007) | awk -F[/:] '{print $4}'); export NEXT_PUBLIC_GQL_PATH=$(echo $(gp url 3006) | awk -F[/:] '{print $4}')/gql; export NEXT_PUBLIC_GQL_SSL=1 DEEPLINKS_HASURA_PATH=$(echo $(gp url 8080) | awk -F[/:] '{print $4}'); export DEEPLINKS_HASURA_SSL=1; export MIGRATIONS_DEEPLINKS_APP_URL=$(gp url 3007); export MIGRATIONS_DEEPLINKS_URL=$(gp url 3006); export DEEPLINKS_PUBLIC_URL=$(gp url 3006); export DOCKER_DEEPLINKS_URL=http://host.docker.internal:3006; export DEEPLINKS_ROUTE_HANDLERS_HOST=host.docker.internal; npm run gitpod-hasura-reattach; concurrently "npm run deepcase" "npm run deeplinks" "npm run gitpod-engine" "npm run nextjs"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the @deep-foundation/dev@0.0.21 gitpod-start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/gitpod/.npm/_logs/2023-11-25T14_05_31_956Z-debug.log
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.