Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADF >=6.9.0 adf-process-services-cloud package spinner export #10287

Open
SewerynKopec opened this issue Oct 7, 2024 · 0 comments
Open

ADF >=6.9.0 adf-process-services-cloud package spinner export #10287

SewerynKopec opened this issue Oct 7, 2024 · 0 comments
Labels

Comments

@SewerynKopec
Copy link

SewerynKopec commented Oct 7, 2024

Type of issue: (check with "[x]")

  • New feature request
  • Bug
  • Support request
  • Documentation

Current behaviour:
When building project, an error occurs that says the import path of form-cloud-spinner.service is invalid.
Also said spinner service is imported with a direct path.

Error: Module not found: Error: Package path ./lib/form/services/spinner/form-cloud-spinner.service is not exported from package *path_to_project*\node_modules\@alfresco\adf-process-services-cloud (see exports field in *path_to_project*\adf\node_modules\@alfresco\adf-process-services-cloud\package.json)

Expected behavior:
The build should succeed and the import path of the mentioned service should be imported from @alfrseco/adf-process-services-cloud

Steps to reproduce the issue:

  • Create an npm package that uses form-cloud-spinner.service from @alfrseco/[email protected]. For example extend FormCloudComponent and include a constructor.
  • Create a project that uses the package.
  • Build the project

Component name and version:
form-cloud-spinner.service from @alfresco/adf-process-services-cloud v6.9.0 and higher

Node version (for build issues):
I used node v14, v16 and v18

The issue is in public-api.ts file:
image

@DenysVuika DenysVuika added the bug label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants