Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught The "data" argument must be one of type string, TypedArray, or DataView. Received type o... #22

Closed
bedengler opened this issue Dec 2, 2019 · 1 comment

Comments

@bedengler
Copy link

bedengler commented Dec 2, 2019

I just clicked on Packages -> sphinx-preview -> Toggle

Atom: 1.41.0 x64
Electron: 4.2.7
OS: Mac OS X 10.13.6
Thrown From: sphinx-preview package 0.1.5

Stack Trace

Uncaught The "data" argument must be one of type string, TypedArray, or DataView. Received type object

At internal/crypto/hash.js:58

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be one of type string, TypedArray, or DataView. Received type object
    at Hash.update (internal/crypto/hash.js:58:11)
    at Object.getContainerName (/packages/sphinx-preview/lib/sphinx-preview.js:71:24)
    at Object.startSphinxServer (/packages/sphinx-preview/lib/sphinx-preview.js:115:32)
    at Object.toggle (/packages/sphinx-preview/lib/sphinx-preview.js:34:12)
    at HTMLElement.sphinxPreviewToggle (/packages/sphinx-preview/lib/sphinx-preview.js:23:47)
    at CommandRegistry.handleCommandEvent (/Applications/Utilities Programmierung/Atom.app/Contents/Resources/app/static/<embedded>:11:349392)
    at CommandRegistry.dispatch (/Applications/Utilities Programmierung/Atom.app/Contents/Resources/app/static/<embedded>:11:347867)
    at AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Utilities Programmierung/Atom.app/Contents/Resources/app/static/<embedded>:1:718772)
    at EventEmitter.t (/Applications/Utilities Programmierung/Atom.app/Contents/Resources/app/static/<embedded>:1:726695)
    at EventEmitter.emit (events.js:182:13)

Commands

  2x -1:35.8.0 sphinx-preview:toggle (input.hidden-input)

Non-Core Packages

atom-autocomplete-php 0.25.6 
browser-plus 0.0.98 
convert-file-encoding 0.1.0 
php-analyser 0.2.0 
sphinx-preview 0.1.5 
@quentinus95
Copy link
Member

Duplicate of #18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants