question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

COM Error on Windows

See original GitHub issue

Hi,

I get this error when i try to run npm run build from a Vue project

C:\Users\xxx\Desktop\Renka\page\node_modules\prerender-spa-plugin\lib\compile-to-html.js:80
                    if (stderr) throw stderr
                                ^
 SetProcessDpiAwareness failed: "COM error 0x80070005  (Unknown error 0x0ffffffff80070005)"

//In my Productions config

  new PrerenderSpaPlugin(
      Path.join(__dirname, '../dist'),
      [ '/' ]
    )

i use: "prerender-spa-plugin": "^1.1.0",

Windows 10

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisvfritzcommented, Sep 12, 2016

@cannap Thanks for reporting back! This seems to be a PhantomJS bug on Windows that they’re still working out.

0reactions
cnweibocommented, Oct 10, 2017

@chrisvfritz ,i have the same issue on windows build. Unfortunately, another windows 7 pc works well, i do not know how to debug it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

COM Error Codes - Win32 apps - Microsoft Learn
The following topics provide lists of error codes used by COM-based APIs. These values are defined in the Winerror.h header file.
Read more >
How to Fix the DistributedCOM Error 10016 in Windows 10
1. Edit the Windows Registry to Fix DCOM Error 10016 · Type in 'registry' in your Start Menu search bar, and select the...
Read more >
How to Fix the DistributedCOM Error in Windows
1. Install Windows Updates · 2. Temporarily Disable Your Antivirus · 3. Ensure You Actually Have Permission · 4. Bypass the Error ·...
Read more >
Error Messages Display on a Blue Screen (Windows 10)
1. In Windows, search for and open View advanced system settings. 2. In the Startup and Recovery section, click Settings. 3. Remove the...
Read more >
Exit Status 5: Access Is Denied. What Is It & How to Fix It
Disabling your antivirus is one effective way to fix this issue · Today we'll show you how to fix Error 5: Access is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Hashnode Post

No results found