TypeError: Cannot read property 'padStart' of null
See original GitHub issueAttempting Step 6 of in the kitty-items api.
In the terminal, after executing the command ./setup-minter.sh, this is displayed repeatedly (six times):
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>TypeError: Cannot read property 'padStart' of null<br> at /Users/mac-user/Documents/kitty-items/api/node_modules/@onflow/sdk/src/send/send-get-account.js:8:19<br> at runMicrotasks (<anonymous>)<br> at processTicksAndRejections (internal/process/task_queues.js:93:5)</pre>
</body>
</html>
In the terminal window connected to flow testnet, the error is:
TypeError: Cannot read property 'padStart' of null
at /Users/mac-user/Documents/kitty-items/api/node_modules/@onflow/sdk/src/send/send-get-account.js:8:19
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
fromBlock=32442851 toBlock=32442853 latestBlock=32442853
If there are any more details that can help I’m happy to add in the comments – thank you
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
TypeError: Cannot read property 'padStart' of null
I am new to flow and trying to do a transaction. When i initiate the transection it makes same api call 6 time,...
Read more >Typescript tells me property 'padStart' does not exist on type ...
padStart is defined in the ES2017 standard. You need to tell typescript to use the apropriate typings (the ones for ES2017 ).
Read more >Cannot read property 'padStart' of null · Issue #867 · onflow/fcl-js
I am new to flow and trying to do a transaction. "@onflow/fcl": "0.0.77", "@onflow/types": "0.0.5", TypeError: Cannot read property 'padStart' of null at...
Read more >TypeError: padStart is not a function in JavaScript | bobbyhadz
The "padStart is not a function" error occurs when we call the padStart() method on a value that is not a string. To...
Read more >String Pad in JavaScript | SamanthaMing.com
When you try to coerce undefined , you will get a TypeError. undefined.toString(); // TypeError: Cannot read property 'toString' of undefined.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Apologies everyone, there was a breaking change to FCL that went out in the spork a few days ago that needed to be updated on this repo - the fix was done by @10thfloor (https://github.com/onflow/kitty-items/pull/91) and should be all good now. Pull in the changes and please try again! @valnermedeiros @FlorianTopf @kulame @hichana
I can confirm. This is working now.