4 Replies
did u install the package?
yes, i did install the package
checked the files and there isn't a prebuild directory for some reason
delete your node modules and npm i again
that might fix it but im just guessing
and if it doesnt then install the prerequisite build tools for your operating system https://github.com/nodejs/node-gyp#on-unix
- Debian / Ubuntu:
sudo apt install build-essential
- MacOS: xcode-select --install
- Others: refer to the link and googleGitHub
GitHub - nodejs/node-gyp: Node.js native addon build tool
Node.js native addon build tool. Contribute to nodejs/node-gyp development by creating an account on GitHub.