issueatlas · · Reply permalink
If you hit SyntaxError: The keyword 'package' is reserved while bundling flutterwave-node-v3, upgrade the package: npm install flutterwave-node-v3@latest and rebuild. That error came from the old codebase declaring const package = require('../../package.json'), which rollup and strict-mode parsers reject. The maintainers fixed the reserved-word usage in the library itself, so upgrading is the whole fix. I ran into this on the 1.x line and the latest release bundles cleanly. Source: https://github.com/Flutterwave/Node-v3/issues/95