maodouio / meteor-master-classes

毛豆网Meteor在线师徒班
http://www."培养国内第一批Meteor布道者".com
15 stars 7 forks source link

尝试运行https://github.com/meteoric/demo时遇到错误,再运行一次又好了 #1

Closed seanjsong closed 9 years ago

seanjsong commented 9 years ago

这是meteor的bug么?

错误如下所示

$ git clone git@github.com:meteoric/demo.git
$ cd demo
$ meteor
[[[[[ ~/src/demo ]]]]]                        

=> Started proxy.                             
=> Meteor 1.1.0.2 is available. Update this project with 'meteor update'.
=> Started MongoDB.                           
=> Errors prevented startup:                  

   While building the application:
   /Users/djkings/src/demo/client/stylesheets/app.scss:4:9: Scss compiler error: file to import not found or unreadable:
   .meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/ionic
   Current dir: /Users/djkings/src/demo/client/stylesheets/

=> Your application has errors. Waiting for file change.
^C                                            
$ meteor
[[[[[ ~/src/demo ]]]]]                        

=> Started proxy.                             
=> Meteor 1.1.0.2 is available. Update this project with 'meteor update'.
=> Started MongoDB.                           
=> Started your app.                          

=> App running at: http://localhost:3000/
limingth commented 9 years ago

解决办法就是重新再运行一次 meteor

我猜测大概是因为 Scss compiler 需要的某个文件,需要靠第一次运行meteor才能生产出来,所以第二次再运行 meteor 才能 work

kevingzhang commented 9 years ago

李明解释正确.

limingth commented 9 years ago

.meteor/local/build/programs/server/assets/packages/meteoric_ionic-sass/ionic

这个文件就是第一次运行时候所产生的

limingth commented 9 years ago

参考 https://github.com/maodouio/meteor-master-classes/issues/3