Skip to content
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

electron-tooltip.html not found #4

Open
david-maus opened this issue Aug 4, 2019 · 3 comments
Open

electron-tooltip.html not found #4

david-maus opened this issue Aug 4, 2019 · 3 comments

Comments

@david-maus
Copy link

Hi,

I'm using vue-cli-plugin-electron-builder and the module is not working.

My App.vue file as an example with following code under the script tag:

const tooltip = require('electron-tooltip')
tooltip()

Error message:

***path deleted***\node_modules\electron\dist\resources\electron.asar\renderer\callbacks-registry.js:47 Uncaught (in promise) Error: ERR_FILE_NOT_FOUND (-6) loading 'file:///***path deleted***/node_modules/electron/dist/resources/electron.asar/renderer/electron-tooltip.html'
    at rejectAndCleanup (***path deleted***\node_modules\electron\dist\resources\electron.asar\browser\navigation-controller.js:72:21)
    at WebContents.failListener (***path deleted***\node_modules\electron\dist\resources\electron.asar\browser\navigation-controller.js:82:11)
    at WebContents.emit (events.js:194:13)

Any ideas or workarounds in mind?

Best regards
David

@sarajbosna2012
Copy link

same here electron/js2c/renderer_init.js:1522 Uncaught (in promise) Error: ERR_FILE_NOT_FOUND (-6) loading 'file://electron-tooltip.html/'
at rejectAndCleanup (electron/js2c/browser_init.js:5802)
at WebContents.failListener (electron/js2c/browser_init.js:5812)
at WebContents.emit (events.js:203)

return (

{/* data-tooltip="Preview" */}
{__('drag_files')}

)

const tt = require('electron-tooltip')
tt({
position: 'bottom',
width: 200,
style: {
backgroundColor: '#f2f3f4',
borderRadius: '4px'
}
})

tasklist.tsx

@mdings
Copy link
Owner

mdings commented Feb 20, 2020

It’s been a while since I created this plugin but I notice it’s gaining traction again from the community. Let me take some time to update this plugin over the coming weeks and see what issues can easily be addressed

@mcfaith9
Copy link

mcfaith9 commented Aug 1, 2023

Hey @mdings , I like this plugin, hopefully there will be update soon :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants