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

[bug] can not generate plugin, task or config. #512

Closed
gabrielcsapo opened this issue Jun 22, 2020 · 2 comments · Fixed by #513
Closed

[bug] can not generate plugin, task or config. #512

gabrielcsapo opened this issue Jun 22, 2020 · 2 comments · Fixed by #513

Comments

@gabrielcsapo
Copy link
Contributor

When running checkup generate plugin foo ./lib I get the following error:

 ›   Error: No valid generator found for plugin. Valid generators are base-generator.d, 
 ›   base-generator.d.ts.map, base-generator.js, base-generator.js.map, config.d, config.d.ts.map, 
 ›   config.js, config.js.map, plugin.d, plugin.d.ts.map, plugin.js, plugin.js.map, task.d, 
 ›   task.d.ts.map, task.js, task.js.map

When I log out what this.validGenerators I get:

[
  'base-generator.d',
  'base-generator.d.ts.map',
  'base-generator.js',
  'base-generator.js.map',
  'config.d',
  'config.d.ts.map',
  'config.js',
  'config.js.map',
  'plugin.d',
  'plugin.d.ts.map',
  'plugin.js',
  'plugin.js.map',
  'task.d',
  'task.d.ts.map',
  'task.js',
  'task.js.map'
]
@scalvert
Copy link
Contributor

Thanks for the report, @gabrielcsapo. I'll take a look.

What version of @checkup/cli do you have installed?

checkup --version

@gabrielcsapo
Copy link
Contributor Author

version was 0.1.1 @scalvert

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

Successfully merging a pull request may close this issue.

2 participants