# Pinegrow Live doesn't work with Atom

**URL:** <https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133>\
**Category:** General\
**Tags:** bug\
**Created:** [January 8, 2022, 2:39pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133 "2022-01-08T14:39:53Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![martonlente](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/martonlente/32/5800_2.png) [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Post date:** [January 8, 2022, 2:39pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/1 "2022-01-08T14:39:53Z")

</div>

Hello,

I’ve been using Pinegrow with Atom, as described here: [Atom and Pinegrow Web Editor, the Perfect IDE for the Web](https://pinegrow.com/pinegrow-atom.html)

The connection perfectly works with the regular latest version of Pinegrow (version 6.21), **but not with Pinegrow Live.** When I’m running Pinegrow Live with Atom, Atom notifies it’s connected to Pinegrow, but whenever I make an action, nothing happens, except the _‘Didn’t yet received parser module from Pinegrow.’_ error message gets displayed in Atom.

Pinegrow Live is a nice addition, but it’d be great if I could also use it with Atom just like the regular version. May I expect a fix for this, or is there anything I can do to make it work?

Thank you in advance,  
Márton Lente

---

<div class="post-metadata">

**Author:** ![martonlente](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/martonlente/32/5800_2.png) [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Post date:** [January 11, 2022, 3:31pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/2 "2022-01-11T15:31:44Z")

</div>

Hello,

Any update on this?

Thanks in advance,  
Márton Lente

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [January 11, 2022, 4:24pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/3 "2022-01-11T16:24:59Z")

</div>

Hi @martonlente,  
Sorry for the delay in getting back to you. This feature works for me. Can you try and select the “Reconnect to Pinegrow” menu item in Atom with both programs open? It is located in the Packages → Pinegrow menu.  
Cheers,  
Bob

---

<div class="post-metadata">

**Author:** ![martonlente](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/martonlente/32/5800_2.png) [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Post date:** [January 12, 2022, 3:49pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/4 "2022-01-12T15:49:09Z")

</div>

Hello,

Thanks @RobM . I tried, and the connection was actually successful. (Whenever I click ‘Reconnect to Pinegrow’, the connection-confirmation message is shown.) However, the issue still exists: When I do anything in Pinegrow (or vice-versa I click ‘Ctrl + Alt + P’ in Atom), this _‘Didn’t yet received parser module from Pinegrow.’_ error message gets displayed.

Do you have any idea what can be the reason for this?

PS: I’d like to confirm again, that I also have the regular latest version of Pinegrow (version 6.21) installed, in that connection works fine.

Thanks,  
Márton Lente

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [January 12, 2022, 7:18pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/5 "2022-01-12T19:18:34Z")

</div>

Hi @martonlente,  
I’m still not able to replicate the issue. Can you screenshot the notice? Given that you can connect Pinegrow to Atom I don’t think it can be anything in your settings. Are there any Devtool messages?  
Cheers,  
Bob

---

<div class="post-metadata">

**Author:** ![TechAkayy](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@TechAkayy](https://forum.pinegrow.com/u/TechAkayy)\
**Post date:** [January 12, 2022, 9:50pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/6 "2022-01-12T21:50:34Z")

</div>

Hi @martonlente,

What’s your Pinegrow internal server port number? Different from the default 40000?

Also, have you got both Pinegrow stable & liv version open the same time? Do you face the issue if you have only one of them open?

---

<div class="post-metadata">

**Author:** ![martonlente](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/martonlente/32/5800_2.png) [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Post date:** [January 13, 2022, 10:53am UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/7 "2022-01-13T10:53:24Z")

</div>

Hello,

Thanks for the tips!

@RobM I’m sending a screenshot about the notice. (It happens exactly when I’m doing anything in Pinegrow Live.)

 ![TinyTake_13-01-2022-11-47-15](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/4/4b951cd24bf6e741f8eceba59b09aeb773df3d58.png)

@TechAkayy the URL that’s setup in Atom to access Pinegrow API is the default, which is [http://127.0.0.1:40000](http://127.0.0.1:40000) . The connection works fine with both versions, but in Pinegrow Live the issue above exists. To me it seems, only the first Pinegrow instance I launch connects to Atom – so that it doesn’t matter if both software are open at the same time or not (only one of them is connected).

Thanks,  
Márton Lente

---

<div class="post-metadata">

**Author:** ![TechAkayy](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@TechAkayy](https://forum.pinegrow.com/u/TechAkayy)\
**Post date:** [January 13, 2022, 11:44am UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/8 "2022-01-13T11:44:38Z")

</div>

> [@martonlente](#):
>
> To me it seems, only the first Pinegrow instance I launch connects to Atom – so that it doesn’t matter if both software are open at the same time or not (only one of them is connected).

Thanks @martonlente for the details, but just to re-confirm - you did have only pinegrow live open (and not the regular pinegrow app) and still getting the above error? Also, did you get the “Connected to Pinegrow” info message at the start?

In Pinegrow console, what do you get for - pinegrow.getApiUrl() ?

---

<div class="post-metadata">

**Author:** ![martonlente](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/martonlente/32/5800_2.png) [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Post date:** [January 15, 2022, 7:02pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/9 "2022-01-15T19:02:00Z")

</div>

Hello @TechAkayy ,

Thanks for your ongoing support! I can confirm both are correct, yes –

> [@TechAkayy](#):
>
> just to re-confirm - you did have only pinegrow live open (and not the regular pinegrow app) and still getting the above error? Also, did you get the “Connected to Pinegrow” info message at the start?

I’m not sure how I could access Pinegrow console – can you help me, please? I remember there was a Chromium DevTools integrated to PG in earlier versions, that also came with a JS console, but I thought it’s no longer part of the software. Or do you reference something else?

Do you think uninstalling Pinegrow desktop, and reinstalling Pinegrow Live only would be worth a try?

Thanks,  
Márton Lente

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [January 15, 2022, 7:05pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/10 "2022-01-15T19:05:52Z")

</div>

Hi @martonlente,  
You can get the DevTools by right-clicking on the Pinegrow logo in the upper-left and then selecting Inspect.  
Cheers,  
Bob

---

<div class="post-metadata">

**Author:** ![martonlente](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/martonlente/32/5800_2.png) [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Post date:** [January 22, 2022, 1:43pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/11 "2022-01-22T13:43:33Z")

</div>

Hello,

Sorry for my late response. In-between I tried uninstalling Pinegrow Desktop entirely, and reinstalling Pinegrow Live with no luck – the problem is still present.

Thanks @RobM for letting me know how I can access DevTools. @TechAkayy, the console does throw the following error, when the issue happens:  
_node exception Error: ENOENT: no such file or directory, open ‘C:\Program Files\Pinegrow Web Editor Live\lib\crsa\pg-parser.js’_

Do you have an idea how I could fix this? Is the referenced file maybe missing from the Live installer?

Thanks,  
Márton Lente

---

<div class="post-metadata">

**Author:** ![martonlente](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/martonlente/32/5800_2.png) [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Post date:** [February 3, 2022, 11:50am UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/12 "2022-02-03T11:50:15Z")

</div>

Hello,

Update: By manually copying the file _‘pg-parser.js’_ from Pinegrow desktop’s Program files folder to Pinegrow Live’s Program files folder (recreating the same folder structure _‘lib/crsa’_), the issue seems to be resolved.

FYI Pinegrow Live’s Program files folder doesn’t have the _‘lib’_ folder at all by default.

@matjaz is it possible, that the file above is missing from Pinegrow Live’s installer? The fix above works, but is quite dirty – it’d be good to find a cleaner solution, that works out of the box.

I’m on Windows 11 Pro.

Thanks,  
Márton Lente

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [February 3, 2022, 7:30pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/13 "2022-02-03T19:30:22Z")

</div>

@martonlente thank you for debugging the problem. PG live doesn’t install code files locally by design, and instead load them from the server. I will change the code that sends the pg-parser.js to Atom and VS Code plugins to account for this.

---

<div class="post-metadata">

**Author:** ![martonlente](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/martonlente/32/5800_2.png) [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Post date:** [February 3, 2022, 8:38pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/14 "2022-02-03T20:38:37Z")

</div>

Great, thanks @matjaz in advance!

Kind regards,  
Márton Lente

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [February 3, 2022, 8:54pm UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/15 "2022-02-03T20:54:02Z")

</div>

PG Live is now fixed and updated. Just restart it to get the latest version.  
Thanks 🙂  
Matjaz

---

<div class="post-metadata">

**Author:** ![martonlente](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/martonlente/32/5800_2.png) [@martonlente](https://forum.pinegrow.com/u/martonlente)\
**Post date:** [February 4, 2022, 8:13am UTC](https://forum.pinegrow.com/t/pinegrow-live-doesnt-work-with-atom/6133/16 "2022-02-04T08:13:44Z")

</div>

Wow, it was quick – tested, and perfectly works now. Thanks so much! 🙂

Kind regards,  
Márton Lente
