-
Notifications
You must be signed in to change notification settings - Fork 31
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
jovo v4 "new" failed #269
Comments
Tried it again with the default (javascript) preset. Wiped it again and retried with the manually selected settings. So it's something about the difference between default and manual config. |
I think it's because we accidently pushed a |
Btw the |
Uhm... I'm confused. If Your fix did resolve my new-with-interactive-parameters glitch, with one quibble: I accepted the default |
Ah, seems like you're using a beta config file, which used JavaScript support is not deprecated, you can simply choose JavaScript in the Jovo Wizard when running Regarding |
Ah. Beta config would make sense; thanks for pointing me to the patch point. Locales: If there are really conflicts between platforms, the ideal answer might be to ask language and country codes, then derive the platform-specific locale name as part of the deploy process for that platform -- or at least have a routine in deploy which makes a best guess for each based on what the user entered. Hiding this sort of detail is Jovo's mission, right? |
We had that implemented in |
Ok. Then one clarification requested: How to I set up a new Jovo project targeted to multiple platforms? Answer locality with something like "en,en-us" and trust that each will build to the platform(s) appropriate for it? Override locality at deploy time?I'm still hoping we can get Jovo to the point of having all the platform dependencies hidden from the developers... which I understood to be Jovo's long-term goal.
|
The approach we're taking here allows you to specifiy the locales you want to use with each platform in relation to the language models you want to maintain. We made sure that this works with code completion as well, so if you want to map your language model to another locale, your IDE should show you a list of all supported locales for that platform (e.g.
Or, if your language model is
You control how Jovo handles your language model, because we cannot assume which locales you want your platform to use (which could be very ambiguous). |
Ok, that works... But seems to be harder for novices (or at least those of us who started on V3) to learn about; if it's called out in the migration guide or new&user docs for v4 I missed it. May just be me, if course, but if you're expecting folks to rework the location setting maybe the `new` operation should be telling us to do so rather than implying it will do the job for us.You know the intended behaviors. What's obvious to you folks may not be for the "customer".
|
I'm submitting a...
Expected Behavior
Installed the Jovo v4 CLI (and installed the "jovo3" CLI so I still had access to the older implemention), made sure there wasn't a v4-* project directory, then tried to create one using
jovo new
to begin porting my code over from v3. Expected, of course, to have that new working directory created and populated without errors.Current Behavior
jovo new
failed withnpm ERR code ERESOLVE
Error log
Your Environment
@jovotech/cli: 4.0.1
Environment:
System:
OS: Windows 10 10.0.19043
Binaries:
Node: 12.20.2 - C:\Program Files\nodejs\node.EXE
npm: 7.21.1 - C:\Program Files\nodejs\npm.CMD
The text was updated successfully, but these errors were encountered: