To install vue-storefront, i have followed the steps as per documentation guide https://docs.vuestorefront.io/guide/installation/linux-mac.html#requirements, but while installing vue-storefront-api backend locally, it throws error as shown in image

enter image description here

I have checked install.log file and you can also check this log.

Cloning into '../vue-storefront-api'...
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1569392153518-0.7983839484530655/node but npm is using /home/user/.nvm/v12.10.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> sharp@0.21.3 install /home/user/roc/pwa-project/vue-storefront-api/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Using cached /home/user/.npm/_libvips/libvips-8.7.0-linux-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=12.10.0 runtime=node arch=x64 libc= platform=linux)
make: Entering directory '/home/user/roc/pwa-project/vue-storefront-api/node_modules/sharp/build'
  TOUCH Release/obj.target/libvips-cpp.stamp
  CXX(target) Release/obj.target/sharp/src/common.o
In file included from ../src/common.cc:27:0:
../src/common.h:78:16: error: ‘Handle’ is not a member of ‘v8’
   bool HasAttr(v8::Handle<v8::Object> obj, std::string attr);

Please check the following link it will help you:

Magento 2 Vue Storefront

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.