


NX Report complete - copy this into the issue template It only works in a Client Component but none of its parents are marked with "use client", so they're Server Components by default. You're importing a component that imports client-only. Notice the error message stating that 'use client' is required to use client components. Start the NoMachine Player and create a badne7 connection: click new protocol: ssh -> continue host.Import the React component within the Nextjs app.Add 'use client' to the top of the component.Add const = useState('test') to the auto generated component in the React lib.Create a React shared library using the Nx generator.Enable the app directory by adding experimental:, to.Create a Nextjs app using the Nx generator.Nx should recognize the 'use client' syntax so that the component doesn't mount on the server but is instead recognized as a client component. Connect to your Systems from anywhere, anytime Manage all of your System(s) users, devices, and rules View live and recorded video (streams and offline files) Search archives instantly based on metadata / time. When trying to use a client component exported in a shared React component library within a Nextjs 13 app using the new NextJS app directory, Nx strips 'use client' from the component resulting in the following error provided below. The Nx Witness Desktop application is a unified Desktop client for connecting to, viewing, and managing your Nx Witness System(s).
