Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR ReferenceError: stopSpinner is not defined #52

Open
jkwasniak opened this issue Dec 22, 2018 · 2 comments
Open

ERROR ReferenceError: stopSpinner is not defined #52

jkwasniak opened this issue Dec 22, 2018 · 2 comments
Labels
legacy-bug Something isn't working in an old version
Milestone

Comments

@jkwasniak
Copy link

When using the plugin I get (i use CloudFront -> VUE_APP_S3D_ENABLE_CLOUDFRONT=true) the following error message:

✔ All 89 assets have been successfully deployed to https://s3-eu-central-1.amazonaws.com/www.xxxxxxx.de/
⠋ Invalidating CloudFront distribution: YYYYYYYYYYYY INFO  Deployment complete.
✔ Invalidating CloudFront distribution: YYYYYYYYYYYY
 INFO  Invalidation ID: IXXYYXXYYXXYYXX
 INFO  Status: InProgress
 INFO  Call Reference: vue-cli-plugin-s3-deploy-1545478460895
 INFO  See your AWS console for on-going status on this invalidation.
 ERROR  ReferenceError: stopSpinner is not defined
ReferenceError: stopSpinner is not defined
    at invalidateDistribution (....../node_modules/vue-cli-plugin-s3-deploy/s3deploy.js:180:5)
    at process.internalTickCallback (internal/process/next_tick.js:77:7)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

i use :

"vue": "^2.5.21",
"@vue/cli-service": "^3.2.0",
"vue-cli-plugin-s3-deploy": "git://github.com/multiplegeorges/vue-cli-plugin-s3-deploy.git#master"
"vue-template-compiler": "^2.5.21"
@nicekiwi
Copy link
Collaborator

nicekiwi commented Feb 1, 2019

Hmmm this is awkward..

@frankisans
Copy link

Just change to spinner.stop()

    error(`AWS Request ID: ${err.requestId}`)
    throw err
  } finally {
    spinner.stop()
  }
}

@nicekiwi nicekiwi added bug Something isn't working legacy-bug Something isn't working in an old version and removed bug Something isn't working labels Sep 30, 2019
@nicekiwi nicekiwi added this to the 3.1.0 milestone Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy-bug Something isn't working in an old version
Projects
None yet
Development

No branches or pull requests

3 participants