Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 18:03:27 Step 5/5 : RUN npm install && npx knex migrate:latest && npx knex seed:run
- 18:03:27 ---> Running in 7ff2b2157c44
- 18:03:53
- 18:03:53 > node-sass@4.13.0 install /home/node/code/node_modules/node-sass
- 18:03:53 > node scripts/install.js
- 18:03:53
- 18:03:54 Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.0/linux-x64-64_binding.node
- 18:03:59 Download complete
- 18:03:59 Binary saved to /home/node/code/node_modules/node-sass/vendor/linux-x64-64/binding.node
- 18:03:59 Caching binary to /root/.npm/node-sass/4.13.0/linux-x64-64_binding.node
- 18:04:00
- 18:04:00 > node-sass@4.13.0 postinstall /home/node/code/node_modules/node-sass
- 18:04:00 > node scripts/build.js
- 18:04:00
- 18:04:00 Binary found at /home/node/code/node_modules/node-sass/vendor/linux-x64-64/binding.node
- 18:04:00 Testing binary
- 18:04:00 Binary is fine
- 18:04:00
- 18:04:00 > nodemon@2.0.2 postinstall /home/node/code/node_modules/nodemon
- 18:04:00 > node bin/postinstall || exit 0
- 18:04:00
- 18:04:00 Love nodemon? You can now support the project via the open collective:
- 18:04:00 > https://opencollective.com/nodemon/donate
- 18:04:00
- 18:04:03 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents):
- 18:04:03 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- 18:04:03 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/chokidar/node_modules/fsevents):
- 18:04:03 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- 18:04:03
- 18:04:03 added 885 packages from 563 contributors and audited 879496 packages in 33.884s
- 18:04:03 found 38078 vulnerabilities (38052 low, 17 moderate, 9 high)
- 18:04:03 run `npm audit fix` to fix them, or `npm audit` for details
- 18:04:04 Using environment: development
- 18:04:07 migration file "20200319162229_create_table_students.js" failed
- 18:04:07 migration failed with error: create table "students" ("id" uuid default uuid_generate_v4(), "full_name" varchar(255) not null, "nim" varchar(255), "country_id" integer not null, "province_id" integer not null, "city_id" integer not null, "gender" "gender_type" not null, "wa" varchar(255) not null, "email" varchar(255) not null, "created_at" timestamptz default CURRENT_TIMESTAMP, "updated_at" timestamptz, "deleted_at" timestamptz) - type "gender_type" does not exist
- 18:04:07 error: type "gender_type" does not exist
- 18:04:07 at Connection.parseE (/home/node/code/node_modules/pg/lib/connection.js:614:13)
- 18:04:07 at Connection.parseMessage (/home/node/code/node_modules/pg/lib/connection.js:413:19)
- 18:04:07 at Socket.<anonymous> (/home/node/code/node_modules/pg/lib/connection.js:129:22)
- 18:04:07 at Socket.emit (events.js:198:13)
- 18:04:07 at addChunk (_stream_readable.js:288:12)
- 18:04:07 at readableAddChunk (_stream_readable.js:269:11)
- 18:04:07 at Socket.Readable.push (_stream_readable.js:224:10)
- 18:04:07 at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
- 18:04:07 The command '/bin/sh -c npm install && npx knex migrate:latest && npx knex seed:run' returned a non-zero code: 1
- 18:04:11 Build step 'Execute shell' marked build as failure
- 18:04:11 Finished: FAILURE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement