JavaScript NPM Nodejs error: June 5, 2020January 4, 2023 To solve… just add –experimental-json-modules to the execution. In this case: