question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when running yarn update-creator-all-rows

See original GitHub issue

I 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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
wjl8commented, Sep 28, 2021

是的,你知道如何解决它吗?

Set permissions,In settings

1reaction
atomicstorm-hcacommented, Sep 28, 2021

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reopen - Update-creator-all-rows promise rejection #20
I just read this part: The following commands of the nft-manager needs the nft-manager running, so be sure to run yarn nft-manager before ......
Read more >
Error Codes | Yarn - Package Manager
A list of Yarn's error codes with detailed explanations. ... Running yarn install will almost certainly fix this particular error.
Read more >
error Command failed with exit code 1. when I try to run yarn
I am learning reactjs - nodejs I was trying to run the server so I installed yarn, nodemon, express but when I try...
Read more >
npm, pnpm, and Yarn | PhpStorm Documentation
The results of script execution are displayed in the Run tool window. The tool window shows the npm or Yarn script output, reports...
Read more >
How To Install and Use the Yarn Package Manager ...
Step 1 — Installing Yarn Globally. Yarn has a unique way of installing and running itself in your JavaScript projects. First you install...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found