运行我的程序包时,Meteor继续给我一个意外的字符串错误

时间:2015-03-17 15:18:53

标签: meteor telescope

我一直在尝试为我的" telescope-static-pages"添加另一个静态页面。包和每当我告诉Meteor在哪里添加或更新这个包时,它似乎给我这个错误如下:

代码似乎对我来说,但也许我错过了一些东西。

=> Errors while initializing project: While reading package from `/root/Telescope/packages/telescope-static-pages`:package.js:23:5: Unexpected 


api.add_files([
    'lib/client/templates/about_page.html',
    'lib/client/templates/about_link.html',
    'lib/client/about.js'
    'lib/client/templates/contact_page.html',
    'lib/client/templates/contact_link.html',
    'lib/client/contact.js'
  ], ['client']);

});

1 个答案:

答案 0 :(得分:2)

您在'lib/client/about.js'

之后错过了逗号