'electron-packager' is not recognized as an internal or external command

后端 未结 6 1505
臣服心动
臣服心动 2021-02-05 16:43

I recently started using electron. I have successfully completed the 1st phase by creating a hello world app (included files index.html, main.js, package.json). Now I am trying

6条回答
  •  闹比i
    闹比i (楼主)
    2021-02-05 17:21

    You've to install electron-packager globally, that's why it shows 'electron-packager' is not recognized as an internal or external command

    For this, you have to install electron-package globally

    You can install globally by using -g option.

    Example:- npm install -g electron-packager OR npm i -g electron-packager //i stands for install

提交回复
热议问题