I am trying to run create-react-kotlin-app
module using npm
but it gives me this error:
Failed to compile
multi ./node_modules/react-dev-utils/webpackHotDevClient.js ./node_modules/react-scripts-kotlin/config/polyfills.js kotlinApp Module not found: Syntax/Users/amin/package.json (directory description file): SyntaxError: /Users/amin/package.json (directory description file): SyntaxError: Unexpected end of JSON input
This error occurred during the build time and cannot be dismissed.
Although I have just followed these instructions:
npm install -g create-react-kotlin-app
create-react-kotlin-app my-app
cd my-app
npm start
Note: I could successfully run create-react-app
module with no errors. My JDK is also 1.8.111 in case it matters. Does anyone know why do I get such an error and how to fix it?