vue-upload-image icon indicating copy to clipboard operation
vue-upload-image copied to clipboard

SyntaxError: Unexpected token <

Open pgupt opened this issue 5 years ago • 3 comments

`vm.js:85 Uncaught C:\Users<User>\eclipse-workspace\electron-desktop\node_modules\vue-upload-image\dist\upload_image.vue:1 (function (exports, require, module, __filename, __dirname, process, global, Buffer) { return function (exports, require, module, __filename, __dirname) {

SyntaxError: Unexpected token < at new Script (vm.js:85:7) at createScript (vm.js:266:10) at Object.runInThisContext (vm.js:314:10) at Module._compile (internal/modules/cjs/loader.js:766:26) at Object.Module._extensions..js (internal/modules/cjs/loader.js:851:10) at Module.load (internal/modules/cjs/loader.js:701:32) at tryModuleLoad (internal/modules/cjs/loader.js:633:12) at Function.Module._load (internal/modules/cjs/loader.js:625:3) at Module.require (internal/modules/cjs/loader.js:739:19) at require (internal/modules/cjs/helpers.js:14:16)`

I am getting this error. Can you help with what might be causing it?

Also, where do I copy configuration? I am new to Vue so I apologize if it is a silly question.

After some more investigation, I found that it is not recognizing

pgupt avatar Dec 12 '19 05:12 pgupt

Got the same error, This has a dependency on Bootstrap, which is a bit inconvenient for me

Patryk-Szylin avatar May 28 '20 18:05 Patryk-Szylin

@pgupt this was not built with electron in mind. @Patryk-Szylin this package has no dependencies

viral-vector avatar Jun 02 '20 19:06 viral-vector

I get the same error on NuxtJS (Vue2)

toshkoevo avatar Feb 13 '21 12:02 toshkoevo