如何将Stripe引入Firebase

时间:2017-09-04 02:41:20

标签: firebase npm stripe-payments

我无法将Firebase引入Stripe。

  1. 我已经部署了。

  2. 我正在尝试这个(https://firebase.google.com/docs/use-cases/payments),我在这个阶段遇到了麻烦。

  3. 我已经在网址中完成了3.1,但是当我将npm install -g放在函数中时,我会收到以下错误消息。

    有人可以帮助我吗?

    npm ERR! addLocal Could not install /Users/Takahiro/Desktop/RepFit-master/functions
    npm ERR! Darwin 16.7.0
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g"
    npm ERR! node v6.11.2
    npm ERR! npm v3.10.10
    
    npm ERR! No version provided in package.json
    npm ERR! 
    npm ERR! If you need help, you may report this error at:
    npm ERR! https://github.com/npm/npm/issues
    
    npm ERR! Please include the following file with any support request:
    npm ERR! /Users/×××/Desktop/×××(site name)/functions/npm-debug.log
    

0 个答案:

没有答案