Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: node-gyp error #54

Open
1 task done
rajeshr6r opened this issue May 4, 2023 · 0 comments
Open
1 task done

[Bug]: node-gyp error #54

rajeshr6r opened this issue May 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@rajeshr6r
Copy link

Contact Details

[email protected]

Is there an existing issue for this?

  • 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 '#'
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 rajeshr6r added the bug Something isn't working label May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant