-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to use with commonjs #5
Comments
ok i think i got it, long winded but works!
|
Weird, it's definitely in the package: https://unpkg.com/browse/not-the-systray@0.3.1/ My best guess is that you're using a 32-bit node somehow? |
Nope I'm defo 100% using 64bit |
It won't with source checkouts, you need to manually What's the exact error message? Does the package.json in the downloaded package have version 0.3.1? If you run |
now thats weird, a fresh folder this morning, and now it has the EDIT: EDIT, EDIT: |
Weird. It could be a badly cached package (the .node file would be most of the size), or a virus scanner being too aggressive or something. |
Hi All,
how do i use this with commonjs - node 16.5.0 ?
const { NotifyIcon, Icon, Menu } = require("not-the-systray");
just screamsError: Cannot find module './notify_icon.node'
i installed it via
npm install not-the-systray
it doesnt to have seem to of build the .node module thats required?
The text was updated successfully, but these errors were encountered: