Open nojimage opened 1 year ago
Could it be that create-liff-app doesn't yet support create-nuxt-app 5.0?
The problem is actually not due to having no answers
, but not having template
. You can see that all create-liff-app is actually doing is just generating the command line prompt npx create-nuxt-app liff-app --answers {"name":"liff-app","pm":"npm","language":"ts","features":["axios"],"linter":["eslint"],"ui":"none","test":"none","mode":"universal","target":"server","devTools":"none","vcs":"none"}
.
And nuxt is expecting answers
to include template
, but it's not providing it. template
for create-nuxt-app is either html
or pug
π Bug Report
I can't create an app with the Nuxt.js template using the 'create-liff-app' command.
π Possible Solution
In Stack trace, I've got
at GeneratorContext.actions (~/node_modules/create-nuxt-app/lib/saofile.js:81:22)
The code looks like this:
https://github.com/nuxt/create-nuxt-app/blob/2f58b48a9e1fb3f78c465569e8441313cfc89642/packages/create-nuxt-app/lib/saofile.js#L81
I speculate that the error is happening because there is no 'template' specification in the 'answers' option sent to 'create-nuxt-app'.
π» Code Sample
Reproduction steps οΌ Error logs:
π Your Environment