n8n-io / n8n-nodes-starter

Example starter module for custom n8n nodes.
MIT License
190 stars 128 forks source link

doc outdated #48

Closed Noiirod closed 1 month ago

Noiirod commented 1 month ago

Hello, I'm a junior dev and i'm trying to do the build your node tutorial, but i'm having some problems with it. The doc is actually using npm but the repository i cloned from the tutorial force me to use pnpm, can you give me the good way to reproduce the tutorial with the right commands ?

Thank you by advance.

Joffcom commented 1 month ago

Hey @Noiirod,

I noticed the other day and I need to take a look into the changes. For the most part you can replace npm with pnpm and that should get you most of the way there.

Noiirod commented 1 month ago

Thank you for your answer ! I still have an issue, i'll show you the way i did it :

git clone https://github.com/Noiirod/n8n-nodes-test.git n8n-nodes-nasa-pics
cd ./n8n-nodes-nasa-pics/
code .
pnpm i
cd .n8n
ls
cd ./custom
pwd
stat ../../Documents/Dev/A1CLOUD/act-n8n-tests/n8n-nodes-nasa-pics
pnpm link  ../../Documents/Dev/A1CLOUD/act-n8n-tests/n8n-nodes-nasa-pics
n8n start

and the node did not appear in the n8n interface, am i doing wrong ?

Noiirod commented 1 month ago

Nevermind i forget to build 😅

Joffcom commented 1 month ago

Is it all good now?

Noiirod commented 1 month ago

Yes, thank you for your time