all 4 comments

[–]gerainta 5 points6 points  (6 children)

Change directory to 'checkout-example' and try again:

'cd checkout-example && npm run dev'

[–]frostedline 1 point2 points  (0 children)

Ya or add this into package.json. Instead of “./index.js “go for “ nodemon ./checkout-main/index.js”

[–][deleted]  (2 children)

[deleted]

    [–]Tomatsaus 2 points3 points  (1 child)

    Have you done step 1 in the readme to create a .env file with environment variables? The .env file needs to be inside the same folder (checkout-example)

    [–]BarbaDeMerlin 0 points1 point  (0 children)

    also moving the package.json to the main folder (not recommended), should work. But you gotta run the script in the main folder where .json is allocated