I'm trying to create a Scratch with namespace, but the new scratch org is being created without the provided namespace.
My Dev Hub has already linked the Namespace correctly and sfdx-package.json looks alright to me as well. and looks like this:
{
"packageDirectories": [
{
"path": "force-app",
"default": true
}
],
"namespace": "myAppNamespace",
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "45.0",
"edition": "Developer",
"hasSampleData": false,
"features": [
"API",
"AuthorApex",
"DebugApex",
"DefaultWorkflowUser",
"ForceComPlatform"
],
"orgPreferences": {
"enabled": [
"ChatterEnabled",
"EnhancedEmailEnabled",
"PathAssistantsEnabled",
"S1DesktopEnabled",
"ShowViewHierarchyLink",
"IsActivityRemindersEnabled",
"IsDragAndDropSchedulingEnabled",
"IsEmailTrackingEnabled",
"IsGroupTasksEnabled",
"IsMultidayEventsEnabled",
"IsRecurringEventsEnabled",
"IsRecurringTasksEnabled",
"ShowEventDetailsMultiUserCalendar",
"ShowHomePageHoverLinksForEvents",
"ShowMyTasksHoverLinks",
"DocumentContentSearchEnabled",
"RecentlyViewedUsersForBlankLookupEnabled",
"SingleSearchResultShortcutEnabled"
]
}
}