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

Dependency was not found. (@pdfme/schemas/utils) #628

Open
Hosam928 opened this issue Nov 12, 2024 · 2 comments
Open

Dependency was not found. (@pdfme/schemas/utils) #628

Hosam928 opened this issue Nov 12, 2024 · 2 comments

Comments

@Hosam928
Copy link

Describe the bug

[INFO] This dependency was not found:
[INFO]
[INFO] * @pdfme/schemas/utils in ./node_modules/@pdfme/generator/dist/esm/src/generate.js

To Reproduce

I have the following libraries installed:
"@pdfme/common": "^5.2.0",
"@pdfme/generator": "^5.2.0",
"@pdfme/pdf-lib": "^1.18.3",
"@pdfme/schemas": "^5.2.0",
"@pdfme/ui": "^5.2.0",

When I run npm run build, I get the following error:
[INFO] This dependency was not found: [INFO] [INFO] * @pdfme/schemas/utils in ./node_modules/@pdfme/generator/dist/esm/src/generate.js [INFO] [ERROR] ERROR Build failed with errors. [INFO] To install it, you can run: npm install --save @pdfme/schemas/utils

I install the @pdfme/schemas/utils library according to the console message, and the error persists.

Expected behavior

That the npm run build can be completed without any error.

Your Environment

- pdfme package(@pdfme/generator or @pdfme/ui): @pdfme/generator
- pdfme version: 5.2.0
- Operating system: MacOS Sonoma 14.7
- Node.js version or Browser name & version: 16.17.0

Your Error Log

[INFO] This dependency was not found:
[INFO] 
[INFO] * @pdfme/schemas/utils in ./node_modules/@pdfme/generator/dist/esm/src/generate.js
[INFO] 
[ERROR]  ERROR  Build failed with errors.
[INFO] To install it, you can run: npm install --save @pdfme/schemas/utils

Additional context

No response

@hand-dot
Copy link
Collaborator

@Hosam928 Could you give me the reproducible repo?

@Hosam928
Copy link
Author

@Hosam928 Could you give me the reproducible repo?

Hi @hand-dot , It's in a private repository, unfortunately I don't have permissions to share it.

I can give you more details, to see if that gives you any idea what might be going wrong:

It's a project in AEM, it uses:

  • “vue: ‘2.6.10’.
  • “webpack-cli”:“^3.3.10”,
  • “webpack”: “^4.41.5”,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants