Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with npx #6

Open
Graham42 opened this issue Jan 21, 2018 · 2 comments
Open

Doesn't work with npx #6

Graham42 opened this issue Jan 21, 2018 · 2 comments

Comments

@Graham42
Copy link

$ npx -p update -p updater-license update license:new
npx: installed 1191 in 17.559s
[15:02:37] using file ~/home/grahamm/.npm/_npx/15366/lib/node_modules/update/lib/updatefile.js
[15:02:37] starting update.license
[15:02:37] starting update.license:new task
[15:02:37] ✔ running: license:new
[15:02:37] starting update.license:license-new task
[15:02:37] starting update.license.new
[15:02:37] starting update.license.new:default task
[15:02:37] starting update.license.new:license task
[15:02:37] starting update.license.new
[15:02:37] starting update.license.new:choose task
? Choose the license to generate license-mit
[15:02:44] starting update.license.new
TypeError: app.conflicts is not a function
    at file (/home/grahamm/.npm/_npx/15366/lib/node_modules/updater-license/node_modules/generate-license/generators/file.js:10:15)
    at Task.fn (/home/grahamm/.npm/_npx/15366/lib/node_modules/updater-license/node_modules/generate-license/generators/tasks.js:323:12)
    at /home/grahamm/.npm/_npx/15366/lib/node_modules/update/node_modules/composer/lib/task.js:115:22
    at Task.runDeps (/home/grahamm/.npm/_npx/15366/lib/node_modules/update/node_modules/composer/lib/task.js:79:12)
    at Task.run (/home/grahamm/.npm/_npx/15366/lib/node_modules/update/node_modules/composer/lib/task.js:107:8)
    at /home/grahamm/.npm/_npx/15366/lib/node_modules/update/node_modules/composer/lib/flow.js:25:22
    at Update.Composer.build (/home/grahamm/.npm/_npx/15366/lib/node_modules/update/node_modules/composer/index.js:155:10)
    at /home/grahamm/.npm/_npx/15366/lib/node_modules/updater-license/node_modules/generate-license/generator.js:61:13
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
@jonschlinkert
Copy link
Member

see the readme

@jonschlinkert
Copy link
Member

sorry I'm not familiar with npx, I jumped the gun. Reopening to see if we can figure this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants