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.

(MacOS) "Failed to parse extension manifest" error on start

See original GitHub issue

NWJS Version : 0.38.4 Operating System : MacOS 10.14.5

Expected behavior

App should start without errors on the minimal configuration. (Alt: The Getting Started Guide should provide a stable configuration.)

Actual behavior

When following the steps on the Getting Started Guide and creating an app with the minimal configuration, the user is presented with this error as the app starts through the nw command.

$ nw .
[43133:775:0605/113822.785993:ERROR:component_loader.cc(167)] Failed to parse extension manifest.

Note: nw seems to start as intended except for the error.

How to reproduce

Create a new project folder with two files:

package.json:

{
  "name": "helloworld",
  "main": "index.html"
}

index.html:

<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>
  </head>
  <body>
    <h1>Hello World!</h1>
  </body>
</html>
  1. Install NW.js through npm i -g nw or through downloading it from the website.
  2. In the project dir run nw .
  3. Notice how NW starts as usual.
  4. The error appears in the terminal:
    [43133:775:0605/113822.785993:ERROR:component_loader.cc(167)] Failed to parse extension manifest.
    

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:24
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
vonEdfacommented, Sep 26, 2019

@AndikaTanpaH I still have it. I think you’re correct with the normal flavor as that seems to be the one npm gives me. I’m not sure as I’m still too new to nw to know how to check…

0reactions
rogerwangcommented, Oct 1, 2020

This is fixed in git and will be available in the next nightly build.

Read more comments on GitHub >

github_iconTop Results From Across the Web

(MacOS) "Failed to parse extension manifest" error on start
Install NW.js through npm i -g nw or through downloading it from the website. · In the project dir run nw . ·...
Read more >
"Failed to parse extension manifest." appears in the first few ...
I added some logging and got: [8300:8300:1206/163631.970222:ERROR:component_loader.cc(173)] Failed to parse extension manifest.
Read more >
Safari Web Extension Converter cannot parse manifest.json
I have macOS Catalina 10.15.7 and Safari 14. I am trying to convert a chrome extension. However I get the error: Unable to...
Read more >
SPM fails to parse manifest with no error - Swift Forums
I'm using the 5.3 release version of the CentOS 7 swift bundle with the package.swift file shown below. I can build this on...
Read more >
Chrome says my extension's manifest file is missing or ...
Open Windows Explorer · Go to Folder and Search Options > View tab · Uncheck Hide extensions for known file types.
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found