vue-particles icon indicating copy to clipboard operation
vue-particles copied to clipboard

Npm Compilation Error

Open donPuerto opened this issue 8 years ago • 10 comments

Got no clue on this error... image

donPuerto avatar May 02 '17 05:05 donPuerto

Please post source code, or entire project . I will check this out!

creotip avatar May 02 '17 19:05 creotip

I was using Laravel and got that error... When i used VUE CLI it was working... So probably Laravel Mix messing up.. I'll post here the code...

donPuerto avatar May 04 '17 00:05 donPuerto

I have the same issue with a fresh install, using yarn.

I'm not sure but, maybe babel-plugin-transform-runtime and babel-preset-stage-2 should be moved out from devDependencies to dependencies?

sahibalejandro avatar May 07 '17 19:05 sahibalejandro

@sahibalejandro Are you using Laravel?

creotip avatar May 07 '17 19:05 creotip

I'm using Laravel Mix.

Doing just a yarn add vue-particlesdoes not works. I had to add babel-plugin-transform-runtime and babel-preset-stage-2 to my project in order to compile vue-particles with npm run dev

sahibalejandro avatar May 07 '17 20:05 sahibalejandro

@sahibalejandro So it's working just fine?

creotip avatar May 07 '17 21:05 creotip

After adding those packages to my project, yes.

sahibalejandro avatar May 07 '17 23:05 sahibalejandro

@sahibalejandro i did the same, its working. @creotip follow it

kd-s-t avatar Sep 15 '17 05:09 kd-s-t

too....

lishuoxi avatar Mar 21 '18 05:03 lishuoxi

@sahibalejandro thanks it also works for me.

gil47 avatar Aug 26 '18 02:08 gil47