Symbl-powered-Agora-RTE-app icon indicating copy to clipboard operation
Symbl-powered-Agora-RTE-app copied to clipboard

[Bug]: node-gyp error

Open rajeshr6r opened this issue 2 years ago • 0 comments

Contact Details

[email protected]

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

When running the npm run web in the front end the following error occurs .

npm ERR! info sharp Using cached /home/rajeshrajamani/.npm/_libvips/libvips-8.8.1-linux-x64.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | linux | x64 npm ERR! gyp info find Python using Python version 3.10.6 found at "/usr/bin/python3" npm ERR! gyp ERR! UNCAUGHT EXCEPTION npm ERR! gyp ERR! stack TypeError: Cannot assign to read only property 'cflags' of object '#<Object>' npm ERR! gyp ERR! stack at createConfigFile (/home/rajeshrajamani/Desktop/projects/agora/Symbl-powered-Agora-RTE-app/Symbl-Powered-Agora-master/node_modules/node-gyp/lib/configure.js:117:21) npm ERR! gyp ERR! stack at /home/rajeshrajamani/Desktop/projects/agora/Symbl-powered-Agora-RTE-app/Symbl-Powered-Agora-master/node_modules/node-gyp/lib/configure.js:84:9 npm ERR! gyp ERR! stack at FSReqCallback.oncomplete (node:fs:185:23) npm ERR! gyp ERR! System Linux 5.19.0-41-generic npm ERR! gyp ERR! command "/home/rajeshrajamani/.nvm/versions/node/v19.8.1/bin/node" "/home/rajeshrajamani/Desktop/projects/agora/Symbl-powered-Agora-RTE-app/Symbl-Powered-Agora-master/node_modules/.bin/node-gyp" "rebuild" npm ERR! gyp ERR! cwd /home/rajeshrajamani/Desktop/projects/agora/Symbl-powered-Agora-RTE-app/Symbl-Powered-Agora-master/node_modules/sharp npm ERR! gyp ERR! node -v v19.8.1 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! Node-gyp failed to build your package. npm ERR! gyp ERR! Try to update npm and/or node-gyp and if it does not help file an issue with the package author.

npm ERR! A complete log of this run can be found in: npm ERR! /home/rajeshrajamani/.npm/_logs/2023-05-04T11_59_56_418Z-debug-0.log

Expected Behavior

Front end should start

Steps To Reproduce

No response

Environment

- OS: Ubuntu 22.04
- Node:v19.8.1
- npm:9.6.2

What browsers are you seeing the problem on?

Chrome

Anything else?

No response

rajeshr6r avatar May 04 '23 12:05 rajeshr6r