Hi Rahul, On Tue, 2024-02-06 at 12:29 +0530, Rahul Rupani wrote: > I am using the sling12 kickstart jar with my custom feature.json file > and a > custom script, > The problem is when i try to create a node in my bin browser with the > jcr:PrimaryType as vlt:PackageDefinition it gives me - > Error - 400 javax.jcr.nodetype.NoSuchNodeTypeException: Node type > vlt:PackageDefinition does not exist > But when i go to Packages inside bin browser and then go back to > creating > the same node it is successful, first of all let me know why and what > is > this behaviour and also how can i add the custom node type in my > feature.json or my start script as i want it on a fresh server start, > Thanks
I suspect 'bin browser' is the Composum Nodes package installed by Sling. I would first start by upgrading to the latest Composum Nodes version, and if that does not work ask at https://github.com/ist-dresden/composum-nodes . Thanks, Robert