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

wont install #1

Open
unclesam87 opened this issue Nov 1, 2024 · 2 comments
Open

wont install #1

unclesam87 opened this issue Nov 1, 2024 · 2 comments

Comments

@unclesam87
Copy link

Greetings,
i was pretty happy to see ur nodes, sadly it wont install:

Error loading package "n8n-nodes-calcarddav" :The specified package could not be loaded Cause: Cannot find module '/home/node/.n8n/nodes/node_modules/n8n-nodes-calcarddav/dist/nodes/CardDavNode/CardDaveNode.node.js' Require stack: - /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/ClassLoader.js - /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/index.js - /usr/local/lib/node_modules/n8n/dist/config/schema.js - /usr/local/lib/node_modules/n8n/dist/config/index.js - /usr/local/lib/node_modules/n8n/dist/commands/audit.js - /usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/module-loader.js - /usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/help/index.js - /usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/errors/handle.js - /usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/errors/index.js - /usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/config/config.js - /usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/config/index.js - /usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/command.js - /usr/local/lib/node_modules/n8n/node_modules/@oclif/core/lib/index.js

any ideas what i can do?

@unclesam87
Copy link
Author

unclesam87 commented Nov 1, 2024

okay.... a short peek on the error message would helped: the CardDavNode/CardDaveNode.node.js seems to have a typo: inside our CardDavNode Folder i only see an carddavnode.node.js (at least on npm)

edit: look here inside of https://github.com/TobiasMende/n8n-nodes-calcarddav/blob/main/package.json line 36
"nodes": [ "dist/nodes/CardDavNode/CardDaveNode.node.js" ]

@TobiasMende
Copy link
Owner

Hi @unclesam87, unfortunately I never got to really build this node, but just played around here. So it is not functional yet and this is likely only the first error to encounter.

I will update the README to make this clear. Unfortunately I do not have the capacity to build it to a point where it works.

Depending on what you need, a workaround for your use case might be to create the vcf file content by hand (Set Field Node or Code Node)

ChatGPT might help with the boilerplate template of the file content (vcf files are text files)

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