make sure you’re not using it as a variable name or parameter
check the build script (buildScripts/build.js) for any usage of package as a variable or identifier, or try running babel with node
npx babel-node buildScripts/build.js