Vue-dropzone: Unexpected token (1:1495)

Created on 13 Mar 2019  路  15Comments  路  Source: rowanwins/vue-dropzone

When I upgraded to latest version, I've got an error now.
` ERROR in ./node_modules/vue2-dropzone/dist/vue2Dropzone.js 1:1495
Module parse failed: Unexpected token (1:1495)
You may need an appropriate loader to handle this file type.

!function(a,b){typeof exports==='object'&&typeof module!=='undefined'?module.exports=b():typeof`

Most helpful comment

Here we go again, this time as 3.5.5-alpha.0

All 15 comments

Hi @TuguldurJ

Yeah unfortunately the last release didn't go well due to upgrading some dependencies, I'm currently working on a fix.

Here in Japan, we have the same problem.
We are hoping fixing it !!

Hi @TuguldurJ & @Hiroshi-Tagami-789

I've just released [email protected] - I think this resolves the issue (fingers crossed)

It still same as before. Please check it again :)

Here we go again, this time as 3.5.5-alpha.0

@rowanwins
Thank you!
Your library passed for running yarn dev on my product.
LGTM.
but, I'm wondering. What cause this error happened ?

@rowanwins
However, I confirmed vue2-dropzone doesn't happen error with yarn dev.
Would you update version information to 3.5.5 ?

Here we go again, this time as 3.5.5-alpha.0

When will this fix be released to master?

Hi @benrolfe

Have just published it as 3.5.5

Hi @Adan2JP

Basically the problem was caused by updating dependencies in #429 . Everything appeared to work, but for some reason the minification in particular caused issues. I'm now using terser instead of uglify, during the misfires I also tried butternut but that also caused some issues.

It works now.
@rowanwins Thank you!

btw, i've got a css issue which was fine in before.
Screen Shot 2019-03-13 at 19 12 45

Doh @TuguldurJ - in having to tweak the build tooling I had to adjust the approach used for CSS. Can you perhaps open a new issue specific to the css, and perhaps just double check that it's not the cache or anything like that...

@rowanwins ok let me check for issue.

hi!
I can confirm the css problem (was fine before updating ...):

image

Hi @sanna-woo

Can you please open a new issue and perhaps describe your config.

Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Shhu picture Shhu  路  5Comments

dainemedia picture dainemedia  路  4Comments

ServerJunge picture ServerJunge  路  5Comments

KerimG picture KerimG  路  3Comments

pigszel picture pigszel  路  3Comments