Try running npm install –no-optional to install only the required dependencies. If you’re lucky, the dependency that requires node-gyp will be optional, and you can skip the entire process required to get it working. Try running npm install with the -no-optional flag. This guide is meant to help solve the issues that can arise when installing a package that requires node-gyp. The Windows environment makes getting node-gyp to work a less-than-stellar developer experience, full of multiple pitfalls and many ways for things to go wrong. Unfortunately, this is not the case with Windows, as is evidenced by this thread from 2015. On most systems, this isn’t an issue, and installing node-gyp with the rest of your packages works as expected. It has widespread use and is included as a dependency in many NPM packages. Node-gyp is a tool that enables the compilation of native add-on modules for Node in multiple platforms.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |