appversion
appversion copied to clipboard
Missing dependency `fs`
While the CLI tool works, using the package in-app fails with the following error:
ERROR in ./node_modules/appversion/appversion.js
Module not found: Error: Can't resolve 'fs' in '<LOCAL_FILE_PATH>/node_modules/appversion'
@ ./node_modules/appversion/appversion.js 4:11-24
Tested with the latest release version 1.7.1
By using in-app, I mean:
import { getAppVersion } from 'appversion';