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

Make it possible to dynamically load node packages with dependencies #2849

Merged
merged 171 commits into from
Jul 20, 2022

Conversation

janober
Copy link
Member

@janober janober commented Feb 20, 2022

First POC to make it possible to dynamically load additional credentials/nodes at runtime from npm. Building on top and partly replacing code of my previous PR #2625.

Info:

  • does not work yet with queue-mode
  • did not do proper testing yet
  • no UI implemented, only REST endpoint

Test:

curl -X POST http://localhost:5678/rest/node \
   -H "Content-Type: application/json" \
   -d '{"name": "n8n-nodes-chatwork"}'

@Joffcom Joffcom added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Feb 23, 2022
@krynble krynble force-pushed the node-sideload-npm-install branch 3 times, most recently from eaa3155 to 3d1de4e Compare April 11, 2022 07:52
@krynble krynble force-pushed the node-sideload-npm-install branch 3 times, most recently from adbdb38 to 55ebf17 Compare April 25, 2022 07:16
@krynble krynble force-pushed the node-sideload-npm-install branch from 8867489 to 1a87d09 Compare May 23, 2022 15:14
krynble and others added 23 commits June 30, 2022 11:51
@janober janober merged commit c85faff into master Jul 20, 2022
@janober janober deleted the node-sideload-npm-install branch July 20, 2022 14:24
@janober
Copy link
Member Author

janober commented Jul 20, 2022

Thanks a lot. Got merged!

@janober janober added the Upcoming Release Will be part of the upcoming release label Jul 20, 2022
@janober
Copy link
Member Author

janober commented Jul 20, 2022

Got released with [email protected]

@janober janober removed the Upcoming Release Will be part of the upcoming release label Jul 20, 2022
@michael-dm
Copy link

so does this help using npm modules in Function nodes ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants