Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. 18:03:27 Step 5/5 : RUN npm install && npx knex migrate:latest && npx knex seed:run
  2. 18:03:27 ---> Running in 7ff2b2157c44
  3. 18:03:53
  4. 18:03:53 > node-sass@4.13.0 install /home/node/code/node_modules/node-sass
  5. 18:03:53 > node scripts/install.js
  6. 18:03:53
  7. 18:03:54 Downloading binary from https://github.com/sass/node-sass/releases/download/v4.13.0/linux-x64-64_binding.node
  8. 18:03:59 Download complete
  9. 18:03:59 Binary saved to /home/node/code/node_modules/node-sass/vendor/linux-x64-64/binding.node
  10. 18:03:59 Caching binary to /root/.npm/node-sass/4.13.0/linux-x64-64_binding.node
  11. 18:04:00
  12. 18:04:00 > node-sass@4.13.0 postinstall /home/node/code/node_modules/node-sass
  13. 18:04:00 > node scripts/build.js
  14. 18:04:00
  15. 18:04:00 Binary found at /home/node/code/node_modules/node-sass/vendor/linux-x64-64/binding.node
  16. 18:04:00 Testing binary
  17. 18:04:00 Binary is fine
  18. 18:04:00
  19. 18:04:00 > nodemon@2.0.2 postinstall /home/node/code/node_modules/nodemon
  20. 18:04:00 > node bin/postinstall || exit 0
  21. 18:04:00
  22. 18:04:00 Love nodemon? You can now support the project via the open collective:
  23. 18:04:00 > https://opencollective.com/nodemon/donate
  24. 18:04:00
  25. 18:04:03 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents):
  26. 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"})
  27. 18:04:03 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/chokidar/node_modules/fsevents):
  28. 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"})
  29. 18:04:03
  30. 18:04:03 added 885 packages from 563 contributors and audited 879496 packages in 33.884s
  31. 18:04:03 found 38078 vulnerabilities (38052 low, 17 moderate, 9 high)
  32. 18:04:03 run `npm audit fix` to fix them, or `npm audit` for details
  33. 18:04:04 Using environment: development
  34. 18:04:07 migration file "20200319162229_create_table_students.js" failed
  35. 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
  36. 18:04:07 error: type "gender_type" does not exist
  37. 18:04:07 at Connection.parseE (/home/node/code/node_modules/pg/lib/connection.js:614:13)
  38. 18:04:07 at Connection.parseMessage (/home/node/code/node_modules/pg/lib/connection.js:413:19)
  39. 18:04:07 at Socket.<anonymous> (/home/node/code/node_modules/pg/lib/connection.js:129:22)
  40. 18:04:07 at Socket.emit (events.js:198:13)
  41. 18:04:07 at addChunk (_stream_readable.js:288:12)
  42. 18:04:07 at readableAddChunk (_stream_readable.js:269:11)
  43. 18:04:07 at Socket.Readable.push (_stream_readable.js:224:10)
  44. 18:04:07 at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
  45. 18:04:07 The command '/bin/sh -c npm install && npx knex migrate:latest && npx knex seed:run' returned a non-zero code: 1
  46. 18:04:11 Build step 'Execute shell' marked build as failure
  47. 18:04:11 Finished: FAILURE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement