Last 12 weeks · 0 commits
4 of 6 standards met
Repository: sindresorhus/file-icon. Description: Get the icon of a file or app as a PNG image (macOS) Stars: 218, Forks: 25. Primary language: JavaScript. Languages: JavaScript (52.9%), Swift (32.9%), TypeScript (14.2%). License: MIT. Topics: app, file, icon, image, macos, nodejs, path, png, swift. Latest release: v6.0.0 (5mo ago). Open PRs: 0, open issues: 0. Last activity: 5mo ago. Community health: 71%. Top contributors: sindresorhus, jgradim, RiftLurker, mreid-tt, SamVerschueren.
JavaScript
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/yaoyongze/Desktop/electron-projects/lynn-electron/node_modules/file-icon/index.js from /Users/yaoyongze/Desktop/electron-projects/lynn-electron/dist/electron/daemon/image-cache.js not supported. Instead change the require of index.js in /Users/yaoyongze/Desktop/electron-projects/lynn-electron/dist/electron/daemon/image-cache.js to a dynamic import() which is available in all CommonJS modules. at c._load (node:electron/js2c/node_init:2:13672) at Object. (/Users/yaoyongze/Desktop/electron-projects/lynn-electron/dist/electron/daemon/image-cache.js:20:21) at c._load (node:electron/js2c/node_init:2:13672) at Object. (/Users/yaoyongze/Desktop/electron-projects/lynn-electron/dist/electron/electron.js:13:23) at c._load (node:electron/js2c/node_init:2:13672) ^C/Users/yaoyongze/Desktop/electron-projects/lynn-electron/node_modules/electron/dist/Electron.app/Contents/MacOS/Electron exited with signal SIGINT