# newNode - no such package available

**URL:** <https://discourse.nodered.org/t/newnode-no-such-package-available/21767>\
**Category:** Developing Nodes\
**Created:** [16 February 2020 02:44 UTC](https://discourse.nodered.org/t/newnode-no-such-package-available/21767 "2020-02-16T02:44:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![josekavunkal](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/josekavunkal/32/18505_2.png) [@josekavunkal](https://discourse.nodered.org/u/josekavunkal)\
**Post date:** [16 February 2020 02:44 UTC](https://discourse.nodered.org/t/newnode-no-such-package-available/21767/1 "2020-02-16T02:44:40Z")

</div>

I am using following json to set up a new npm repo and install using pallet .  
{  
"name":"Node-RED Custom catalogue",  
"updated\_at": "2016-08-05T18:37:50.673Z",  
"modules": [

```
	{
  "description": "Simply call etherium contracts from node-red, powered by Ethers.js and Etherscan",
  "keywords": [
    "node-red",
    "lower"
  ],
  "types": [
    "ethers-wallet"
    
  ],
  "updated_at": "2020-02-14T13:06:30.531Z",
  "id": "node-red-contrib-example-lower-case",
  "version": "1.1.1",
  "url": "http://ec2-xxxxx.compute-1.amazonaws.com:4873/node-red-contrib-example-lower-case"
}
    
]

```

}  
I can see the the new node listed in pallet ,but when I try to install it ,I am getting error which says that it is trying to fetch node named newNode .

16 Feb 08:11:56 - [info] Starting flows  
16 Feb 08:11:56 - [info] Started flows  
16 Feb 08:12:54 - [info] Installing module: node-red-contrib-example-lower-case,  
version: 1.1.1  
16 Feb 08:13:18 - [warn] Installation of module node-red-contrib-example-lower-c  
ase failed:  
16 Feb 08:13:18 - [warn] ------------------------------------------  
16 Feb 08:13:18 - [warn] npm ERR! code E404  
npm ERR! 404 Not Found - GET [http://xxxxxxx.compute-1.amazonaws.com:48](http://xxxxxxx.compute-1.amazonaws.com:48)  
73/newNode - no such package available  
npm ERR! 404  
npm ERR! 404 'newNode@1.0.0' is not in the npm registry.  
npm ERR! 404 Your package name is not valid, because  
npm ERR! 404 1. name can no longer contain capital letters  
npm ERR! 404  
npm ERR! 404 Note that you can also install from a  
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:  
npm ERR! C:\Users\cyjajose\AppData\Roaming\npm-cache\_logs\2020-02-16T02\_43\_  
18\_603Z-debug.log

16 Feb 08:13:18 - [warn] ------------------------------------------

What can be the reason for this faliure.

---

<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:** [16 February 2020 09:05 UTC](https://discourse.nodered.org/t/newnode-no-such-package-available/21767/2 "2020-02-16T09:05:08Z")

</div>

Does the error not explain it?

> [@josekavunkal](#):
>
> npm ERR! 404 'newNode@1.0.0' is not in the npm registry.  
> npm ERR! 404 Your package name is not valid, because  
> npm ERR! 404 1. name can no longer contain capital letters

---

<div class="post-metadata">

**Author:** ![josekavunkal](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/josekavunkal/32/18505_2.png) [@josekavunkal](https://discourse.nodered.org/u/josekavunkal)\
**Post date:** [16 February 2020 09:51 UTC](https://discourse.nodered.org/t/newnode-no-such-package-available/21767/3 "2020-02-16T09:51:19Z")

</div>

{  
"name": "node-red-contrib-example-lower-case",  
"version": "1.1.1",  
"description": "Covert Lower To Upper",  
"main": "lower-case.js",  
"scripts": {  
"test": "node lower-case.js"  
},  
"keywords": [  
"CustomNodes"  
],  
"node-red": {  
"nodes": {  
"lower-case": "lower-case.js"  
}  
},  
"author": "Jose Paul",  
"license": "ISC",  
"dependencies": {}  
}

This is my package.json for node-red-contrib-example-lower-case .I am getting the error on newNode ,not sure where this comes .There is no word newNode in any of the files .for this custom node.  
It is searching at [http://xxxxxxx.compute-1.amazonaws.com:48](http://xxxxxxx.compute-1.amazonaws.com:48/)  
73/newNode ,instead of npm ERR! 404 Not Found - GET [http://xxxxxxx.compute-1.amazonaws.com:48](http://xxxxxxx.compute-1.amazonaws.com:48/)  
73/node-red-contrib-example-lower-case

---

<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:** [16 February 2020 10:12 UTC](https://discourse.nodered.org/t/newnode-no-such-package-available/21767/4 "2020-02-16T10:12:45Z")

</div>

How have you configured npm to use your custom registry?

What do you get if you run `npm install node-red-contrib-example-lower-case` manually?

---

<div class="post-metadata">

**Author:** ![josekavunkal](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/josekavunkal/32/18505_2.png) [@josekavunkal](https://discourse.nodered.org/u/josekavunkal)\
**Post date:** [16 February 2020 10:36 UTC](https://discourse.nodered.org/t/newnode-no-such-package-available/21767/5 "2020-02-16T10:36:36Z")

</div>

It tried this command ,it install with charm with --registry along with command .This looks like some problem with local npm as you suspect .I tried it in another Node-red in AWS it got installed .  
Thank you so much Nick for the support ,it helped me to think in different direction. .

---

<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:** [16 April 2020 10:36 UTC](https://discourse.nodered.org/t/newnode-no-such-package-available/21767/6 "2020-04-16T10:36:40Z")

</div>

Closed on 16 April 2020 10:36 UTC

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