Closed jkhartshorne closed 1 year ago
Using v. 2.2.10, it never stops echoing "..."
% pushkin prep package manager: yarn resetting experiments.js Started prepping API for mind Started loading API controller for mind Using build-if-changed for mind_api Installing dependencies for /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/experiments/mind/api controllers Started prepping API for vocab Started loading API controller for vocab Using build-if-changed for vocab_api Installing dependencies for /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/experiments/vocab/api controllers Started prepping API for whichenglish Started loading API controller for whichenglish Using build-if-changed for whichenglish_api Installing dependencies for /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/experiments/whichenglish/api controllers Started prepping web page for mind Started loading web page for mind Using build-if-changed for mind_web Installing dependencies for /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/experiments/mind/web page Started prepping web page for vocab Started loading web page for vocab Using build-if-changed for vocab_web Installing dependencies for /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/experiments/vocab/web page Started prepping web page for whichenglish Started loading web page for whichenglish Using build-if-changed for whichenglish_web Installing dependencies for /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/experiments/whichenglish/web page loaded docker-compose.dev.yml and pushkin.yaml. Building worker for mind Building docker image for mind_worker Building worker for vocab Building docker image for vocab_worker Building worker for whichenglish Building docker image for whichenglish_worker userMigsDir: /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/users/migrations userDatabase: localtestdb Loading migrations for mind expConfig: {"experimentName":"mind","shortName":"mind","apiControllers":{"mountPath":"mind","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"mind","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Loading migrations for vocab expConfig: {"experimentName":"vocab","shortName":"vocab","apiControllers":{"mountPath":"vocab","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"vocab","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Loading migrations for whichenglish expConfig: {"experimentName":"whichenglish","shortName":"whichenglish","apiControllers":{"mountPath":"whichenglish","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"whichenglish","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Waiting for database to start... ... Building mind_api from /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/experiments/mind/api controllers Building vocab_web from /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/experiments/vocab/web page Building whichenglish_api from /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/experiments/whichenglish/api controllers Building vocab_api from /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/experiments/vocab/api controllers mind_api is built Building whichenglish_web from /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/experiments/whichenglish/web page vocab_web is built whichenglish_api is built mind_api is published locally via yalc Building mind_web from /Users/jkhartshorne/Documents/Projects/PushkinDev/pushkin_tutorial_2023/pushkin_quickstart/experiments/mind/web page whichenglish_api is published locally via yalc vocab_web is published locally via yalc Loaded web page for vocab (vocab_web) Added vocab to experiments.js vocab_api is built whichenglish_web is built mind_web is built vocab_api is published locally via yalc ... whichenglish_web is published locally via yalc Loaded web page for whichenglish (whichenglish_web) Added whichenglish to experiments.js mind_web is published locally via yalc Loaded web page for mind (mind_web) Added mind to experiments.js Writing out experiments.js Installing combined API Installed combined API Installing combined front-end Installed combined front-end ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... Finished building all experiment workers updating docker-compose.dev.yml Writing out front-end config ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
Exiting out of the above, I then tried pushkin start
anyway. Everything seems to have launched except for the pushkin-server. Here are the logs:
2023-04-04 16:26:46 yarn run v1.22.19 2023-04-04 16:26:47 $ PORT=80 react-scripts start 2023-04-04 16:26:47 ℹ 「wds」: Project is running at http://172.18.0.8/ 2023-04-04 16:26:47 ℹ 「wds」: webpack output is served from 2023-04-04 16:26:47 ℹ 「wds」: Content not from webpack is served from /usr/src/app/public 2023-04-04 16:26:47 ℹ 「wds」: 404s will fallback to / 2023-04-04 16:26:47 Starting the development server... 2023-04-04 16:26:47 2023-04-04 16:26:47 Error: error:0308010C:digital envelope routines::unsupported 2023-04-04 16:26:47 at new Hash (node:internal/crypto/hash:71:19) 2023-04-04 16:26:47 at Object.createHash (node:crypto:140:10) 2023-04-04 16:26:47 at module.exports (/usr/src/app/node_modules/webpack/lib/util/createHash.js:135:53) 2023-04-04 16:26:47 at NormalModule._initBuildHash (/usr/src/app/node_modules/webpack/lib/NormalModule.js:417:16) 2023-04-04 16:26:47 at handleParseError (/usr/src/app/node_modules/webpack/lib/NormalModule.js:471:10) 2023-04-04 16:26:47 at /usr/src/app/node_modules/webpack/lib/NormalModule.js:503:5 2023-04-04 16:26:47 at /usr/src/app/node_modules/webpack/lib/NormalModule.js:358:12 2023-04-04 16:26:47 at /usr/src/app/node_modules/loader-runner/lib/LoaderRunner.js:373:3 2023-04-04 16:26:47 at iterateNormalLoaders (/usr/src/app/node_modules/loader-runner/lib/LoaderRunner.js:214:10) 2023-04-04 16:26:47 at iterateNormalLoaders (/usr/src/app/node_modules/loader-runner/lib/LoaderRunner.js:221:10) 2023-04-04 16:26:48 /usr/src/app/node_modules/react-scripts/scripts/start.js:19 2023-04-04 16:26:48 throw err; 2023-04-04 16:26:48 ^ 2023-04-04 16:26:48 2023-04-04 16:26:48 Error: error:0308010C:digital envelope routines::unsupported 2023-04-04 16:26:48 at new Hash (node:internal/crypto/hash:71:19) 2023-04-04 16:26:48 at Object.createHash (node:crypto:140:10) 2023-04-04 16:26:48 at module.exports (/usr/src/app/node_modules/webpack/lib/util/createHash.js:135:53) 2023-04-04 16:26:48 at NormalModule._initBuildHash (/usr/src/app/node_modules/webpack/lib/NormalModule.js:417:16) 2023-04-04 16:26:48 at /usr/src/app/node_modules/webpack/lib/NormalModule.js:452:10 2023-04-04 16:26:48 at /usr/src/app/node_modules/webpack/lib/NormalModule.js:323:13 2023-04-04 16:26:48 at /usr/src/app/node_modules/loader-runner/lib/LoaderRunner.js:367:11 2023-04-04 16:26:48 at /usr/src/app/node_modules/loader-runner/lib/LoaderRunner.js:233:18 2023-04-04 16:26:48 at context.callback (/usr/src/app/node_modules/loader-runner/lib/LoaderRunner.js:111:13) 2023-04-04 16:26:48 at /usr/src/app/node_modules/react-scripts/node_modules/babel-loader/lib/index.js:55:103 { 2023-04-04 16:26:48 opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], 2023-04-04 16:26:48 library: 'digital envelope routines', 2023-04-04 16:26:48 reason: 'unsupported', 2023-04-04 16:26:48 code: 'ERR_OSSL_EVP_UNSUPPORTED' 2023-04-04 16:26:48 } 2023-04-04 16:26:48 2023-04-04 16:26:48 Node.js v19.8.1 2023-04-04 16:26:48 error Command failed with exit code 1. 2023-04-04 16:26:48 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Ran
$ pushkin prep -nm
which terminated normally. This suggests the problem is in running database migrations.
I think it's stalling on connecting to docker. What's not clear to me is why the docker command is
docker ps -f name=pushkin_test_db_1
where did pushkin_test_db_1 come from?
So I can confirm that the test database actually does start up and works. However, the CLI output says that it's waiting for the database to start up.
Might have been this line in updateDB:
let x = await exec ('docker ps -f name=pushkin_test_db_1')
which should have read
let x = await exec ('docker ps -f name=pushkin-test_db_1')
I still need to check whether this fixes the issue.
So it was actually
let x = await exec ('docker ps -f name=pushkin-test_db-1')
@benthebear I think this may be fixed. Can you please try the following:
bugfixes
branchyarn build
(if you don't have yarn installed, you can install with npm ... assuming that's installed.)pushkin
as a subfolder). node [path_to_repo]/build/index.js prep
That will let you run the development version of the CLI.
@hzeng2 @jessestorbeck -- can you both try this as well and confirm that init and prep work for you using the bugfixes branch?
@jkhartshorne I wasn't able to get very far on this. We're talking about the bugfixes branch of the pushkin-cli repo, correct? I got as far as checking out the bugfixes branch there, but I couldn't run yarn build
. It gave me the error /bin/sh: babel: command not found
.
@jessestorbeck -- yes, that's the branch. Can you do two things?
package.json
from the pushkin-cli repo.@jkhartshorne I had the same issue like Jesse.
This is what I got from running yarn build
✔ ~/pushkin-cli [bugfixes|✔ ] $ yarn build yarn run v1.22.19 $ babel src -d build /bin/sh: 1: babel: not found error Command failed with exit code 127. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ✘-127 ~/pushkin-cli [bugfixes|✔ ]
The yarn version I am using is 1.22.19.
And the content of package.json
from pushkin-cli repo is:
{ "name": "pushkin-cli", "version": "2.2.10", "description": "A CLI for automating basic Pushkin tasks", "main": "build/index.js", "files": [ "build/*" ], "bin": { "pushkin": "build/index.js" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "babel src -d build" }, "keywords": [ "pushkin", "cli" ], "author": "L3", "license": "MIT", "devDependencies": { "@babel/cli": "^7.10.5", "@babel/core": "^7.10.5", "@babel/preset-env": "^7.10.4", "babel-eslint": "^10.1.0", "eslint": "^7.5.0", "eslint-config-airbnb-base": "^14.2.0", "eslint-plugin-import": "^2.22.0" }, "dependencies": { "adm-zip": "^0.4.16", "balanced-match": "^1.0.0", "command-line-args": "^5.1.1", "commander": "^6.0.0", "core-js": "^3.6.5", "corejs": "^1.0.0", "docker-compose": "^0.23.5", "got": "^11.5.1", "inquirer": "^7.3.2", "js-yaml": "^3.14.0", "knex": "^0.21.5", "pg": "^8.3.0", "regenerator-runtime": "^0.13.5", "replace-in-file": "^6.1.0", "shelljs": "^0.8.4", "superagent": "^5.3.1", "tar": "^6.0.2", "uuid": "^8.3.0" } }
Figured it out! You need to run yarn install
before running yarn build
. Please let me know how that goes.
@jkhartshorne yarn install
helped! Also I made sure docker is on. However, the outcome is repeated ...
for over 15 minutes:
haozeng@DESKTOP-VSKNB7K:~/pushkin_quickstart$ node ~/pushkin-cli/build/index.js prep package manager: yarn resetting experiments.js Started prepping API for mind Started loading API controller for mind Using build-if-changed for mind_api Installing dependencies for /home/haozeng/pushkin_quickstart/experiments/mind/api controllers Started prepping API for vocab Started loading API controller for vocab Using build-if-changed for vocab_api Installing dependencies for /home/haozeng/pushkin_quickstart/experiments/vocab/api controllers Started prepping API for whichenglish Started loading API controller for whichenglish Using build-if-changed for whichenglish_api Installing dependencies for /home/haozeng/pushkin_quickstart/experiments/whichenglish/api controllers Started prepping web page for mind Started loading web page for mind Using build-if-changed for mind_web Installing dependencies for /home/haozeng/pushkin_quickstart/experiments/mind/web page Started prepping web page for vocab Started loading web page for vocab Using build-if-changed for vocab_web Installing dependencies for /home/haozeng/pushkin_quickstart/experiments/vocab/web page Started prepping web page for whichenglish Started loading web page for whichenglish Using build-if-changed for whichenglish_web Installing dependencies for /home/haozeng/pushkin_quickstart/experiments/whichenglish/web page loaded docker-compose.dev.yml and pushkin.yaml. Building worker for mind Building docker image for mind_worker Building worker for vocab Building docker image for vocab_worker Building worker for whichenglish Building docker image for whichenglish_worker userMigsDir: /home/haozeng/pushkin_quickstart/users/migrations userDatabase: localtestdb Loading migrations for mind expConfig: {"experimentName":"mind","shortName":"mind","apiControllers":{"mountPath":"mind","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"mind","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Loading migrations for vocab expConfig: {"experimentName":"vocab","shortName":"vocab","apiControllers":{"mountPath":"vocab","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"vocab","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Loading migrations for whichenglish expConfig: {"experimentName":"whichenglish","shortName":"whichenglish","apiControllers":{"mountPath":"whichenglish","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"whichenglish","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Waiting for database to start... ... Building mind_api from /home/haozeng/pushkin_quickstart/experiments/mind/api controllers Building vocab_web from /home/haozeng/pushkin_quickstart/experiments/vocab/web page mind_api is built Building whichenglish_web from /home/haozeng/pushkin_quickstart/experiments/whichenglish/web page mind_api is published locally via yalc vocab_web is built Building vocab_api from /home/haozeng/pushkin_quickstart/experiments/vocab/api controllers whichenglish_web is built vocab_web is published locally via yalc Loaded web page for vocab (vocab_web) Added vocab to experiments.js ... Building whichenglish_api from /home/haozeng/pushkin_quickstart/experiments/whichenglish/api controllers vocab_api is built whichenglish_web is published locally via yalc Loaded web page for whichenglish (whichenglish_web) Added whichenglish to experiments.js Building mind_web from /home/haozeng/pushkin_quickstart/experiments/mind/web page vocab_api is published locally via yalc whichenglish_api is built mind_web is built whichenglish_api is published locally via yalc mind_web is published locally via yalc Loaded web page for mind (mind_web) Added mind to experiments.js Writing out experiments.js Installing combined API Installed combined API Installing combined front-end Installed combined front-end Finished building all experiment workers updating docker-compose.dev.yml Writing out front-end config ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
Can you please try running pushkin armageddon
and then re-run pushkin prep
? Please post the output below.
@jkhartshorne I let the looping ...
continue and ran pushkin armageddon
, pushkin prep
, and pushkin start
in a new terminal. And this is the output I got (still could not view the site):
haozeng@DESKTOP-VSKNB7K:~/pushkin_quickstart$ pushkin armageddon haozeng@DESKTOP-VSKNB7K:~/pushkin_quickstart$ pushkin prep package manager: yarn resetting experiments.js Started prepping API for mind Started loading API controller for mind Using build-if-changed for mind_api Installing dependencies for /home/haozeng/pushkin_quickstart/experiments/mind/api controllers Started prepping API for vocab Started loading API controller for vocab Using build-if-changed for vocab_api Installing dependencies for /home/haozeng/pushkin_quickstart/experiments/vocab/api controllers Started prepping API for whichenglish Started loading API controller for whichenglish Using build-if-changed for whichenglish_api Installing dependencies for /home/haozeng/pushkin_quickstart/experiments/whichenglish/api controllers Started prepping web page for mind Started loading web page for mind Using build-if-changed for mind_web Installing dependencies for /home/haozeng/pushkin_quickstart/experiments/mind/web page Started prepping web page for vocab Started loading web page for vocab Using build-if-changed for vocab_web Installing dependencies for /home/haozeng/pushkin_quickstart/experiments/vocab/web page Started prepping web page for whichenglish Started loading web page for whichenglish Using build-if-changed for whichenglish_web Installing dependencies for /home/haozeng/pushkin_quickstart/experiments/whichenglish/web page loaded docker-compose.dev.yml and pushkin.yaml. Building worker for mind Building docker image for mind_worker Building worker for vocab Building docker image for vocab_worker Building worker for whichenglish Building docker image for whichenglish_worker userMigsDir: /home/haozeng/pushkin_quickstart/users/migrations userDatabase: localtestdb Loading migrations for mind expConfig: {"experimentName":"mind","shortName":"mind","apiControllers":{"mountPath":"mind","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"mind","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Loading migrations for vocab expConfig: {"experimentName":"vocab","shortName":"vocab","apiControllers":{"mountPath":"vocab","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"vocab","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Loading migrations for whichenglish expConfig: {"experimentName":"whichenglish","shortName":"whichenglish","apiControllers":{"mountPath":"whichenglish","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"whichenglish","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Waiting for database to start... ... Building mind_web from /home/haozeng/pushkin_quickstart/experiments/mind/web page Building vocab_web from /home/haozeng/pushkin_quickstart/experiments/vocab/web page mind_web is built Building whichenglish_web from /home/haozeng/pushkin_quickstart/experiments/whichenglish/web page vocab_web is built mind_web is published locally via yalc Loaded web page for mind (mind_web) Added mind to experiments.js Building vocab_api from /home/haozeng/pushkin_quickstart/experiments/vocab/api controllers whichenglish_web is built vocab_web is published locally via yalc Loaded web page for vocab (vocab_web) Added vocab to experiments.js ... Building whichenglish_api from /home/haozeng/pushkin_quickstart/experiments/whichenglish/api controllers vocab_api is built whichenglish_web is published locally via yalc Loaded web page for whichenglish (whichenglish_web) Added whichenglish to experiments.js Writing out experiments.js Installing combined API Installed combined API Installing combined front-end Installed combined front-end Building mind_api from /home/haozeng/pushkin_quickstart/experiments/mind/api controllers vocab_api is published locally via yalc whichenglish_api is built whichenglish_api is published locally via yalc mind_api is built mind_api is published locally via yalc Finished building all experiment workers updating docker-compose.dev.yml Writing out front-end config ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... starting migrations.... migAndSeedDirs: [ { migrations: '/home/haozeng/pushkin_quickstart/users/migrations', seeds: '' }, { migrations: '/home/haozeng/pushkin_quickstart/experiments/mind/migrations', seeds: '/home/haozeng/pushkin_quickstart/experiments/mind' }, { migrations: '/home/haozeng/pushkin_quickstart/experiments/vocab/migrations', seeds: '/home/haozeng/pushkin_quickstart/experiments/vocab' }, { migrations: '/home/haozeng/pushkin_quickstart/experiments/whichenglish/migrations', seeds: '/home/haozeng/pushkin_quickstart/experiments/whichenglish' } ] db: localtestdb Ran migrations for main database Running seeds on /home/haozeng/pushkin_quickstart/experiments/mind Running seeds on /home/haozeng/pushkin_quickstart/experiments/vocab Running seeds on /home/haozeng/pushkin_quickstart/experiments/whichenglish Set up databases successfully Database updated. Shutting down... haozeng@DESKTOP-VSKNB7K:~/pushkin_quickstart$ pushkin start Setting front-end 'environment variable' Setting front-end 'environment variable' Pulling message-queue (rabbitmq:3.6-management)... 3.6-management: Pulling from library/rabbitmq Digest: sha256:05bd722c6b0c747ae7f854baa9e9ceb9b47da75e39f93ad6a1db74f788b0f828 Status: Downloaded newer image for rabbitmq:3.6-management Building api Step 1/9 : FROM node:latest latest: Pulling from library/node Digest: sha256:14f0471d0478fbb9177d0f9e8c146dc872273dcdcfc7fea93a27ed81fc6b0e96 Status: Downloaded newer image for node:latest ---> f03de6896e9e Step 2/9 : COPY ./src /usr/src/app/src ---> a979b74e3d33 Step 3/9 : COPY .yalc /usr/src/app/.yalc/ ---> 4102be282103 Step 4/9 : COPY ./package.json ./yarn.lock ./.babelrc ./yalc.lock ./dockerStart.sh /usr/src/app/ ---> d64307871e4e Step 5/9 : WORKDIR /usr/src/app ---> Running in 51c62cfc7433 Removing intermediate container 51c62cfc7433 ---> 27fd1c71cd5b Step 6/9 : RUN yarn install ---> Running in 99145c9f0e8b yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... Done in 5.46s. Removing intermediate container 99145c9f0e8b ---> 2ac23f2f3895 Step 7/9 : RUN yarn build ---> Running in 22f4ea5e232c yarn run v1.22.19 $ rm -rf build/ && babel src -d build && cp src/controllers.json build/ Successfully compiled 1 file with Babel (222ms). Done in 0.43s. Removing intermediate container 22f4ea5e232c ---> 0f2a234bb4c0 Step 8/9 : RUN apt-get update && apt-get install -y netcat ---> Running in 60b5f904b254 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB] Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB] Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [245 kB] Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.8 kB] Fetched 8650 kB in 1s (7456 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: netcat-openbsd The following NEW packages will be installed: netcat netcat-openbsd 0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded. Need to get 50.8 kB of archives. After this operation, 130 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main amd64 netcat-openbsd amd64 1.217-3 [41.1 kB] Get:2 http://deb.debian.org/debian bullseye/main amd64 netcat all 1.10-46 [9728 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 50.8 kB in 0s (2391 kB/s) Selecting previously unselected package netcat-openbsd. (Reading database ... 22794 files and directories currently installed.) Preparing to unpack .../netcat-openbsd_1.217-3_amd64.deb ... Unpacking netcat-openbsd (1.217-3) ... Selecting previously unselected package netcat. Preparing to unpack .../netcat_1.10-46_all.deb ... Unpacking netcat (1.10-46) ... Setting up netcat-openbsd (1.217-3) ... update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode Setting up netcat (1.10-46) ... Removing intermediate container 60b5f904b254 ---> a63089870496 Step 9/9 : CMD ["bash", "dockerStart.sh"] ---> Running in 273da645a28d Removing intermediate container 273da645a28d ---> 2c859d0dcf3c Successfully built 2c859d0dcf3c Successfully tagged pushkin_api:latest Building server Step 1/10 : FROM node:latest ---> f03de6896e9e Step 2/10 : COPY ./public /usr/src/app/public ---> ca1ea4f99060 Step 3/10 : COPY ./src /usr/src/app/src ---> a59108b0cc4d Step 4/10 : COPY .yalc /usr/src/app/.yalc/ ---> d51f537983a5 Step 5/10 : COPY ./experiments.js /usr/src/app/src/ ---> f6fb6dbedd16 Step 6/10 : COPY ./package.json ./yarn.lock ./yalc.lock /usr/src/app/ ---> 4b0db47819e6 Step 7/10 : WORKDIR /usr/src/app ---> Running in bfa5802614e5 Removing intermediate container bfa5802614e5 ---> 18f696c1427d Step 8/10 : RUN yarn install ---> Running in b7b6977fe808 yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... warning " > bootstrap@4.5.0" has unmet peer dependency "jquery@1.9.1 - 3". warning " > bootstrap@4.5.0" has unmet peer dependency "popper.js@^1.16.0". warning " > styled-components@5.1.1" has unmet peer dependency "react-is@>= 16.8.0". [4/4] Building fresh packages... Done in 29.00s. Removing intermediate container b7b6977fe808 ---> d8463f0b8388 Step 9/10 : RUN apt-get update && apt-get install -y netcat ---> Running in 5c30a28e54ad Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB] Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB] Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [245 kB] Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.8 kB] Fetched 8650 kB in 1s (6844 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: netcat-openbsd The following NEW packages will be installed: netcat netcat-openbsd 0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded. Need to get 50.8 kB of archives. After this operation, 130 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main amd64 netcat-openbsd amd64 1.217-3 [41.1 kB] Get:2 http://deb.debian.org/debian bullseye/main amd64 netcat all 1.10-46 [9728 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 50.8 kB in 0s (1016 kB/s) Selecting previously unselected package netcat-openbsd. (Reading database ... 22794 files and directories currently installed.) Preparing to unpack .../netcat-openbsd_1.217-3_amd64.deb ... Unpacking netcat-openbsd (1.217-3) ... Selecting previously unselected package netcat. Preparing to unpack .../netcat_1.10-46_all.deb ... Unpacking netcat (1.10-46) ... Setting up netcat-openbsd (1.217-3) ... update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode Setting up netcat (1.10-46) ... Removing intermediate container 5c30a28e54ad ---> b0bd4be3dfed Step 10/10 : CMD yarn start ---> Running in 218f5a95fc6b Removing intermediate container 218f5a95fc6b ---> 529508382d3c Successfully built 529508382d3c Successfully tagged pushkin_server:latest Starting pushkin_test_db_1 ... done Creating pushkin_message-queue_1 ... done Creating pushkin_vocab_worker_1 ... done Creating pushkin_mind_worker_1 ... done Creating pushkin_whichenglish_worker_1 ... done Creating pushkin_api_1 ... done Creating pushkin_server_1 ... done 3.6-management: Pulling from library/rabbitmq Digest: sha256:05bd722c6b0c747ae7f854baa9e9ceb9b47da75e39f93ad6a1db74f788b0f828 Status: Downloaded newer image for rabbitmq:3.6-management Step 1/9 : FROM node:latest latest: Pulling from library/node Digest: sha256:14f0471d0478fbb9177d0f9e8c146dc872273dcdcfc7fea93a27ed81fc6b0e96 Status: Downloaded newer image for node:latest ---> f03de6896e9e Step 2/9 : COPY ./src /usr/src/app/src ---> a979b74e3d33 Step 3/9 : COPY .yalc /usr/src/app/.yalc/ ---> 4102be282103 Step 4/9 : COPY ./package.json ./yarn.lock ./.babelrc ./yalc.lock ./dockerStart.sh /usr/src/app/ ---> d64307871e4e Step 5/9 : WORKDIR /usr/src/app ---> Running in 51c62cfc7433 Removing intermediate container 51c62cfc7433 ---> 27fd1c71cd5b Step 6/9 : RUN yarn install ---> Running in 99145c9f0e8b yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... Done in 5.46s. Removing intermediate container 99145c9f0e8b ---> 2ac23f2f3895 Step 7/9 : RUN yarn build ---> Running in 22f4ea5e232c yarn run v1.22.19 $ rm -rf build/ && babel src -d build && cp src/controllers.json build/ Successfully compiled 1 file with Babel (222ms). Done in 0.43s. Removing intermediate container 22f4ea5e232c ---> 0f2a234bb4c0 Step 8/9 : RUN apt-get update && apt-get install -y netcat ---> Running in 60b5f904b254 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB] Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB] Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [245 kB] Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.8 kB] Fetched 8650 kB in 1s (7456 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: netcat-openbsd The following NEW packages will be installed: netcat netcat-openbsd 0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded. Need to get 50.8 kB of archives. After this operation, 130 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main amd64 netcat-openbsd amd64 1.217-3 [41.1 kB] Get:2 http://deb.debian.org/debian bullseye/main amd64 netcat all 1.10-46 [9728 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 50.8 kB in 0s (2391 kB/s) Selecting previously unselected package netcat-openbsd. (Reading database ... 22794 files and directories currently installed.) Preparing to unpack .../netcat-openbsd_1.217-3_amd64.deb ... Unpacking netcat-openbsd (1.217-3) ... Selecting previously unselected package netcat. Preparing to unpack .../netcat_1.10-46_all.deb ... Unpacking netcat (1.10-46) ... Setting up netcat-openbsd (1.217-3) ... update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode Setting up netcat (1.10-46) ... Removing intermediate container 60b5f904b254 ---> a63089870496 Step 9/9 : CMD ["bash", "dockerStart.sh"] ---> Running in 273da645a28d Removing intermediate container 273da645a28d ---> 2c859d0dcf3c Successfully built 2c859d0dcf3c Successfully tagged pushkin_api:latest Step 1/10 : FROM node:latest ---> f03de6896e9e Step 2/10 : COPY ./public /usr/src/app/public ---> ca1ea4f99060 Step 3/10 : COPY ./src /usr/src/app/src ---> a59108b0cc4d Step 4/10 : COPY .yalc /usr/src/app/.yalc/ ---> d51f537983a5 Step 5/10 : COPY ./experiments.js /usr/src/app/src/ ---> f6fb6dbedd16 Step 6/10 : COPY ./package.json ./yarn.lock ./yalc.lock /usr/src/app/ ---> 4b0db47819e6 Step 7/10 : WORKDIR /usr/src/app ---> Running in bfa5802614e5 Removing intermediate container bfa5802614e5 ---> 18f696c1427d Step 8/10 : RUN yarn install ---> Running in b7b6977fe808 yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... warning " > bootstrap@4.5.0" has unmet peer dependency "jquery@1.9.1 - 3". warning " > bootstrap@4.5.0" has unmet peer dependency "popper.js@^1.16.0". warning " > styled-components@5.1.1" has unmet peer dependency "react-is@>= 16.8.0". [4/4] Building fresh packages... Done in 29.00s. Removing intermediate container b7b6977fe808 ---> d8463f0b8388 Step 9/10 : RUN apt-get update && apt-get install -y netcat ---> Running in 5c30a28e54ad Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB] Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB] Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [245 kB] Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.8 kB] Fetched 8650 kB in 1s (6844 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: netcat-openbsd The following NEW packages will be installed: netcat netcat-openbsd 0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded. Need to get 50.8 kB of archives. After this operation, 130 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main amd64 netcat-openbsd amd64 1.217-3 [41.1 kB] Get:2 http://deb.debian.org/debian bullseye/main amd64 netcat all 1.10-46 [9728 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 50.8 kB in 0s (1016 kB/s) Selecting previously unselected package netcat-openbsd. (Reading database ... 22794 files and directories currently installed.) Preparing to unpack .../netcat-openbsd_1.217-3_amd64.deb ... Unpacking netcat-openbsd (1.217-3) ... Selecting previously unselected package netcat. Preparing to unpack .../netcat_1.10-46_all.deb ... Unpacking netcat (1.10-46) ... Setting up netcat-openbsd (1.217-3) ... update-alternatives: using /bin/nc.openbsd to provide /bin/nc (nc) in auto mode Setting up netcat (1.10-46) ... Removing intermediate container 5c30a28e54ad ---> b0bd4be3dfed Step 10/10 : CMD yarn start ---> Running in 218f5a95fc6b Removing intermediate container 218f5a95fc6b ---> 529508382d3c Successfully built 529508382d3c Successfully tagged pushkin_server:latest Starting. You may not be able to load localhost for a minute or two.
So looks like pushkin prep
runs, right? It's pushkin start
that isn't giving you a functioning website. That's a different problem, which I'm working on. https://github.com/pushkin-consortium/pushkin/issues/199
@jkhartshorne Yes, looks like it.
I tried following the instructions above, but still couldn't get prep
to run. Here is my output:
jessestorbeck@Jesses-MacBook-Air-4 pushkin_quickstart % node /Users/jessestorbeck/Desktop/pushkin-cli/build/index.js prep package manager: yarn resetting experiments.js Started prepping API for .DS_Store Error: ENOTDIR: not a directory, open '/Users/jessestorbeck/Desktop/pushkin_quickstart/experiments/.DS_Store/config.yaml' at Object.openSync (node:fs:592:3) at Object.readFileSync (node:fs:460:35) at readConfig (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:225:55) at /Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:316:31 at new Promise (
) at prepAPIWrapper (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:309:22) at Array.map ( ) at _callee7$ (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:338:48) at tryCatch (/Users/jessestorbeck/Desktop/pushkin-cli/node_modules/regenerator-runtime/runtime.js:45:40) at Generator.invoke [as _invoke] (/Users/jessestorbeck/Desktop/pushkin-cli/node_modules/regenerator-runtime/runtime.js:274:22) { errno: -20, syscall: 'open', code: 'ENOTDIR', path: '/Users/jessestorbeck/Desktop/pushkin_quickstart/experiments/.DS_Store/config.yaml' } Something wrong with prepping API TypeError: Cannot read properties of undefined (reading 'apiControllers') at /Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:325:58 at new Promise ( ) at prepAPIWrapper (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:309:22) at Array.map ( ) at _callee7$ (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:338:48) at tryCatch (/Users/jessestorbeck/Desktop/pushkin-cli/node_modules/regenerator-runtime/runtime.js:45:40) at Generator.invoke [as _invoke] (/Users/jessestorbeck/Desktop/pushkin-cli/node_modules/regenerator-runtime/runtime.js:274:22) at prototype. [as next] (/Users/jessestorbeck/Desktop/pushkin-cli/node_modules/regenerator-runtime/runtime.js:97:21) at asyncGeneratorStep (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:24:103) at _next (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:26:194) Started prepping API for mind Started loading API controller for mind Using build-if-changed for mind_api Installing dependencies for /Users/jessestorbeck/Desktop/pushkin_quickstart/experiments/mind/api controllers Started prepping API for whichenglish Started loading API controller for whichenglish Using build-if-changed for whichenglish_api Installing dependencies for /Users/jessestorbeck/Desktop/pushkin_quickstart/experiments/whichenglish/api controllers Started prepping web page for .DS_Store Error: ENOTDIR: not a directory, open '/Users/jessestorbeck/Desktop/pushkin_quickstart/experiments/.DS_Store/config.yaml' at Object.openSync (node:fs:592:3) at Object.readFileSync (node:fs:460:35) at readConfig (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:225:55) at /Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:418:31 at new Promise ( ) at prepWebWrapper (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:411:22) at Array.map ( ) at _callee7$ (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:437:53) at tryCatch (/Users/jessestorbeck/Desktop/pushkin-cli/node_modules/regenerator-runtime/runtime.js:45:40) at Generator.invoke [as _invoke] (/Users/jessestorbeck/Desktop/pushkin-cli/node_modules/regenerator-runtime/runtime.js:274:22) { errno: -20, syscall: 'open', code: 'ENOTDIR', path: '/Users/jessestorbeck/Desktop/pushkin_quickstart/experiments/.DS_Store/config.yaml' } Started prepping web page for mind Started loading web page for mind Using build-if-changed for mind_web Installing dependencies for /Users/jessestorbeck/Desktop/pushkin_quickstart/experiments/mind/web page Started prepping web page for whichenglish Started loading web page for whichenglish Using build-if-changed for whichenglish_web Installing dependencies for /Users/jessestorbeck/Desktop/pushkin_quickstart/experiments/whichenglish/web page loaded docker-compose.dev.yml and pushkin.yaml. Building worker for .DS_Store Building worker for mind Building docker image for mind_worker Building worker for whichenglish Building docker image for whichenglish_worker userMigsDir: /Users/jessestorbeck/Desktop/pushkin_quickstart/users/migrations userDatabase: localtestdb Loading migrations for .DS_Store Loading migrations for mind expConfig: {"experimentName":"mind","shortName":"mind","apiControllers":{"mountPath":"mind","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"mind","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Loading migrations for whichenglish expConfig: {"experimentName":"whichenglish","shortName":"whichenglish","apiControllers":{"mountPath":"whichenglish","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"whichenglish","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Waiting for database to start... /Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:176 webPageLoc = _path["default"].join(expDir, expConfig.webPage.location); ^ TypeError: Cannot read properties of undefined (reading 'webPage') at _callee3$ (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:176:66) at tryCatch (/Users/jessestorbeck/Desktop/pushkin-cli/node_modules/regenerator-runtime/runtime.js:45:40) at Generator.invoke [as _invoke] (/Users/jessestorbeck/Desktop/pushkin-cli/node_modules/regenerator-runtime/runtime.js:274:22) at prototype.
[as next] (/Users/jessestorbeck/Desktop/pushkin-cli/node_modules/regenerator-runtime/runtime.js:97:21) at asyncGeneratorStep (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:24:103) at _next (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:26:194) at /Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:26:364 at new Promise ( ) at /Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:26:97 at prepWeb (/Users/jessestorbeck/Desktop/pushkin-cli/build/commands/prep/index.js:217:18) Node.js v20.2.0
@jessestorbeck -- pull the master branch and try again with that instead of bugfixes
. I think it should solve your problem.
@jkhartshorne -- prep
gets further now before giving me a different error:
jessestorbeck@jesses-air-4 pqs % node /Users/jessestorbeck/Desktop/pushkin-cli/build/index.js prep Removing any .DS_Store files, if present. package manager: yarn resetting experiments.js Started prepping API for mind Started loading API controller for mind Using build-if-changed for mind_api Installing dependencies for /Users/jessestorbeck/Desktop/pqs/experiments/mind/api controllers Started prepping API for vocab Started loading API controller for vocab Using build-if-changed for vocab_api Installing dependencies for /Users/jessestorbeck/Desktop/pqs/experiments/vocab/api controllers Started prepping web page for mind Started loading web page for mind Using build-if-changed for mind_web Installing dependencies for /Users/jessestorbeck/Desktop/pqs/experiments/mind/web page Started prepping web page for vocab Started loading web page for vocab Using build-if-changed for vocab_web Installing dependencies for /Users/jessestorbeck/Desktop/pqs/experiments/vocab/web page loaded docker-compose.dev.yml and pushkin.yaml. Building worker for mind Building docker image for mind_worker Building worker for vocab Building docker image for vocab_worker userMigsDir: /Users/jessestorbeck/Desktop/pqs/users/migrations userDatabase: localtestdb Loading migrations for mind Updated users/config.yaml to be compatible with default site template v2+. expConfig: {"experimentName":"mind","shortName":"mind","apiControllers":{"mountPath":"mind","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"mind","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Loading migrations for vocab Updated users/config.yaml to be compatible with default site template v2+. expConfig: {"experimentName":"vocab","shortName":"vocab","apiControllers":{"mountPath":"vocab","location":"api controllers","name":"mycontroller"},"worker":{"location":"worker","service":{"image":"vocab","links":["message-queue","test_db"],"environment":{"AMQP_ADDRESS":"amqp://message-queue:5672","DB_USER":"postgres","DB_PASS":"example","DB_URL":"test_db","DB_NAME":"test_db"}}},"webPage":{"location":"web page"},"migrations":{"location":"migrations"},"seeds":{"location":""},"database":"localtestdb","logo":"logo512.png","text":"Enter your experiment description here.","tagline":"Be a citizen scientist! Try this quiz.","duration":"","productionDB":"Main"} Waiting for database to start... ... Building vocab_web from /Users/jessestorbeck/Desktop/pqs/experiments/vocab/web page Building vocab_api from /Users/jessestorbeck/Desktop/pqs/experiments/vocab/api controllers Building mind_web from /Users/jessestorbeck/Desktop/pqs/experiments/mind/web page ... ... Building mind_api from /Users/jessestorbeck/Desktop/pqs/experiments/mind/api controllers ... ... ... ... ... ... ... ... ... ... ... vocab_api is built ... ... ... vocab_api is published locally via yalc ... ... ... ... mind_api is built ... ... vocab_web is built ... mind_api is published locally via yalc ... vocab_web is published locally via yalc Loaded web page for vocab (vocab_web) Added vocab to experiments.js ... ... ... ... ... ... ... mind_web is built ... ... mind_web is published locally via yalc Loaded web page for mind (mind_web) Added mind to experiments.js Writing out experiments.js Installing combined API Installed combined API Installing combined front-end Installed combined front-end ... ... ... ... ... ... ... ... ... ... ... ... ... starting migrations.... migAndSeedDirs: [ { migrations: '/Users/jessestorbeck/Desktop/pqs/users/migrations', seeds: '' }, { migrations: '/Users/jessestorbeck/Desktop/pqs/experiments/mind/migrations', seeds: '/Users/jessestorbeck/Desktop/pqs/experiments/mind' }, { migrations: '/Users/jessestorbeck/Desktop/pqs/experiments/vocab/migrations', seeds: '/Users/jessestorbeck/Desktop/pqs/experiments/vocab' } ] db: localtestdb FS-related option specified for migration configuration. This resets migrationSource to default FsMigrations Ran migrations for main database Running seeds on /Users/jessestorbeck/Desktop/pqs/experiments/mind Running seeds on /Users/jessestorbeck/Desktop/pqs/experiments/vocab Set up databases successfully Database updated. Shutting down... Error: Command failed: docker build /Users/jessestorbeck/Desktop/pqs/experiments/vocab/worker -t vocab_worker
1 [internal] load build definition from Dockerfile
1 sha256:40f001dbeebfb2cd432bf51e82edae8711f544b1949ee959dadb506762c63c2a
1 transferring dockerfile: 268B 0.1s done
1 DONE 0.1s
2 [internal] load .dockerignore
2 sha256:5a9153884801c2475a994666211b1ab93e60deb559e9d227aaf14672b485b06b
2 transferring context: 73B 0.1s done
2 DONE 0.1s
3 [internal] load metadata for docker.io/library/node:latest
3 sha256:1c0b05b884068c98f7acad32e4f7fd374eba1122b4adcbb1de68aa72d5a6046f
3 DONE 45.4s
5 [internal] load build context
5 sha256:df0d6eb6b75fb9b372544e1b856e1ed34138b7815a971019743a824eceef0c06
5 DONE 0.0s
4 [1/5] FROM docker.io/library/node:latest@sha256:fc738db1cbb81214be1719436605e9d7d84746e5eaf0629762aeba114aa0c28d
4 sha256:3360c2ea46f37bf73fde00c6a171a6e36d1cc141b98891607a4f0bb06aecb6ad
4 resolve docker.io/library/node:latest@sha256:fc738db1cbb81214be1719436605e9d7d84746e5eaf0629762aeba114aa0c28d 0.1s done
4 sha256:fc738db1cbb81214be1719436605e9d7d84746e5eaf0629762aeba114aa0c28d 1.21kB / 1.21kB done
4 sha256:3263b6ee54a49f14ba1028730fa5facc0a6186c45da682f9b17a676b2213d7eb 2.00kB / 2.00kB done
4 sha256:5c8135dff607ee07a56e99d35dfaa992a3201aed4e156f624a60ec639bb078a9 7.24kB / 7.24kB done
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 0B / 49.55MB 0.1s
4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 0B / 24.03MB 0.1s
4 ...
5 [internal] load build context
5 sha256:df0d6eb6b75fb9b372544e1b856e1ed34138b7815a971019743a824eceef0c06
5 transferring context: 51.73kB 0.2s done
5 DONE 0.3s
4 [1/5] FROM docker.io/library/node:latest@sha256:fc738db1cbb81214be1719436605e9d7d84746e5eaf0629762aeba114aa0c28d
4 sha256:3360c2ea46f37bf73fde00c6a171a6e36d1cc141b98891607a4f0bb06aecb6ad
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 2.56MB / 49.55MB 0.6s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 5.24MB / 49.55MB 1.0s
4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 2.10MB / 24.03MB 1.0s
4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 4.19MB / 24.03MB 1.2s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 8.39MB / 49.55MB 1.3s
4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 6.24MB / 24.03MB 1.4s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 11.53MB / 49.55MB 1.7s
4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 9.44MB / 24.03MB 1.7s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 14.68MB / 49.55MB 2.1s
4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 12.58MB / 24.03MB 2.1s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 17.31MB / 49.55MB 3.1s
4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 14.58MB / 24.03MB 3.1s
4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 15.89MB / 24.03MB 3.9s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 20.91MB / 49.55MB 4.2s
4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 17.83MB / 24.03MB 4.2s
4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 19.92MB / 24.03MB 4.4s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 25.17MB / 49.55MB 5.5s
4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 23.07MB / 24.03MB 5.5s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 28.31MB / 49.55MB 6.5s
4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 24.03MB / 24.03MB 6.5s done
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 0B / 64.11MB 6.6s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 32.02MB / 49.55MB 6.8s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 35.65MB / 49.55MB 7.1s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 4.19MB / 64.11MB 7.1s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 38.80MB / 49.55MB 7.8s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 41.94MB / 49.55MB 8.1s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 8.39MB / 64.11MB 9.2s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 46.14MB / 49.55MB 9.5s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 13.63MB / 64.11MB 9.8s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 48.84MB / 49.55MB 9.9s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 17.83MB / 64.11MB 10.1s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 0B / 211.00MB 10.0s
4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 49.55MB / 49.55MB 10.1s done
4 sha256:9063cd8e310682d6ca55554ed439d2618090ac91560855beec60b30efdc6740c 0B / 3.37kB 10.2s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 21.63MB / 64.11MB 10.5s
4 sha256:9063cd8e310682d6ca55554ed439d2618090ac91560855beec60b30efdc6740c 3.37kB / 3.37kB 10.4s done
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 0B / 47.51MB 10.5s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 25.83MB / 64.11MB 11.0s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 2.78MB / 47.51MB 11.2s
4 extracting sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 30.25MB / 64.11MB 11.6s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 11.53MB / 211.00MB 11.6s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 5.24MB / 47.51MB 12.0s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 33.55MB / 64.11MB 12.6s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 8.39MB / 47.51MB 12.8s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 11.53MB / 47.51MB 13.4s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 37.75MB / 64.11MB 13.8s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 15.40MB / 47.51MB 14.2s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 18.87MB / 47.51MB 14.5s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 23.04MB / 211.00MB 14.6s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 22.35MB / 47.51MB 14.9s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 41.94MB / 64.11MB 15.1s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 26.21MB / 47.51MB 15.3s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 31.46MB / 47.51MB 15.7s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 45.61MB / 64.11MB 15.9s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 34.59MB / 47.51MB 16.1s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 49.28MB / 64.11MB 16.4s
4 extracting sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 5.1s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 37.75MB / 47.51MB 16.6s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 52.85MB / 64.11MB 17.0s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 34.60MB / 211.00MB 17.1s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 40.89MB / 47.51MB 17.3s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 57.52MB / 64.11MB 17.6s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 45.09MB / 47.51MB 17.6s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 47.51MB / 47.51MB 18.0s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 60.82MB / 64.11MB 18.1s
4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 47.51MB / 47.51MB 18.1s done
4 sha256:0b4eb4cbb822edfde19d0747fae1218270da5123f927bb6783421cd95112e8f7 0B / 2.27MB 18.2s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 64.11MB / 64.11MB 18.5s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 45.45MB / 211.00MB 18.5s
4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 64.11MB / 64.11MB 18.7s done
4 sha256:0b4eb4cbb822edfde19d0747fae1218270da5123f927bb6783421cd95112e8f7 786.43kB / 2.27MB 18.8s
4 sha256:43443b026dcfbb73b62ea6a66fcbb24b0edac6d0adcee5eb3845ed18dc0c951f 0B / 450B 18.8s
4 sha256:0b4eb4cbb822edfde19d0747fae1218270da5123f927bb6783421cd95112e8f7 1.05MB / 2.27MB 18.9s
4 sha256:0b4eb4cbb822edfde19d0747fae1218270da5123f927bb6783421cd95112e8f7 2.27MB / 2.27MB 19.0s done
4 sha256:43443b026dcfbb73b62ea6a66fcbb24b0edac6d0adcee5eb3845ed18dc0c951f 450B / 450B 18.9s done
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 58.32MB / 211.00MB 19.7s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 69.21MB / 211.00MB 20.2s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 80.74MB / 211.00MB 20.8s
4 extracting sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 10.2s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 92.13MB / 211.00MB 22.0s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 104.51MB / 211.00MB 23.0s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 115.34MB / 211.00MB 24.0s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 127.93MB / 211.00MB 24.6s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 139.46MB / 211.00MB 25.1s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 150.99MB / 211.00MB 26.1s
4 extracting sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 15.3s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 163.58MB / 211.00MB 27.1s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 175.43MB / 211.00MB 28.0s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 186.74MB / 211.00MB 28.9s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 198.02MB / 211.00MB 29.7s
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 208.67MB / 211.00MB 30.3s
4 extracting sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 19.4s done
4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 211.00MB / 211.00MB 30.9s done
4 extracting sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 0.1s
4 extracting sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 3.5s done
4 extracting sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf
4 extracting sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 5.3s
4 extracting sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 10.6s
4 extracting sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 16.0s
4 extracting sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 18.2s done
4 extracting sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639
4 extracting sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 5.1s
4 extracting sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 10.2s
4 extracting sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 15.2s
4 extracting sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 20.3s
4 extracting sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 25.4s
4 extracting sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 30.5s
4 extracting sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 35.8s
4 extracting sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 36.8s done
4 extracting sha256:9063cd8e310682d6ca55554ed439d2618090ac91560855beec60b30efdc6740c done
4 extracting sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a
4 extracting sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 5.0s
4 extracting sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 7.3s done
4 extracting sha256:0b4eb4cbb822edfde19d0747fae1218270da5123f927bb6783421cd95112e8f7
4 extracting sha256:0b4eb4cbb822edfde19d0747fae1218270da5123f927bb6783421cd95112e8f7 0.6s done
4 extracting sha256:43443b026dcfbb73b62ea6a66fcbb24b0edac6d0adcee5eb3845ed18dc0c951f done
4 DONE 100.7s
6 [2/5] COPY Dockerfile index.js package.json start.sh yarn.lock /usr/src/app/
6 sha256:dcc31c2d418d690bcff3b3a7290948c6f4a687144b4110ef980ba942191ee08c
6 DONE 1.2s
7 [3/5] WORKDIR /usr/src/app
7 sha256:73c5e8bd8e10a195bd5c7c5681e148142c24bf6e75d11ca4a8a0cb336e1c1652
7 DONE 0.1s
8 [4/5] RUN yarn install --production
8 sha256:8d405d0eaa4d0e4d889cd01336a5021f96e892baf51ccd2d54721d850ef112aa
8 1.033 yarn install v1.22.19
8 1.193 [1/4] Resolving packages...
8 1.439 [2/4] Fetching packages...
8 20.84 [3/4] Linking dependencies...
8 27.38 [4/4] Building fresh packages...
8 29.55 Done in 28.53s.
8 DONE 30.1s
9 [5/5] RUN apt-get update && apt-get install -qy netcat
9 sha256:7d6e9493a2f5d3ff1557b3460ce23e41ba2f18bc397a11c2d7de862d2819ba6a
9 1.064 Get:1 http://deb.debian.org/debian bookworm InRelease [147 kB]
9 1.127 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
9 1.135 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
9 1.826 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8904 kB]
9 2.792 Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [21.8 kB]
9 5.407 Fetched 9173 kB in 5s (1985 kB/s)
9 5.407 Reading package lists...
9 6.890 Reading package lists...
9 8.813 Building dependency tree...
9 9.118 Reading state information...
9 9.129 Package netcat is a virtual package provided by:
9 9.129 netcat-openbsd 1.219-1
9 9.129 netcat-traditional 1.10-47
9 9.130
9 9.146 E: Package 'netcat' has no installation candidate
9 ERROR: executor failed running [/bin/sh -c apt-get update && apt-get install -qy netcat]: exit code: 100
[5/5] RUN apt-get update && apt-get install -qy netcat:
executor failed running [/bin/sh -c apt-get update && apt-get install -qy netcat]: exit code: 100
at ChildProcess.exithandler (node:child_process:419:12) at ChildProcess.emit (node:events:511:28) at maybeClose (node:internal/child_process:1098:16) at Socket.<anonymous> (node:internal/child_process:456:11) at Socket.emit (node:events:511:28) at Pipe.<anonymous> (node:net:335:12) {
code: 1, killed: false, signal: null, cmd: 'docker build /Users/jessestorbeck/Desktop/pqs/experiments/vocab/worker -t vocab_worker', stdout: '', stderr: '#1 [internal] load build definition from Dockerfile\n' + '#1 sha256:40f001dbeebfb2cd432bf51e82edae8711f544b1949ee959dadb506762c63c2a\n' + '#1 transferring dockerfile: 268B 0.1s done\n' + '#1 DONE 0.1s\n' + '\n' + '#2 [internal] load .dockerignore\n' + '#2 sha256:5a9153884801c2475a994666211b1ab93e60deb559e9d227aaf14672b485b06b\n' + '#2 transferring context: 73B 0.1s done\n' + '#2 DONE 0.1s\n' + '\n' + '#3 [internal] load metadata for docker.io/library/node:latest\n' + '#3 sha256:1c0b05b884068c98f7acad32e4f7fd374eba1122b4adcbb1de68aa72d5a6046f\n' + '#3 DONE 45.4s\n' + '\n' + '#5 [internal] load build context\n' + '#5 sha256:df0d6eb6b75fb9b372544e1b856e1ed34138b7815a971019743a824eceef0c06\n' + '#5 DONE 0.0s\n' + '\n' + '#4 [1/5] FROM docker.io/library/node:latest@sha256:fc738db1cbb81214be1719436605e9d7d84746e5eaf0629762aeba114aa0c28d\n' + '#4 sha256:3360c2ea46f37bf73fde00c6a171a6e36d1cc141b98891607a4f0bb06aecb6ad\n' + '#4 resolve docker.io/library/node:latest@sha256:fc738db1cbb81214be1719436605e9d7d84746e5eaf0629762aeba114aa0c28d 0.1s done\n' + '#4 sha256:fc738db1cbb81214be1719436605e9d7d84746e5eaf0629762aeba114aa0c28d 1.21kB / 1.21kB done\n' + '#4 sha256:3263b6ee54a49f14ba1028730fa5facc0a6186c45da682f9b17a676b2213d7eb 2.00kB / 2.00kB done\n' + '#4 sha256:5c8135dff607ee07a56e99d35dfaa992a3201aed4e156f624a60ec639bb078a9 7.24kB / 7.24kB done\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 0B / 49.55MB 0.1s\n' + '#4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 0B / 24.03MB 0.1s\n' + '#4 ...\n' + '\n' + '#5 [internal] load build context\n' + '#5 sha256:df0d6eb6b75fb9b372544e1b856e1ed34138b7815a971019743a824eceef0c06\n' + '#5 transferring context: 51.73kB 0.2s done\n' + '#5 DONE 0.3s\n' + '\n' + '#4 [1/5] FROM docker.io/library/node:latest@sha256:fc738db1cbb81214be1719436605e9d7d84746e5eaf0629762aeba114aa0c28d\n' + '#4 sha256:3360c2ea46f37bf73fde00c6a171a6e36d1cc141b98891607a4f0bb06aecb6ad\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 2.56MB / 49.55MB 0.6s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 5.24MB / 49.55MB 1.0s\n' + '#4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 2.10MB / 24.03MB 1.0s\n' + '#4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 4.19MB / 24.03MB 1.2s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 8.39MB / 49.55MB 1.3s\n' + '#4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 6.24MB / 24.03MB 1.4s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 11.53MB / 49.55MB 1.7s\n' + '#4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 9.44MB / 24.03MB 1.7s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 14.68MB / 49.55MB 2.1s\n' + '#4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 12.58MB / 24.03MB 2.1s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 17.31MB / 49.55MB 3.1s\n' + '#4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 14.58MB / 24.03MB 3.1s\n' + '#4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 15.89MB / 24.03MB 3.9s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 20.91MB / 49.55MB 4.2s\n' + '#4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 17.83MB / 24.03MB 4.2s\n' + '#4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 19.92MB / 24.03MB 4.4s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 25.17MB / 49.55MB 5.5s\n' + '#4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 23.07MB / 24.03MB 5.5s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 28.31MB / 49.55MB 6.5s\n' + '#4 sha256:ec2b820b8e87758dde67c29b25d4cbf88377601a4355cc5d556a9beebc80da00 24.03MB / 24.03MB 6.5s done\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 0B / 64.11MB 6.6s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 32.02MB / 49.55MB 6.8s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 35.65MB / 49.55MB 7.1s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 4.19MB / 64.11MB 7.1s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 38.80MB / 49.55MB 7.8s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 41.94MB / 49.55MB 8.1s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 8.39MB / 64.11MB 9.2s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 46.14MB / 49.55MB 9.5s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 13.63MB / 64.11MB 9.8s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 48.84MB / 49.55MB 9.9s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 17.83MB / 64.11MB 10.1s\n' + '#4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 0B / 211.00MB 10.0s\n' + '#4 sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 49.55MB / 49.55MB 10.1s done\n' + '#4 sha256:9063cd8e310682d6ca55554ed439d2618090ac91560855beec60b30efdc6740c 0B / 3.37kB 10.2s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 21.63MB / 64.11MB 10.5s\n' + '#4 sha256:9063cd8e310682d6ca55554ed439d2618090ac91560855beec60b30efdc6740c 3.37kB / 3.37kB 10.4s done\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 0B / 47.51MB 10.5s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 25.83MB / 64.11MB 11.0s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 2.78MB / 47.51MB 11.2s\n' + '#4 extracting sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 30.25MB / 64.11MB 11.6s\n' + '#4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 11.53MB / 211.00MB 11.6s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 5.24MB / 47.51MB 12.0s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 33.55MB / 64.11MB 12.6s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 8.39MB / 47.51MB 12.8s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 11.53MB / 47.51MB 13.4s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 37.75MB / 64.11MB 13.8s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 15.40MB / 47.51MB 14.2s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 18.87MB / 47.51MB 14.5s\n' + '#4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 23.04MB / 211.00MB 14.6s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 22.35MB / 47.51MB 14.9s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 41.94MB / 64.11MB 15.1s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 26.21MB / 47.51MB 15.3s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 31.46MB / 47.51MB 15.7s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 45.61MB / 64.11MB 15.9s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 34.59MB / 47.51MB 16.1s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 49.28MB / 64.11MB 16.4s\n' + '#4 extracting sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 5.1s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 37.75MB / 47.51MB 16.6s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 52.85MB / 64.11MB 17.0s\n' + '#4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 34.60MB / 211.00MB 17.1s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 40.89MB / 47.51MB 17.3s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 57.52MB / 64.11MB 17.6s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 45.09MB / 47.51MB 17.6s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 47.51MB / 47.51MB 18.0s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 60.82MB / 64.11MB 18.1s\n' + '#4 sha256:4b4424ee38d8b1943ebefc1905ab4d21604c8fa5839ab5eae21dd4c9ce532e1a 47.51MB / 47.51MB 18.1s done\n' + '#4 sha256:0b4eb4cbb822edfde19d0747fae1218270da5123f927bb6783421cd95112e8f7 0B / 2.27MB 18.2s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 64.11MB / 64.11MB 18.5s\n' + '#4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 45.45MB / 211.00MB 18.5s\n' + '#4 sha256:284f2345db055020282f6e80a646f1111fb2d5dfc6f7ee871f89bc50919a51bf 64.11MB / 64.11MB 18.7s done\n' + '#4 sha256:0b4eb4cbb822edfde19d0747fae1218270da5123f927bb6783421cd95112e8f7 786.43kB / 2.27MB 18.8s\n' + '#4 sha256:43443b026dcfbb73b62ea6a66fcbb24b0edac6d0adcee5eb3845ed18dc0c951f 0B / 450B 18.8s\n' + '#4 sha256:0b4eb4cbb822edfde19d0747fae1218270da5123f927bb6783421cd95112e8f7 1.05MB / 2.27MB 18.9s\n' + '#4 sha256:0b4eb4cbb822edfde19d0747fae1218270da5123f927bb6783421cd95112e8f7 2.27MB / 2.27MB 19.0s done\n' + '#4 sha256:43443b026dcfbb73b62ea6a66fcbb24b0edac6d0adcee5eb3845ed18dc0c951f 450B / 450B 18.9s done\n' + '#4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 58.32MB / 211.00MB 19.7s\n' + '#4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 69.21MB / 211.00MB 20.2s\n' + '#4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 80.74MB / 211.00MB 20.8s\n' + '#4 extracting sha256:bba7bb10d5baebcaad1d68ab3cbfd37390c646b2a688529b1d118a47991116f4 10.2s\n' + '#4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 92.13MB / 211.00MB 22.0s\n' + '#4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 104.51MB / 211.00MB 23.0s\n' + '#4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 115.34MB / 211.00MB 24.0s\n' + '#4 sha256:fea23129f080a6e28ebff8124f9dc585b412b1a358bba566802e5441d2667639 127.93'... 4998 more characters }
@jessestorbeck -- if this is now working as of https://github.com/pushkin-consortium/pushkin-sitetemplate-basic/pull/1#issuecomment-1591786336, please go ahead and close.
Discussed in https://github.com/pushkin-consortium/pushkin/discussions/194