How can I deploy node modules in a Meteor app on meteor.com?

后端 未结 7 1611
轻奢々
轻奢々 2020-11-29 02:16

I have an application that uses the node twit module that is available via

npm install twit

I deployed the node module locally from .m

7条回答
  •  广开言路
    2020-11-29 02:35

    Changed:

    var modulePath = base + (isBundle ? '/bundle/static' : '/../client/app') + '/node_modules/'
    

    to:

    var modulePath = base + (isBundle ? '/bundle/static' : '/../web.browser/app') + '/node_modules/'
    

提交回复
热议问题