我一直在尝试为我的" 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']);
});
答案 0 :(得分:2)
您在'lib/client/about.js'