Giter VIP home page Giter VIP logo

Comments (4)

Saneesh avatar Saneesh commented on June 16, 2024

Same here

from sharp-cli.

thameemk avatar thameemk commented on June 16, 2024

Can you please run the below command . I got it solved
sudo npm install --unsafe-perm --verbose -g sharp-cli or
sudo npm install --unsafe-perm --verbose -g sharp-cli --save

Source : nodejs/node-gyp#454

from sharp-cli.

Saneesh avatar Saneesh commented on June 16, 2024

Hello @thameemk612,
Thank you for your reply
Successfully I have executed that command, but still I'm getting the following error.
I have tried like this too: sudo npm install --unsafe-perm --verbose -g [email protected] --save

$npm view [email protected]

[email protected] | MIT | deps: 5 | versions: 29
CLI for sharp.
https://github.com/vseventer/sharp-cli

keywords: cli, jpeg, libvips, png, sharp, vips, webp

bin: sharp

dist
.tarball: https://registry.npmjs.org/sharp-cli/-/sharp-cli-1.10.0.tgz
.shasum: d201c85303ee66be286051157c2161053860aeb3
.integrity: sha512-Sh3nXZGzGBNwnl++qSvtdlGaP0DRcEmGoD72xac7wJGmdMA2Afab/TMnBghNtxf10ym5ydTvW6Q6WrK7GEalxQ==
.unpackedSize: 786.6 kB

dependencies:
bubble-stream-error: 1.0.x multiyargs: 1.0.x          sharp: 0.22.1              url-template: 2.0.x        yargs: 12.0.x              

maintainers:
- vseventer <[email protected]>

dist-tags:
latest: 1.10.0 
$expo optimize                    
This will overwrite the original assets.
Optimizing assets...
Optimizing ./assets/icon.png
This command requires version 1.10.0 of `sharp-cli`. 
You can install it using `npm install -g [email protected]`. 

For prerequisites, see: https://sharp.dimens.io/en/stable/install/#prerequisites
Set EXPO_DEBUG=true in your env to view the stack trace.

How can we fix this issue?

Regards,
Saneesh.

from sharp-cli.

vseventer avatar vseventer commented on June 16, 2024

Hi @Saneesh - this appears to be an issue with expo rather than with the CLI itself. I recommend opening an issue here.

from sharp-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.