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

After using Audit fix, site no longer works #5

Open
jmohler1970 opened this issue Apr 20, 2020 · 1 comment
Open

After using Audit fix, site no longer works #5

jmohler1970 opened this issue Apr 20, 2020 · 1 comment

Comments

@jmohler1970
Copy link

jmohler1970 commented Apr 20, 2020

I ran

npm audit fix

When I try to run it, I get

Vue warn]: Error in v-on handler: "TypeError: Cannot read property 'requestCardNonce' of undefined"

found in

---> <PaymentForm> at src/components/paymentForm.vue
       <Product> at src/components/product.vue
         <Store> at src/components/store.vue
           <App> at src/App.vue
             <Root>
warn @ vue.esm.js?efeb:628
logError @ vue.esm.js?efeb:1893
globalHandleError @ vue.esm.js?efeb:1888
handleError @ vue.esm.js?efeb:1848
invokeWithErrorHandling @ vue.esm.js?efeb:1871
invoker @ vue.esm.js?efeb:2188
original._wrapper @ vue.esm.js?efeb:7565
vue.esm.js?efeb:1897 TypeError: Cannot read property 'requestCardNonce' of undefined
    at VueComponent.requestCardNonce (paymentForm.vue?edb5:166)
    at click (eval at ./node_modules/vue-loader/lib/template-compiler/index.js?{"id":"data-v-1a27c10a","hasScoped":false,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/components/paymentForm.vue (app.js:954), <anonymous>:140:24)
    at invokeWithErrorHandling (vue.esm.js?efeb:1863)
    at HTMLButtonElement.invoker (vue.esm.js?efeb:2188)
    at HTMLButtonElement.original._wrapper (vue.esm.js?efeb:7565)

Screen Shot 2020-04-19 at 9 38 13 PM

@jmohler1970
Copy link
Author

This is caused by the async issue.

This will be solved by removing async. See pull request #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant