#[Solved] Use a package that is not supported on linux

2 messages · Page 1 of 1 (latest)

orchid rune
#

Hmm, would it be best to just wrap my require() statement in a check for OS? How would I prevent linux devs from having issues with npm install?

#

Nvm, figured it out. Wrapped my require() and moved the package to optionalDependencies in package.json.