Open CyberNika opened 6 years ago
I just clicked within my test.js file
Atom: 1.17.2 x64 Electron: 1.3.15 OS: Mac OS X 10.12.6 Thrown From: react package 0.17.0
Uncaught TypeError: this.tokenizedBuffer.regexForPattern is not a function
At /private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:854
TypeError: this.tokenizedBuffer.regexForPattern is not a function
at TextEditor.editor.autoDecreaseIndentForBufferRow (/packages/react/lib/atom-react.coffee:51:54)
at Selection.module.exports.Selection.insertText (/private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/src/selection.js:499:1)
at /private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/src/text-editor.js:1127:1
at /private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/src/text-editor.js:1166:1
at TextBuffer.module.exports.TextBuffer.transact (/private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:849:1)
at TextEditor.module.exports.TextEditor.transact (/private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/src/text-editor.js:1599:1)
at /private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/src/text-editor.js:1160:1
at TextEditor.module.exports.TextEditor.mergeSelections (/private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/src/text-editor.js:2573:1)
at TextEditor.module.exports.TextEditor.mergeIntersectingSelections (/private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/src/text-editor.js:2539:1)
at TextEditor.module.exports.TextEditor.mutateSelectedText (/private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/src/text-editor.js:1158:1)
at TextEditor.module.exports.TextEditor.insertText (/private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/src/text-editor.js:1124:1)
at TextEditor.object.(anonymous function) [as insertText] (/private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/node_modules/underscore-plus/lib/underscore-plus.js:77:1)
at TextEditorComponent.module.exports.TextEditorComponent.onTextInput (/private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/src/text-editor-component.js:480:1)
at HTMLDivElement.<anonymous> (/private/var/folders/v6/g5hlc6j17971ydt622wk6p600000gn/T/AppTranslocation/AF7BC79B-0C86-4E81-BD7B-C79B933E444D/d/Atom.app/Contents/Resources/app/src/text-editor-component.js:3:1)
-1:50.9.0 platformio-ide-terminal:new (input.hidden-input)
2x -1:02.3.0 editor:newline (input.hidden-input)
-0:48.4.0 core:save (input.hidden-input)
3x -0:47.1.0 editor:newline (input.hidden-input)
browser-plus 0.0.98
platformio-ide-terminal 2.6.0
react 0.17.0
terminal-plus 0.14.5
@XBT1 I'm sure you already did this, but I just removed the package for now so I could get back to work.
Go to atom preferences
Click Packages in prefrences
Search for react
Click uninstall
@ElishebaW hahahahahaha
Oh, wow - I worked on the my current project many days before, but just right now got this issue when try to type any symbol.
~Strange, but for now solved the issue by disabling/re-enabling the plugin.~ - re-enabling solved the issue for the 10 minutes and then got the same error for the just opened file.
same issue. uninstalled and reverted to previous version: apm install react@0.16.3
I have the same issue. Even after reverting to 0.16.3.
EDIT: After updating Atom to 1.26.1 the Error no longer appears..
I too had this issue. Updated to atom 1.23.3 resolved that.
[Enter steps to reproduce:]
Atom: 1.21.0-beta0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: react package 0.17.0
Stack Trace
Uncaught TypeError: this.tokenizedBuffer.regexForPattern is not a function
Commands
Non-Core Packages