atom-glsl-preview icon indicating copy to clipboard operation
atom-glsl-preview copied to clipboard

Uncaught SyntaxError: Unexpected identifier

Open asfdfsaf opened this issue 5 years ago • 0 comments

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.41.0 x64 Electron: 4.2.7 OS: Mac OS X 10.14.6 Thrown From: glsl-preview package 2.0.1

Stack Trace

Uncaught SyntaxError: Unexpected identifier

At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:11

/Users/anonymous/.atom/packages/glsl-preview/node_modules/interactjs/index.js:1
(function (exports, require, module, __filename, __dirname, process, global, Buffer) { return function (exports, require, module, __filename, __dirname) { import interact, { init } from "/node_modules/@interactjs/interactjs/index.js";
                                                                                                                                                                  ^^^^^^^^

SyntaxError: Unexpected identifier
    at new Script (vm.js:79:7)
    at NativeCompileCache.runInThisContext (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146322)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147206)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
    at /packages/glsl-preview/lib/glsl-preview-view.js:8:18)
    at /packages/glsl-preview/lib/glsl-preview-view.js:441:3)
    at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147429)
    at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146745)
    at isGlslPreviewView (/packages/glsl-preview/lib/main.js:11:23)
    at Object.getActivePreview (/packages/glsl-preview/lib/main.js:85:9)
    at Object.toggle (/packages/glsl-preview/lib/main.js:63:26)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349392)
    at KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1252536)
    at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1248670)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:284598)

Commands

     -3:23.4.0 glsl-preview:toggle (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-material-syntax 1.0.8 
atom-material-ui 2.1.3 
atom-python-run 0.9.7 
autocomplete-python 1.14.0 
glsl-preview 2.0.1 
ide-python 1.4.1 
language-glsl 2.0.4 
monokai 0.24.0 
python-tools 0.6.9 
run-in-terminal 1.0.1 
script 3.18.1 

asfdfsaf avatar Nov 24 '19 20:11 asfdfsaf