Electron-packager bluid get errors


I’m in platform windows 10

My app is total fine with command:
PS W:\myapp> election .

But, when I use this command to build:
PS W:\myapp> electron-packager ./ --all

get errors:
throw err;

Error: Cannot find module 'package.json’
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at getNameAndVersion (C:\Users\kiochan\AppData\Roaming\npm\node_modules\electron-packager\index.js:52:13)
at packager (C:\Users\kiochan\AppData\Roaming\npm\node_modules\electron-packager\index.js:207:3)
at Object. (C:\Users\kiochan\AppData\Roaming\npm\node_modules\electron-packager\cli.js:22:1)
at Module._compile (module.js:409:26)
at Object.Module._extensions…js (module.js:416:10)
at Module.load (module.js:343:32)

code in my package.json
“name”: “myapp”,
“version”: “0.1.0”,
“main”: “main.js”

my work dir
| |-main.html

and I installed electron-packager globle

PS W:> node -v
PS W:> npm -v
PS W:> electron -v

I dont understand why find module 'package.json’
it is not even a module xD
where is going worng?