Is there a problem in "window" in package.json
See original GitHub issue======== FORM ========
NWJS Version: 0.48.4 Operating System: windows 10 build 18362
Expected behavior
The window opened normally
Actual behavior
After a few minutes, the window didn’t appear
How to reproduce
-
- create an index.html and icon.svg
-
- create ‘package.json’ like this:
{
"name": "forum-desktop",
"title": "forum",
"main": "index.html",
"window":[
{
"width": 1024,
"height": 768,
"icon": "./icon.svg"
}
],
"maintainers":[{
"name": "System32",
"email": "3412913920@qq.com",
"web": "https://sysdl132.github.io"
}],
"licenses": [
{
"type": "GPLv2",
"url": "http://www.example.com/licenses/gpl.html"
}
]
}
-
- start the application
-
- Then I can’t start it
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Windows gives error with package.json file
Seems like there is an error in your package.json. The one in C:\Users\zm2759\AppData\Roaming\npm-cache\wordwrap\0.0.2\package\package.json ...
Read more >How Do I Fix Package.json Problems?
These package.json problems are generally caused by Windows 10 Operating System-related file corruption, or in some cases, if the file has been accidentally ......
Read more >[BUG] in package.json scripts on Windows, \n gobbles the ...
My environment is: Windows PowerShell 5.1.18362.752; npm 6.14.6; node v12.18.4. How. Current Behavior. Everything until the \n is executed.
Read more >package.json
This document is all you need to know about what's required in your package.json file. It must be actual JSON, not just a...
Read more >Create a package.json File
Running npm init you already have a package.json will attempt to update the existing file, instead of creating a new one. For example,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Blatman Did you mean this?
Knew it. I can use the PNG format.