#2179·papermark

Module not found: Missing Enterprise component "confidential-view-section" causes build failure

Author: Anuragkumar86Created Jun 30, 2026Updated Aug 10, 2026

Description

Hi Papermark team,

I was trying to work on Issue #2178 (CORS Misconfiguration on Viewer Upload Endpoint).

While setting up the project locally, I found another problem that prevents the application from compiling after login.

The application imports an Enterprise component that does not exist in the public repository.


Error

Module not found:

Can't resolve

@/ee/features/permissions/components/confidential-view/confidential-view-section

Files importing the missing component

I found this import in the following files:

  • components/links/link-sheet/link-options.tsx
  • components/welcome/containers/onboarding-link-options.tsx
  • pages/settings/presets/[id].tsx
  • pages/settings/presets/new.tsx

What I checked

  • Cloned the latest main branch
  • Installed all dependencies
  • Completed the local setup
  • Verified that the folder
ee/features/permissions/components/confidential-view/

does not exist locally.

I also checked the GitHub repository, and this folder/file is not present there either.


Expected behavior

The application should compile successfully after login.


Actual behavior

The application fails to compile because the imported Enterprise component is missing.

I thought it would be helpful to report this before continuing with the CORS issue.

Thank you!

ImageImage