[Vuejs]-Vue and UglifyJS error when running 'npm run build'

0๐Ÿ‘

I think this

created() {
    this.autoRotateImages();
}

should be

created: function() {
    this.autoRotateImages();
}.bind(this)

Are you transpiling your production code?

0๐Ÿ‘

Try

npm cache clear -f

And than

npm install

May be it will solve issue

Leave a comment