Yousef Mahmoud
Yousef Mahmoud

Reputation: 11

In Git Bash, the command `npm start` returns an error

I’m using Windows 10 64 bit and VSCode.

package.json:

{
  "name": "shopping-list",
  "version": "1.0.0",
  "description": "shopping list desktop app",
  "main": "main.js",
  "scripts": {
    "start": "electron ."
  },
  "author": "YousefMahmoud",
  "license": "MIT",
  "dependencies": {
    "electron": "^4.0.2"
  }
}

See the screenshot of the error:

screenshot of error

Upvotes: 0

Views: 330

Answers (1)

VonC
VonC

Reputation: 1329092

When you see a filled dot in front of a file name in Visual Studio Code, that means the file is modified, but not yet saved on the disk.

Make sure to "Save All" files first, then try again your command.

Upvotes: 1

Related Questions