When the examplePhrases or keywords in project.js are changed, the changes should be mirrored in the generated platforms/alexaSkill/skill.json.
Current Behavior
If the number of entries in project.js is reduced, stale entries can be left in the skill.json.
I have found this issue with examplePhrases and keywords, but may affect other information that is in arrays.
This is still a bug and we'll work on fixing this. As a workaround, try jovo build --clean. This will automatically delete the platforms/alexaSkill/ folder before building again.
I'm submitting a...
Expected Behavior
When the examplePhrases or keywords in project.js are changed, the changes should be mirrored in the generated
platforms/alexaSkill/skill.json
.Current Behavior
If the number of entries in project.js is reduced, stale entries can be left in the skill.json. I have found this issue with examplePhrases and keywords, but may affect other information that is in arrays.
Steps to reproduce
alexaSkill: { nlu: 'alexa', manifest: { publishingInformation: { locales: { 'en-US': { summary: "Test Jovo Project 1", examplePhrases: [ "Example 1", "Example 2", "Example 3" ], } } } } },
jovo build
alexaSkill: { nlu: 'alexa', manifest: { publishingInformation: { locales: { 'en-US': { summary: "Test Jovo Project 1", examplePhrases: [ "Example 4" ], } } } } },
jovo build
Workaround
Current workaround is to delete platforms/ folder before running
jovo build
Error log
Your Environment