# FYI got an issue after installing linter plugin

**URL:** https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681
**Category:** General
**Created:** [13 November 2021 13:59 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681 "2021-11-13T13:59:14Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [13 November 2021 13:59 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/1 "2021-11-13T13:59:14Z")

</div>

..could be completely unrelated to that action and I am using @TotallyInformation alternate install

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/e/2ed5af5e3c670a5d4b59cf78dd8c3c03c480b3f5.jpeg)

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [13 November 2021 14:05 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/2 "2021-11-13T14:05:40Z")

</div>

There is something wierd going on !

This orig was a 1.3.5 alternate isntall but I upgraded it to 2.x.x a while ago and in the editor it says its on 2.1.3  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/7/17188c5a354358d8ff12da362696ca3ebff94ff2.png)

but it looking at 1st post log - something somewhere still thinks its a 1.3.5 install !

I think I'm going to need @TotallyInformation to come along and investigate this before going any further

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [13 November 2021 14:18 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/3 "2021-11-13T14:18:56Z")

</div>

You may have two different versions installed. Maybe one locally and one globally, and the editor is running the new one.

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [13 November 2021 14:23 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/4 "2021-11-13T14:23:40Z")

</div>

I do have two different versions installed but I'm only running the alternate install one.

its been running fine like this for at least a week

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [13 November 2021 14:33 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/5 "2021-11-13T14:33:51Z")

</div>

When you connect the editor (which shows 2.1.3), which port are you using?  
Clear the cache and refresh the page and make sure it still shows 2.1.3.

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [13 November 2021 14:40 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/6 "2021-11-13T14:40:47Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/3/135851e888d131e705ca310e9a7d315e598b759b.png)

Def the right port 11880 which shows it is the alternate install and not the standard 1880

Also - good call on the refresh  
now showing 1.3.5  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/f/1f192bd14333c2ea5b6c1c539e2dbc2bdbdb61f7.png)

Thank goodness I have the earlier screengrab to prove that it was at 2.1.3 beforehand 🙂

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [13 November 2021 14:44 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/7 "2021-11-13T14:44:20Z")

</div>

Is the other one the normal global install? If so then what version do you think that is? Check using  
`npm list -g node-red`

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [13 November 2021 14:46 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/8 "2021-11-13T14:46:35Z")

</div>

> [@Colin](#):
>
> npm list -g node-red

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/b/fb2be61146243ab820c21bdabd9c3160f15fa9e8.png)

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [13 November 2021 14:49 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/9 "2021-11-13T14:49:00Z")

</div>

I'm thinking that this is some sort of negative interaction between the linter plugin install and @TotallyInformation alternate install

But how/why it's reverted the alternate install to 1.3.5 is a mystery

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [13 November 2021 14:57 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/10 "2021-11-13T14:57:03Z")

</div>

Did you intentionally upgrade the global one to 2.1.3?

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [13 November 2021 15:06 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/11 "2021-11-13T15:06:08Z")

</div>

IIRC - I imaged a new card for this Pi4 a few weeks ago and used standard installer script.

Don't remember updating it to 2.1.3 so I'm thinking 2.1.3 was out at the time I did this

I had a 1.3.5 alternate install running on my Win 10 and I wanted to see if I could upgrade it to 2.x.x so I copied the whole folder across and then upgraded it to 2.x.x - went through a lot of pain (as you can imagine) but got it all (mostly - issues with lame and serialport still) working and its been my main workhourse since then

All been running 99% good

Just checked and the standard install is at 2.1.3

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/b/db98b216c987b3a44a3d95dd4dacca1ef2d2e14e.jpeg)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [13 November 2021 15:09 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/12 "2021-11-13T15:09:33Z")

</div>

What does `npm list node-red` from your .nr135test folder show? Do you have any other folders that you run node-red in? If so, what does it show from them?

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [13 November 2021 15:12 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/13 "2021-11-13T15:12:26Z")

</div>

> [@Colin](#):
>
> npm list node-red

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/f/ef12cbdc07cc1e448a9f7edd6851186a339596c8.png)

Not running any other NR instances on this machine

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [13 November 2021 15:15 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/14 "2021-11-13T15:15:31Z")

</div>

Well I cannot imagine how it could be reverted.  
Silly question, I know, probably, but you are connected to the right pi aren't you? I ask the question from bitter experience 🙂

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [13 November 2021 15:20 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/15 "2021-11-13T15:20:06Z")

</div>

> [@Colin](#):
>
> Silly question, I know, probably, but you are connected to the right pi aren't you?

I know what you mean 🙂

The ip of the the pi is 192.168.0.204 so def the right one in the editor

And running if config in the same terminal window that I'm working from says its 192.168.0.204 so I think I'm OK with that  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/7/f745ea554d92a7b18e50daff9bcf2da5d5b340b7.jpeg)

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [13 November 2021 15:24 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/16 "2021-11-13T15:24:30Z")

</div>

Is one installed in /use/lib/node\_modules (global) and one in .node-red/node\_modules (local) ?

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [13 November 2021 15:44 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/17 "2021-11-13T15:44:55Z")

</div>

I was just trying something out so I'll talk about that first

I decided to copy whole .nr135test folder to a new .213 folder  
ran  
npm install --production --unsafe-perm node-red (info gleaned from main alternate installer thread)

and it updated it to 1.3.7  
so I re-ran with  
npm install --production --unsafe-perm node-red@2.1.3  
and it is back up to 2.1.3 and operational again

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/1/812d5d808ff9e8ad699306a1fef7103acb488d00.jpeg)

> [@dceejay](#):
>
> Is one installed in /use/lib/node\_modules (global) and one in .node-red/node\_modules (local) ?

Don't know - how do I check?

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [13 November 2021 16:00 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/18 "2021-11-13T16:00:39Z")

</div>

From the `.node-red` folder run  
`npm list node-red`  
to see if you have a local one there. You already ran the global list to see the globally installed one (which is 2.x).

---

<div class="post-metadata">

### Author: ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)
#### Post date: [13 November 2021 16:03 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/19 "2021-11-13T16:03:09Z")

</div>

> [@Colin](#):
>
> npm list node-red

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/6/262b2e07cf42e4156cacbdd4abf4e02f30e8a07c.png)

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [13 November 2021 20:27 UTC](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681/20 "2021-11-13T20:27:13Z")

</div>

> [@cymplecy](#):
>
> I decided to copy whole .nr135test folder to a new .213 folder  
> ran  
> npm install --production --unsafe-perm node-red (info gleaned from main alternate installer thread)
> 
> and it updated it to 1.3.7  
> so I re-ran with  
> npm install --production --unsafe-perm node-red@2.1.3  
> and it is back up to 2.1.3 and operational again

Running a local install sets the major version in package.json. When doing an updated, always do `npm install node-red@latest --production --unsafe-perm`

Otherwise, you will always get a version in the same major version you previously had installed.

Obviously, make sure you `cd` to the correct folder first.

If you've used my alternate installer, you should see the right upgrade commands listed in package.json scripts.

[Next page](https://discourse.nodered.org/t/fyi-got-an-issue-after-installing-linter-plugin/53681.md?page=2)
