Missing dock.node file on newer RStudio version

I updated Rstudio and now I get this error when I try to open the program.

Error: Cannot find module 'C:\Program Files\RStudio\resources\app.webpack\main/native_modules/dock.node'

I have an earlier version of RStudio on another machine, and it does have this "dock.node" file and opens up just fine. Why is this missing from the later RStudio release?

1 Like

I just downloaded and installed the current release for Windows (2023.12.0+369) and the dock.node file was installed, and RStudio starts.

Maybe try downloading again and reinstalling and see what happens?

https://download1.rstudio.org/electron/windows/RStudio-2023.12.0-369.exe

I just tried version 2023.12.0+369 and I still get the same error. I looked in the 'native_modules' folder and I do not see a 'dock.node' file. I only see a 'desktop.node' file.

Error: Cannot find module 'C:\Program Files\RStudio\resources\app.webpack\main/native_modules/dock.node'

I am also getting the same issue on my new laptop (64x bit) when attempting to open RStudio version 2023.12.0+369 after it has downloaded. Attached is a picture of the error.

Note: Ran into the same issue yesterday, Uninstalled and re-downloaded with no luck,

Using the most recent daily build worked for me: Daily Builds Found here

It looks like (from previous posts) that the best solution is to download an earlier version of R Studio:

If you scroll to the way bottom of RStudio Download folder: https://posit.co/download/rstudio-desktop/

You can find a link to Older Versions - Posit Documentation

From there you will have to click "View Previous Versions" under "RStudio IDE/ Workbench".

Then click the "installers" under the date you want:

  • I was not able to get 2023.09.1 or 2023.06.1 working (same issue)

This is being tracked here: [Bug] Cybersecurity Concern with Rstudio Desktop 2023.09.01 and 2023.09.1+494 · Issue #13864 · rstudio/rstudio · GitHub

It appears to be the result of some antivirus programs flagging this file as a security risk due it having been built with an older version of webpack. We upgraded webpack for 2023.12.0, but apparently that wasn't enough.

This isn't an actual security concern, it is a false positive (see comments in the issue).

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.