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.

Getting Started Guide is broken

See original GitHub issue

Hey guys,

the Getting Started Guide and the package.json manifest format is still broken.

If you follow the steps of the latest tutorial, you will get some errors: http://docs.nwjs.io/en/latest/For Users/Getting Started/#write-nwjs-app

Questions:

  • How to start an nwjs App now, if not with the index.html as an entry point?
  • The nw binary assumes an index.js file as an entry point, otherwise the token “<!doctype …” will result in an error when loading an index.html as in older versions.
  • Is there a complete package.json example available with ALL possible settings?

When loading a folder directly via “nw /path/to/directory” you will get an [18624:18624:0812/162308:ERROR:component_loader.cc(168)] Failed to parse extension manifest. error without any clue on what’s going on or what the error actually is.

Version 0.16.1 OS Ubuntu GNU/Linux Arch amd64 Self-compiled? No, used binaries from website directly.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
boguzcommented, Oct 11, 2019

i think it would also be useful to explain how to install nw. It says on top of the Getting Started page where you can download it, but it never tells you what to do with it afterward. (or did i miss that?) Maybe even an example on how to install it using npm…?

2reactions
vonEdfacommented, Jun 5, 2019

Slight necro, but I have this on MacOS. (NW.js version 0.38.4)

package.json:

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

index.html

<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>
  </head>
  <body>
    <h1>Hello World!</h1>
  </body>
</html>

(Copy pasted from the getting started guide)

Starting with nw . seems to work fine, but outputs the error in the terminal:

[43051:775:0605/112150.361560:ERROR:component_loader.cc(167)] Failed to parse extension manifest.

Want me to create a new issue or should we keep it here?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Started Guide | Segment Documentation
The guide is broken into three categories of tasks: Basics: These tasks allow you to send and debug your first data through Segment....
Read more >
Getting started guides for your clients - SimplePractice Support
These guides provide instructions on how to log into and use the Client Portal and how to get started with Telehealth.
Read more >
Welcome to the Consulting Getting Started Guide!
This Getting Started Guide is broken this guide down into four key sections: Intro to the consulting industry; Case interview fundamentals ...
Read more >
Getting started guide - FreeStyle Libre
Inside, you'll find everything you need to start managing your diabetes with the accurate,1 convenient, and user-friendly continuous glucose monitoring (CGM) ...
Read more >
Quick Start Guide - RTL-SDR
Quick Start Guide. This page is a guide aimed at helping anyone set up a cheap radio scanner based on the RTL-SDR software...
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