Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update save-pixels / pngjs to fix npm WARN engine pngjs@0.4.0: wanted: {"node":"0.8.x"} (current: {"node":"5.3.0","npm":"3.3.12"}) #10

Open
deathcap opened this issue Dec 30, 2015 · 1 comment

Comments

@deathcap
Copy link
Member

Installing voxel-stitch logs this warning:

npm WARN engine pngjs@0.4.0: wanted: {"node":"0.8.x"} (current: {"node":"5.3.0","npm":"3.3.12"})

maybe time to update the dependencies:

npm list

│ └─┬ voxel-stitch@0.10.1
…
│   └─┬ save-pixels@0.3.0
│     └── pngjs@0.4.0

latest versions:

https://www.npmjs.com/package/save-pixels 2.3.0
https://www.npmjs.com/package/pngjs 2.2.0

@deathcap
Copy link
Member Author

deathcap commented Jan 1, 2016

save-pixels >=2.0.0 includes this API change: scijs/save-pixels#6 get-pixels@3.0.2 ndarray signature inconsistent with save-pixels' png -- used by voxel-stitch as savePixels(level, 'canvas'), previously data was an ndarray with shape: [rows, columns, channels], changed to: [width, height, channels]. The level pyramid comes from https://github.com/voxel/rect-mip-map so it may require changes too.

@deathcap deathcap changed the title Update save-pixels / pngjs? Update save-pixels / pngjs to fix npm WARN engine pngjs@0.4.0: wanted: {"node":"0.8.x"} (current: {"node":"5.3.0","npm":"3.3.12"}) Feb 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant