auto: Doesn't work w/ npx

Describe the bug

Running npx auto shipit results in an error.

Error: Cannot find module './dist/cjs'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
    at Function.Module._load (internal/modules/cjs/loader.js:506:25)
    at Module.require (internal/modules/cjs/loader.js:636:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/home/zephraph/.npm/_npx/292/lib/node_modules/auto/node_modules/parse-commit-message/index.js:4:13)
    at Module._compile (internal/modules/cjs/loader.js:688:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
    at Module.load (internal/modules/cjs/loader.js:598:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
    at Function.Module._load (internal/modules/cjs/loader.js:529:3)

To Reproduce

Run npx auto shipit

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 22 (1 by maintainers)

Most upvoted comments

I was using npx without --ignore-existing so i was getting old code. Now it’s broken