Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60020 - [electron] The electron node mode module is not packaged

Attached to Project: Community Packages
Opened by Filipe LaĆ­ns (FFY00) - Tuesday, 11 September 2018, 17:14 GMT
Last edited by Nicola Squartini (tensor5) - Sunday, 10 November 2019, 02:11 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Nicola Squartini (tensor5)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

We don't package the electron node module. Is this intended?

This results in errors like this:


module.js:545
throw err;
^

Error: Cannot find module 'electron'
at Function.Module._resolveFilename (module.js:543:15)
at Function.Module._load (module.js:473:25)
at Module.require (module.js:586:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/lib/code/app/code-test.js:3:15)
at Object.<anonymous> (/usr/lib/code/app/code-test.js:30:3)
at Module._compile (module.js:642:30)
at Object.Module._extensions..js (module.js:653:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:504:12)
This task depends upon

Closed by  Nicola Squartini (tensor5)
Sunday, 10 November 2019, 02:11 GMT
Reason for closing:  No response
Comment by Nicola Squartini (tensor5) - Friday, 12 October 2018, 15:03 GMT
Hi, can you attach the failing JS?

I tried this on my terminal:

$ electron -i
> require('electron')
{ clipboard: [Getter],
crashReporter: [Getter],
nativeImage: [Getter],
shell: [Getter],
app: [Getter],
autoUpdater: [Getter],
BrowserView: [Getter],
BrowserWindow: [Getter],
contentTracing: [Getter],
dialog: [Getter],
globalShortcut: [Getter],
ipcMain: [Getter],
inAppPurchase: [Getter],
Menu: [Getter],
MenuItem: [Getter],
net: [Getter],
Notification: [Getter],
powerMonitor: [Getter],
powerSaveBlocker: [Getter],
protocol: [Getter],
screen: [Getter],
session: [Getter],
systemPreferences: [Getter],
TouchBar: [Getter],
Tray: [Getter],
webContents: [Getter] }

Loading...