我已经创建了包并发布了它,它只是一个简单的包装"幻像"
我使用
部署了它sudo meteor publih --create
然后将其添加到我的应用
$> meteor show sasi513:phantom@1.0.0
Version 1.0.0 : phantom node Package wrapper
Architectures: os.linux.x86_32+web.browser+web.cordova
Maintained by sasi513.
修改
然后当我尝试部署meteor deploy xxx.meteor.com
Errors prevented deploying:
While building the application:
error: Unable to download package builds for this architecture.
我尝试发布-for-arch
sudo meteor publish-for-arch sasi513:phantom@1.0.0
sasi513:phantom: updating npm dependencies -- phantom...
Bundling build...
Creating package build...
Uploading build...
Publishing package build...
Error from package server
: Cannot override existing build [403]
这里有什么问题?任何人都有这个想法
答案 0 :(得分:1)
文档说:
您需要从其他架构运行publish-for-arch 上传不同的版本。
您是否在其他架构上运行该命令?还是同一台机器?因为在同一台机器上运行该命令不会起作用。[1]根据您的描述,听起来您没有从您想要支持的其他架构中尝试它。