I'm using the way you test this plugin as a means to test my own new plugin, one thing I keep finding is that it's giving me an error when I hit the invoke method inside the create methods saying that my project doesn't have a generator although I have a generator folder with an index.js inside it. Any ideas on what may be going on with this?
console.log test/helpers.js:26
/frontend/packages/vue-cli-plugin-convertor/test/e2e/projects/test-project
console.error node_modules/@vue/cli-shared-utils/lib/logger.js:49
ERROR Error: Plugin @namespace/vue-cli-plugin-convertor does not have a generator.
console.error node_modules/@vue/cli-shared-utils/lib/logger.js:52
Error: Plugin @namespace/vue-cli-plugin-convertor does not have a generator.
at invoke (/frontend/packages/vue-cli-plugin-convertor/node_modules/@vue/cli/lib/invoke.js:81:11)
at Object.<anonymous>.module.exports.args (/frontend/packages/vue-cli-plugin-convertor/node_modules/@vue/cli/lib/invoke.js:188:10)
at invoke (frontend/packages/vue-cli-plugin-convertor/test/helpers.js:27:9)
RUNS test/e2e/convertor.spec.js
*note i've update paths to avoid exposing company names and such
Update:
This appears to be an error with namespaced projects. e.g. @namespace/projectName. Will update further soon.
Update 2:
This is an error with the loadModules method from @vue/cli-shared-utils, this ticket can be closed.
I'm using the way you test this plugin as a means to test my own new plugin, one thing I keep finding is that it's giving me an error when I hit the invoke method inside the create methods saying that my project doesn't have a generator although I have a generator folder with an index.js inside it. Any ideas on what may be going on with this?
*note i've update paths to avoid exposing company names and such
Update:
This appears to be an error with namespaced projects. e.g. @namespace/projectName. Will update further soon.
Update 2: This is an error with the loadModules method from @vue/cli-shared-utils, this ticket can be closed.