Comments (4)
Same here
from sharp-cli.
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.
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.
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)
- Resize by percentage HOT 2
- Remove people's data from the git history HOT 1
- Update `sharp` dependency to `v0.28` to support `AVIF` format
- Overwriting the input files failes in Node v16.4.1 HOT 1
- Does not Install on ARM64 M1 Apple Silicone HOT 2
- Specifying quality changes PNG file format to ISO Media HOT 4
- CPU usage low... HOT 3
- Option to delete original? HOT 3
- How to specify background/border color for `extend`? HOT 5
- Support for composite multiple images HOT 5
- NPM flags 3 moderate severity vulnerabilities upon install HOT 3
- Proposal: Add `--animated` Global Option HOT 2
- Add support PPM files HOT 7
- avif output ext wrong HOT 2
- Input file specification on windows - Backslash HOT 6
- Possible to add output option to buffer HOT 2
- sharp-cli vs sharp
- How to rasterize SVGs on PNG with specific width/height? HOT 4
- Greyscale conversion is not working HOT 6
- Installation does not work on Manjaro
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sharp-cli.