Mikhael Pramodana
Mikhael Pramodana

Reputation: 163

electron-packager Cannot read property 'info' of undefined

I was trying to create package of legacy electron app using electron-packager but got an error like below. I have search several questions in stackoverflow with no luck.

electron-packager . MyApp --platform=win32 --arch=x64 --no-prune --overwrite --ignore=/node_modules

Packaging app for platform win32 x64 using electron v3.1.13
Cannot read property 'info' of undefined

Below are the installed package in the project:

+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]

Upvotes: 5

Views: 1989

Answers (3)

Mikhael Pramodana
Mikhael Pramodana

Reputation: 163

In the end I change tools and follow according to electron documentation about application packaging. I change to electron-forge and follow the steps. It works better than packager.

Upvotes: 0

Gabriel Glenn
Gabriel Glenn

Reputation: 1264

Same here, [email protected] caused the same issue for me.

From my side, I upgraded to [email protected] to made it working again. I did not find a related issue on GitHub.

Upvotes: 1

Gary Klasen
Gary Klasen

Reputation: 1070

[email protected] caused the same issue for me. A slight downgrade to [email protected] made it working again!

Upvotes: 4

Related Questions