appversion icon indicating copy to clipboard operation
appversion copied to clipboard

Missing dependency `fs`

Open olivierobert opened this issue 7 years ago • 0 comments

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';

olivierobert avatar Sep 05 '17 08:09 olivierobert