Getting meteor 0.9.2 build to work OSX -> Linux

后端 未结 2 573
被撕碎了的回忆
被撕碎了的回忆 2021-01-05 08:33

I was using meteor 0.8.x but recently tried to upgrade to 0.9.2. It works locally but I\'m not having any luck with meteor bundle or meteor build

2条回答
  •  独厮守ぢ
    2021-01-05 09:36

    On the general problem of . . .

    (for those stumbling here via Google)

    Cannot find module 'MODULE-NAME'

    or

    Can't find npm module 'MODULE-NAME'

    If you've recently added or removed packages while the application is running, try stopping and restarting your meteor application.

    // stop ( "CTRL+C" in terminal that launched process )
    $ kill `ps ax | grep '[m]eteor' | awk '{print $1}'`
    
    // start
    $ meteor
    

提交回复
热议问题