Error: Can't find npm module 'moment'

前端 未结 3 612
天涯浪人
天涯浪人 2021-01-20 01:06

I have a Meteor app that runs perfectly on localhost, but when I deploy it to a remote heroku server, I get the following errors.

(I am implementing thi

3条回答
  •  日久生厌
    2021-01-20 02:02

    Can you try meteor npm install in your project root?

    If moment didn't appear in that list, can you try meteor npm install --save moment?

    Otherwise, could you please post your package.js - it should be in app/programs/server/

提交回复
热议问题