DEV Community

Cover image for Error while installing parcel bundler in ubuntu
dydxPratik
dydxPratik

Posted on

Error while installing parcel bundler in ubuntu

hi i recently shifted to ubuntu os and now I am trying to install parcel bundler but its showing some error please someone help me . I am here after searching the solution for it the whole day.

command: sudo npm install -d parcel

error : npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm info run @parcel/watcher@2.4.0 install node_modules/@parcel/watcher node-gyp rebuild
npm info run lmdb@2.8.5 install node_modules/lmdb node-gyp-build-optional-packages
npm info run msgpackr-extract@3.0.2 install node_modules/msgpackr-extract node-gyp-build-optional-packages
npm info run @parcel/watcher@2.4.0 install { code: 7, signal: null }
npm ERR! code 7
npm ERR! path /home/pratik/Desktop/new/node_modules/@parcel/watcher
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild

npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-02-15T12_17_03_228Z-debug-0.log

Top comments (0)