Error is occuring on http://localhost:9999/migration.
7 Slices are found (and they are listed).
When I click 'Push update to Prismic', nothing happens and the console outputs error below.
What next?
[slice-machine] [api/slices] An error occured while fetching slices. Note that when stable, this should break!
Could not fetch remote slices. Continuing...
[slice-machine] (node:88160) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'libraries' of undefined
at _callee$ (/Users/me/projects/braveenergysystems/node_modules/slice-machine-ui/server/api/libraries.js:16:55)
at tryCatch (/Users/me/projects/braveenergysystems/node_modules/regenerator-runtime/runtime.js:63:40)
at Generator.invoke [as _invoke] (/Users/me/projects/braveenergysystems/node_modules/regenerator-runtime/runtime.js:293:22)
at Generator.next (/Users/me/projects/braveenergysystems/node_modules/regenerator-runtime/runtime.js:118:21)
at asyncGeneratorStep (/Users/me/projects/braveenergysystems/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (/Users/me/projects/braveenergysystems/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at /Users/me/projects/braveenergysystems/node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at new Promise (<anonymous>)
at /Users/me/projects/braveenergysystems/node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
at getLibrairies (/Users/me/projects/braveenergysystems/node_modules/slice-machine-ui/server/api/libraries.js:15:27)
(node:88160) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 42)
[slice-machine] [api/slices] An error occured while fetching slices. Note that when stable, this should break!
[slice-machine] Could not fetch remote slices. Continuing...
(node:88160) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'libraries' of undefined
at _callee$ (/Users/me/projects/braveenergysystems/node_modules/slice-machine-ui/server/api/libraries.js:16:55)
at tryCatch (/Users/me/projects/braveenergysystems/node_modules/regenerator-runtime/runtime.js:63:40)
at Generator.invoke [as _invoke] (/Users/me/projects/braveenergysystems/node_modules/regenerator-runtime/runtime.js:293:22)
at Generator.next (/Users/me/projects/braveenergysystems/node_modules/regenerator-runtime/runtime.js:118:21)
at asyncGeneratorStep (/Users/me/projects/braveenergysystems/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (/Users/me/projects/braveenergysystems/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
at /Users/me/projects/braveenergysystems/node_modules/@babel/runtime/helpers/asyncToGenerator.js:32:7
at new Promise (<anonymous>)
at /Users/me/projects/braveenergysystems/node_modules/@babel/runtime/helpers/asyncToGenerator.js:21:12
at getLibrairies (/Users/richiekhoo/projects/braveenergysystems/node_modules/slice-machine-ui/server/api/libraries.js:15:27)
(node:88160) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 44)