Giter Club home page Giter Club logo

stripe-billing-typographic's People

Contributors

adrind avatar ctrudeau-stripe avatar davidsantoso-stripe avatar dependabot[bot] avatar fred-stripe avatar jeffchan avatar mg-stripe avatar mglukhovsky avatar pborreli avatar rlk-stripe avatar thorsten-stripe avatar willock-stripe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

stripe-billing-typographic's Issues

Problem with npm start / npm run build - bundle.js missing

Problem with bundle.js when trying to run npm start and npm run build.

server$ npm run build

[email protected] build /home/ubuntu/stripe-billing-typographic
rollup -c

client/src/main.js → client/assets/bundle.js...
[!] (VuePlugin plugin) Error: tag <div> has no matching end tag.
client/src/components/Pricing.vue
Error: tag <div> has no matching end tag.
    at error (/home/ubuntu/stripe-billing-typographic/node_modules/rollup/dist/rollup.js:224:15)
    at /home/ubuntu/stripe-billing-typographic/node_modules/rollup/dist/rollup.js:17213:17
    at <anonymous>


npm ERR! Linux 4.15.0-1034-aws
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `rollup -c`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script 'rollup -c'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the typographic package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     rollup -c
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs typographic
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls typographic
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/ubuntu/stripe-billing-typographic/server/npm-debug.log

npm-debug.log

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]~prebuild: [email protected]
6 silly lifecycle [email protected]~prebuild: no script for prebuild, continuing
7 info lifecycle [email protected]~build: [email protected]
8 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~build: PATH: /usr/share/npm/bin/node-gyp-bin:/home/ubuntu/stripe-billing-typographic/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sb$
10 verbose lifecycle [email protected]~build: CWD: /home/ubuntu/stripe-billing-typographic
11 silly lifecycle [email protected]~build: Args: [ '-c', 'rollup -c' ]
12 silly lifecycle [email protected]~build: Returned: code: 1  signal: null
13 info lifecycle [email protected]~build: Failed to exec build script
14 verbose stack Error: [email protected] build: `rollup -c`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/share/npm/lib/utils/lifecycle.js:232:16)
14 verbose stack     at emitTwo (events.js:126:13)
14 verbose stack     at EventEmitter.emit (events.js:214:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/share/npm/lib/utils/spawn.js:24:14)
14 verbose stack     at emitTwo (events.js:126:13)
14 verbose stack     at ChildProcess.emit (events.js:214:7)
14 verbose stack     at maybeClose (internal/child_process.js:925:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
15 verbose pkgid [email protected]
16 verbose cwd /home/ubuntu/stripe-billing-typographic/server
17 error Linux 4.15.0-1034-aws
18 error argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
19 error node v8.10.0
20 error npm  v3.5.2
21 error code ELIFECYCLE
22 error [email protected] build: `rollup -c`
22 error Exit status 1
23 error Failed at the [email protected] build script 'rollup -c'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the typographic package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     rollup -c
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs typographic
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls typographic
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

"Account" page blank, errors fill console

ss

Console log:

q.stripe.com/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
15:21:50.088 q.stripe.com/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
15:21:54.661 vue.runtime.esm.js:587 [Vue warn]: Property or method "store" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

found in

---> <Account> at /var/www/pi/client/src/components/Account.vue
       <Typographic> at /var/www/pi/client/src/components/Typographic.vue
         <Root>
Re @ vue.runtime.esm.js:587
15:21:54.661 vue.runtime.esm.js:587 [Vue warn]: Error in render: "TypeError: Cannot read property 'email' of undefined"

found in

---> <Account> at /var/www/pi/client/src/components/Account.vue
       <Typographic> at /var/www/pi/client/src/components/Typographic.vue
         <Root>
Re @ vue.runtime.esm.js:587
15:21:54.661 vue.runtime.esm.js:1737 TypeError: Cannot read property 'email' of undefined
    at Proxy.cc (Payment.vue:4)
    at a.e._render (vue.runtime.esm.js:4540)
    at a.r (vue.runtime.esm.js:2784)
    at kn.get (vue.runtime.esm.js:3138)
    at new kn (vue.runtime.esm.js:3127)
    at e (vue.runtime.esm.js:2791)
    at a.ir.$mount (vue.runtime.esm.js:7995)
    at init (vue.runtime.esm.js:4133)
    at vue.runtime.esm.js:5604
    at l (vue.runtime.esm.js:5551)
_t @ vue.runtime.esm.js:1737
15:21:55.842 :3000/#/login:1 This page includes a password or credit card input in a non-secure context. A warning has been added to the URL bar. For more information, see https://goo.gl/zmWq3m.
15:21:59.875 vue.runtime.esm.js:587 [Vue warn]: Property or method "store" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

found in

---> <Account> at /var/www/pi/client/src/components/Account.vue
       <Typographic> at /var/www/pi/client/src/components/Typographic.vue
         <Root>
Re @ vue.runtime.esm.js:587
15:21:59.875 vue.runtime.esm.js:587 [Vue warn]: Error in render: "TypeError: Cannot read property 'email' of undefined"

found in

---> <Account> at /var/www/pi/client/src/components/Account.vue
       <Typographic> at /var/www/pi/client/src/components/Typographic.vue
         <Root>
Re @ vue.runtime.esm.js:587
15:21:59.875 vue.runtime.esm.js:1737 TypeError: Cannot read property 'email' of undefined
    at Proxy.cc (Payment.vue:4)
    at a.e._render (vue.runtime.esm.js:4540)
    at a.r (vue.runtime.esm.js:2784)
    at kn.get (vue.runtime.esm.js:3138)
    at new kn (vue.runtime.esm.js:3127)
    at e (vue.runtime.esm.js:2791)
    at a.ir.$mount (vue.runtime.esm.js:7995)
    at init (vue.runtime.esm.js:4133)
    at vue.runtime.esm.js:5604
    at l (vue.runtime.esm.js:5551)
_t @ vue.runtime.esm.js:1737

Node version: 8.12.0

Server error on login

Testing to login after I've created an account and signed out, but then I only get an Server Internal Error

To reproduce: Go to sign in page and try:
Username: [email protected]
Password: password

image

wrong bill estimate

it seems like the bill estimate is incorrect for plans other than starter. If you enter a requests amount less than amount included in the plan but more than what's included in the starter plan your estimate is greater than the plan base price:
Screen Shot 2020-09-07 at 11 46 51 AM

Subscription prices accumulate

If you subscribe to the starter plan, and then switch to the growth plan, you will be billed $30. I think it should only be $20? Aren't you effectively cancelling the starter plan and switching to the growth plan?

rollup.config.js node 10

Dear contributors & brothers in dev.

I successfully cloned and ran the project 2 days ago, Node v10.15.0, npm 6.4.1. Then, just messing around I started to work on a React implementation. At some point I decided to compare both ( React & Vue) but little did I know I couldn't figure how to make it work anymore, even after a fresh clone from this same repo, same branch, not a single change!

It looks like the error is related to rollup, and happens in rollup.config.js:

> rollup -c

[!] Error: Cannot find module 'rollup-plugin-vue'
Error: Cannot find module 'rollup-plugin-vue'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (\stripe-billing-typographic\rollup.config.js:7:27)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.require.extensions..js (\AppData\Roaming\npm\node_modules\rollup\dist\bin\rollup:838:24)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)

I tried multiple rollup versions (including the default one). Now, I'm about to perform some tests using an other computer to push investigations further.

Does anybody can reproduce this error ?

Signup / Login doesn't work with PostgreSQL

Hi there,

I tried the project in localhost both using sqlite and pg.

Using the sqlite adapter everything works fine.
However with the pg adapter the login and signup process is buggy on the server-side. It looks like the id of the user is not defined.

Any workaround regarding this issue ?
Thanks for your time.

Instructions to run backend

Hi Mike! I have been working on the code you prepared for the Stripe Billing (Typographic). But I am having problems with the the instructions to run the project.
Seems that the config for the Front End is on the readme but not for the back end. Maybe I am missing something. If you could, please, help me here, I would appreciate. Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.