Error when running yarn update-creator-all-rows
See original GitHub issueI get this error when running the update-creator command.
$ node ./scripts/update-creator-all-rows
(node:3303) UnhandledPromiseRejectionWarning: Error: [object Object]
at Strapi.request (/root/solana-candy-factory/nft-manager/node_modules/strapi-sdk-javascript/build/main/lib/sdk.js:59:23)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Strapi.login (/root/solana-candy-factory/nft-manager/node_modules/strapi-sdk-javascript/build/main/lib/sdk.js:93:32)
at async updateCreatorAllRows (/root/solana-candy-factory/nft-manager/scripts/update-creator-all-rows.js:32:3)
(Use node --trace-warnings ...
to show where the warning was created)
(node:3303) 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: 2)
(node:3303) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 0.47s.
Not sure why.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:12 (3 by maintainers)
Top GitHub Comments
Set permissions,In settings
Just want to point out the above issue with Yonatan is not related to the OP issue and still persists.
Yonatan’s issue should be separated from this issue.