npm install error

2.24K views
0

C:\Custom Listing App – Ionic Code>npm install

> sharp@0.22.1 install C:\Custom Listing App – Ionic Code\node_modules\cordova-res\node_modu
les\sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild &
& node install/dll-copy)

info sharp Using cached C:\Users\Administrator\AppData\Roaming\npm-cache\_libvips\libvips-8.
7.4-win32-x64.tar.gz
ERR! sharp Please delete C:\Users\Administrator\AppData\Roaming\npm-cache\_libvips\libvips-8
.7.4-win32-x64.tar.gz as it is not a valid tarball
ERR! sharp zlib: unexpected end of file
info sharp Attempting to build from source via node-gyp but this may fail due to the above e
rror
info sharp Please see https://sharp.pixelplumbing.com/page/install for required dependencies

C:\Custom Listing App – Ionic Code\node_modules\cordova-res\node_modules\sharp>if not define
d npm_config_node_gyp (node “C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\nod
e_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js” rebuild )
else (node “C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node_modules\node-
gyp\bin\node-gyp.js” rebuild )
Compilazione dei progetti nella soluzione uno alla volta. Per abilitare la compilazione para
llela, aggiungere l’opzione “/m”.
VError.cpp
VInterpolate.cpp
VImage.cpp
win_delay_load_hook.cc
c:\custom listing app – ionic code\node_modules\cordova-res\node_modules\sharp\src\libvips\
cplusplus\verror.cpp(33): fatal error C1083: Non è possibile aprire il file inclusione: ‘vi
ps/intl.h’: No such file or directory [C:\Custom Listing App – Ionic Code\node_modules\cord
ova-res\node_modules\sharp\build\libvips-cpp.vcxproj]
c:\custom listing app – ionic code\node_modules\cordova-res\node_modules\sharp\src\libvips\
cplusplus\vinterpolate.cpp(34): fatal error C1083: Non è possibile aprire il file inclusion
e: ‘vips/intl.h’: No such file or directory [C:\Custom Listing App – Ionic Code\node_module
s\cordova-res\node_modules\sharp\build\libvips-cpp.vcxproj]
c:\custom listing app – ionic code\node_modules\cordova-res\node_modules\sharp\src\libvips\
cplusplus\vimage.cpp(41): fatal error C1083: Non è possibile aprire il file inclusione: ‘vi
ps/intl.h’: No such file or directory [C:\Custom Listing App – Ionic Code\node_modules\cord
ova-res\node_modules\sharp\build\libvips-cpp.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuil
d\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\Administrator\AppData\Roaming\npm\node_m
odules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
gyp ERR! System Windows_NT 10.0.18362
gyp ERR! command “C:\\Program Files\\nodejs\\node.exe” “C:\\Users\\Administrator\\AppData\\R
oaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js” “rebuild”
gyp ERR! cwd C:\Custom Listing App – Ionic Code\node_modules\cordova-res\node_modules\sharp
gyp ERR! node -v v14.3.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN @agm/core@1.0.0-beta.5 requires a peer of @angular/common@^5.0.0 || ^6.0.0 but none
is installed. You must install peer dependencies yourself.
npm WARN @agm/core@1.0.0-beta.5 requires a peer of @angular/core@^5.0.0 || ^6.0.0 but none i
s installed. You must install peer dependencies yourself.
npm WARN @agm/js-marker-clusterer@1.1.0 requires a peer of @agm/core@^1.0.0-beta.7 but none
is installed. You must install peer dependencies yourself.
npm WARN @angular/platform-browser-dynamic@7.2.2 requires a peer of @angular/compiler@7.2.2
but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/base64@5.19.1 requires a peer of rxjs@^5.5.0 || ^6.5.0 but none is in
stalled. You must install peer dependencies yourself.
npm WARN @ionic-native/base64@5.19.1 requires a peer of @ionic-native/core@^5.1.0 but none i
s installed. You must install peer dependencies yourself.
npm WARN @ionic-native/call-number@5.2.0 requires a peer of @ionic-native/core@^5.1.0 but no
ne is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/dialogs@5.2.0 requires a peer of @ionic-native/core@^5.1.0 but none i
s installed. You must install peer dependencies yourself.
npm WARN @ionic-native/file@5.18.0 requires a peer of rxjs@^5.5.0 || ^6.5.0 but none is inst
alled. You must install peer dependencies yourself.
npm WARN @ionic-native/file@5.18.0 requires a peer of @ionic-native/core@^5.1.0 but none is
installed. You must install peer dependencies yourself.
npm WARN @ionic-native/file-transfer@5.18.0 requires a peer of rxjs@^5.5.0 || ^6.5.0 but non
e is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/file-transfer@5.18.0 requires a peer of @ionic-native/core@^5.1.0 but
none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/geolocation@5.2.0 requires a peer of @ionic-native/core@^5.1.0 but no
ne is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/image-picker@5.19.1 requires a peer of rxjs@^5.5.0 || ^6.5.0 but none
is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/image-picker@5.19.1 requires a peer of @ionic-native/core@^5.1.0 but
none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/in-app-browser@5.19.0 requires a peer of rxjs@^5.5.0 || ^6.5.0 but no
ne is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/in-app-browser@5.19.0 requires a peer of @ionic-native/core@^5.1.0 bu
t none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/ionic-webview@5.23.0 requires a peer of rxjs@^5.5.0 || ^6.5.0 but non
e is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/ionic-webview@5.23.0 requires a peer of @ionic-native/core@^5.1.0 but
none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/launch-navigator@5.2.0 requires a peer of @ionic-native/core@^5.1.0 b
ut none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/native-geocoder@5.5.1 requires a peer of @ionic-native/core@^5.1.0 bu
t none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/native-storage@5.18.0 requires a peer of rxjs@^5.5.0 || ^6.5.0 but no
ne is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/native-storage@5.18.0 requires a peer of @ionic-native/core@^5.1.0 bu
t none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/social-sharing@5.3.0 requires a peer of @ionic-native/core@^5.1.0 but
none is installed. You must install peer dependencies yourself.
npm WARN @angular/common@5.1.0-beta.2 requires a peer of rxjs@^5.5.0 but none is installed.
You must install peer dependencies yourself.
npm WARN @angular/compiler-cli@5.1.0-beta.2 requires a peer of typescript@>=2.4.2 <2.6 but n
one is installed. You must install peer dependencies yourself.
npm WARN @angular/core@5.1.0-beta.2 requires a peer of rxjs@^5.5.0 but none is installed. Yo
u must install peer dependencies yourself.
npm WARN leaflet.markercluster@1.4.1 requires a peer of leaflet@~1.3.1 but none is installed
. You must install peer dependencies yourself.
npm WARN tsickle@0.25.6 requires a peer of typescript@>=2.4.2 <2.6 but none is installed. Yo
u must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wante
d {“os”:”darwin”,”arch”:”any”} (current: {“os”:”win32″,”arch”:”x64″})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sharp@0.22.1 install: `(node install/libvips && node install/dll-copy && prebuild-i
nstall) || (node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sharp@0.22.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output
above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-05-28T23_48_31_185Z
-debug.log

C:\Custom Listing App – Ionic Code>

Answered question
Sorry, you do not have permission to read comments.