Cannot read property 'textChanges' of undefined
See original GitHub issueHi! The program sometimes crashes, could you fix it? 😃
C:\Users\mokuo\Documents\Projects\scrum-board-front-end\node_modules\prettier\index.js:9755
throw error.stack;
^
TypeError: Cannot read property 'textChanges' of undefined
at Object.organizeImports [as preprocess] (C:\Users\mokuo\Documents\Projects\scrum-board-front-end\node_modules\prettier-plugin-organize-imports\index.js:17:43)
at Object.parse (C:\Users\mokuo\Documents\Projects\scrum-board-front-end\node_modules\prettier\index.js:9734:21)
at coreFormat (C:\Users\mokuo\Documents\Projects\scrum-board-front-end\node_modules\prettier\index.js:13252:23)
at format (C:\Users\mokuo\Documents\Projects\scrum-board-front-end\node_modules\prettier\index.js:13510:73)
at formatWithCursor (C:\Users\mokuo\Documents\Projects\scrum-board-front-end\node_modules\prettier\index.js:13526:12)
at C:\Users\mokuo\Documents\Projects\scrum-board-front-end\node_modules\prettier\index.js:44207:15
at Object.format (C:\Users\mokuo\Documents\Projects\scrum-board-front-end\node_modules\prettier\index.js:44226:12)
at _default (C:\Users\mokuo\Documents\Projects\scrum-board-front-end\node_modules\pretty-quick\dist\processFiles.js:42:29)
at _default (C:\Users\mokuo\Documents\Projects\scrum-board-front-end\node_modules\pretty-quick\dist\index.js:58:29)
at Object.<anonymous> (C:\Users\mokuo\Documents\Projects\scrum-board-front-end\node_modules\pretty-quick\bin\pretty-quick.js:12:27)
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Cannot read property 'main_text_matched_substrings' of ...
Initially, it works because you have options thanks to your initialisation, so option.structured_formatting exists and is not undefined. However ...
Read more >JS error. Cannot read property 'text' of undefined...unsure what
I run my code and in the console, I get an error of "uncaught TypeError: Cannot read property 'text' of undefined. Any help...
Read more >Uncaught TypeError: Cannot read property 'txt' of undefined
I am new to PnP JS and I want to try it. Part my code: import pnp from "sp-pnp-js"; ...
Read more >TextInput - React Native
The most basic use case is to plop down a TextInput and subscribe to the onChangeText events to read the user input.
Read more >Internal error: Cannot read property 'text' of undefined - Genuitec
I've checked in the code where this message can come from. This looks indeed like a problem with TSLint. Can you please share...
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 FreeTop 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
Top GitHub Comments
OK. Thank for your working 😃
I just released
1.0.1
, can you give it a try please and let me know if it happens again? Thanks!