我一直在尝试将另一个静态页面添加到我的“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']);
});