# I am going to create my first node using node red docs

**URL:** https://discourse.nodered.org/t/i-am-going-to-create-my-first-node-using-node-red-docs/80514
**Category:** General
**Created:** [12 August 2023 07:00 UTC](https://discourse.nodered.org/t/i-am-going-to-create-my-first-node-using-node-red-docs/80514 "2023-08-12T07:00:56Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![bubainayak1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bubainayak1/32/81994_2.png) [@bubainayak1](https://discourse.nodered.org/u/bubainayak1)
#### Post date: [12 August 2023 07:00 UTC](https://discourse.nodered.org/t/i-am-going-to-create-my-first-node-using-node-red-docs/80514/1 "2023-08-12T07:00:56Z")

</div>

Creating your first node  
I am going to create my first node using node red docs and follow all the steps here is link:[Creating your first node : Node-RED](https://nodered.org/docs/creating-nodes/first-node) but when I am going to run the command as mention in docs ,I am getting this below error

```auto
npm install test\.node_red
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path C:\Users\Soumen Nayak\test\.node_red/package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Users\Soumen Nayak\test\.node_red\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent   

```

Please need help

Thanks

---

<div class="post-metadata">

### Author: ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)
#### Post date: [12 August 2023 08:22 UTC](https://discourse.nodered.org/t/i-am-going-to-create-my-first-node-using-node-red-docs/80514/2 "2023-08-12T08:22:01Z")

</div>

Never created a node myself.  
My first intuitive is that the error is because you have a space in the path, in this case in your user name.  
Include your path with quotations where required.  
Something like this **"C:\Users\Soumen Nayak\test.node\_red/package.json"**

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [12 August 2023 09:01 UTC](https://discourse.nodered.org/t/i-am-going-to-create-my-first-node-using-node-red-docs/80514/3 "2023-08-12T09:01:56Z")

</div>

@bubainayak1 the path you pass to `npm install` must either be a relative path starting with `./` or an absolute path `c:\Users....`

---

<div class="post-metadata">

### Author: ![ralphwetzel](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ralphwetzel/32/53713_2.png) [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)
#### Post date: [12 August 2023 19:33 UTC](https://discourse.nodered.org/t/i-am-going-to-create-my-first-node-using-node-red-docs/80514/4 "2023-08-12T19:33:43Z")

</div>

The documentation tells you:

> Create a directory where you will develop your code. Within that directory, create the following files: [...]

Are you sure you created your custom nodes files in this (potentially hidden?) directory?

> [@bubainayak1](#):
>
> `npm install test\.node_red`

In addition to [Nicks statement](https://discourse.nodered.org/t/i-am-going-to-create-my-first-node-using-node-red-docs/80514/3): You should (or even need to) run `npm install ...` from your node-red `userdir`.

---

<div class="post-metadata">

### Author: ![bubainayak1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bubainayak1/32/81994_2.png) [@bubainayak1](https://discourse.nodered.org/u/bubainayak1)
#### Post date: [19 August 2023 13:49 UTC](https://discourse.nodered.org/t/i-am-going-to-create-my-first-node-using-node-red-docs/80514/5 "2023-08-19T13:49:27Z")

</div>

thanks , it worked

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [2 September 2023 13:49 UTC](https://discourse.nodered.org/t/i-am-going-to-create-my-first-node-using-node-red-docs/80514/6 "2023-09-02T13:49:54Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
