Giter Site home page Giter Site logo

linonetwo / electron-ipc-cat Goto Github PK

View Code? Open in Web Editor NEW
18.0 2.0 2.0 627 KB

Passing object and type between Electron main process and renderer process simply via preload script.

Home Page: https://www.npmjs.com/package/electron-ipc-cat

License: MIT License

TypeScript 96.14% JavaScript 3.86%
electron ipc proxy preload remote main renderer

electron-ipc-cat's People

Contributors

linonetwo avatar quanglam2807 avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

electron-ipc-cat's Issues

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.


  • Check this box to trigger a request for Renovate to run again on this repository

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined 'electron-ipc-cat/package.json'

I'm unable to use this package

import { registerProxy } from 'electron-ipc-cat/server';

Causes:

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /Users/admin/code/botmain/client/app/node_modules/electron-ipc-cat/package.json at new NodeError (node:internal/errors:371:5) at throwExportsNotFound (node:internal/modules/esm/resolve:440:9) at packageExportsResolve (node:internal/modules/esm/resolve:692:3) at resolveExports (node:internal/modules/cjs/loader:489:36) at Function.Module._findPath (node:internal/modules/cjs/loader:529:31) at Module._resolveFilename (node:internal/modules/cjs/loader:926:27) at Function.n._resolveFilename (node:electron/js2c/browser_init:245:1105) at Module._load (node:internal/modules/cjs/loader:785:27) at Function.c._load (node:electron/js2c/asar_bundle:5:13343) at Module.require (node:internal/modules/cjs/loader:1012:19)

I've tried importing it every which way. Simply can't use it

Possible EventEmitter memory leak detected

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 SIGHUP listeners added to [process]. Use emitter.setMaxListeners() to increase limit

This is caused by listening to the same event multiple times. My colleague asks me to reuse event listener with the same event name.

Missing source map in compiled source

I got this warning when using [email protected] via npm

Failed to parse source map from '/home/runner/work/switchbar/switchbar/node_modules/electron-ipc-cat/src/common.ts' file: Error: ENOENT: no such file or directory, open '/home/runner/work/switchbar/switchbar/node_modules/electron-ipc-cat/src/common.ts'
Failed to parse source map from '/home/runner/work/switchbar/switchbar/node_modules/electron-ipc-cat/src/fixContextIsolation.ts' file: Error: ENOENT: no such file or directory, open '/home/runner/work/switchbar/switchbar/node_modules/electron-ipc-cat/src/fixContextIsolation.ts'
Failed to parse source map from '/home/runner/work/switchbar/switchbar/node_modules/electron-ipc-cat/src/utils.ts' file: Error: ENOENT: no such file or directory, open '/home/runner/work/switchbar/switchbar/node_modules/electron-ipc-cat/src/utils.ts'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.