Open avital opened 9 years ago
@avital I tried to build my package for windows, but ran into this error:
danielq@server:~/code/meteor-ghost$ meteor admin get-machine os.windows.x86_32
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Windows\system32>meteor publish-for-arch mrt:ghost@0.5.2_3
mrt:ghost: updating npm dependencies -- ghost...
npm ERR! invalid: readable-stream@1.0.27-1
C:\Windows\TEMP\package-source6p32hq\mrt_ghost\.npm\package-new-e014h5\node_modu
les\ghost\node_modules\sqlite3\node_modules\node-pre-gyp\node_modules\tar-pack\n
ode_modules\readable-stream
npm ERR! invalid: string_decoder@0.10.25-1
C:\Windows\TEMP\package-source6p32hq\mrt_ghost\.npm\package-new-e014h5\node_modu
les\ghost\node_modules\sqlite3\node_modules\node-pre-gyp\node_modules\tar-pack\n
ode_modules\readable-stream\node_modules\string_decoder
=> Errors while initializing project:
While building package mrt:ghost:
error: couldn't read npm version lock information
Do you happen to know what might cause this problem? Thanks!
The errors are:
npm ERR! invalid: readable-stream@1.0.27-1
npm ERR! invalid: string_decoder@0.10.25-1
Looks like one of the NPM packages you're using or one of their dependencies were unpublished from NPM? You'd probably need to bump the version of the NPM dependencies and re-publish your package (including running publish-for-arch
on all platforms)
Some other problem (the same problem doesn't exist in other platforms):
>meteor publish-for-arch mrt:ghost@0.6.4
mrt:ghost: updating npm dependencies -- ghost...
npm ERR! extraneous: mocha@2.2.5
C:\Users\danie\AppData\Local\Temp\package-source10f8cps\mrt_ghost\.npm\package-new-sh4k0d\node_modules\ghost\node_modules\mocha
npm ERR! extraneous: istanbul@0.3.14
C:\Users\danie\AppData\Local\Temp\package-source10f8cps\mrt_ghost\.npm\package-new-sh4k0d\node_modules\ghost\node_modules\istanbul
=> Errors while initializing project:
While building package mrt:ghost:
error: couldn't read npm version lock information
Hi!
This package has binary dependencies, and we wanted to give you a heads up that Meteor 1.1, with support for Windows will be released in a few days.
Now is the time to publish your package for Windows!
It should be very straightforward -- we've added new build machines that run Windows that you can access with the
meteor admin get-machine
command. This is the same as you've done before for the other architectures we support.For complete directions on how to publish your package for Windows, visit https://github.com/meteor/meteor/wiki/Publishing-a-package-with-binary-dependencies-for-the-Windows-preview
On behalf of the Meteor team, @stubailo, @Slava and @avital.
P.S. This is an automated message based on our database of package authors.