How to install atmosphere packages without meteorite?

后端 未结 2 942
清歌不尽
清歌不尽 2020-12-16 20:30

mrt currently has a bug with spaces in Volume names on the Mac https://github.com/oortcloud/meteorite/issues/172.

Until that is fixed, how can I manually install pac

相关标签:
2条回答
  • 2020-12-16 20:47

    meteor router also needs HTML5-History-API

    git clone --recursive https://github.com/tmeasday/meteor-HTML5-History-API.git

    remove meteor and the folder should look like this HTML5-History-API

    then meteor add router

    0 讨论(0)
  • 2020-12-16 21:03

    You can create a directory called /packages in your project & then manually install each package and its dependencies. e.g for 'meteor router'

    in /packages

    git clone https://github.com/tmeasday/meteor-router.git
    mv meteor-router router
    
    git clone --recursive https://github.com/tmeasday/meteor-page-js-ie-support.git
    mv meteor-page-js-ie-support page-js-ie-support
    

    The second is a dependency on meteor router which you can see on the package's atmosphere page. It's recursive to make sure the submodule pages-js is also git cloned in.

    Meteor 0.65+

    As pointed out by thatjuan: Once you do this, you just need to add the main one to your project. You don't have to add the dependencies.

    meteor add router
    
    0 讨论(0)
提交回复
热议问题