Open Klap-in opened 2 years ago
Just a few thoughts:
The broken karma-qunit dependency looks like a bug to me. I think the dependencies need to be adjusted.
sh -c node build.js
This seems to be wrong, too. The repository does not contain any build.js
file. It was probably dropped when moving to gulp.
Looking at the build-icons
gulp task, it seems that it tries to build a custom icon font from the given SVG files. I wonder if it would be possible to use inline SVGs instead and thus not require a build process at all to customize the icons.
I try to use custom svg icons in the contextmenu. I try to understand how I could use this instruction (unfortunately I'm new to npm/node.js) https://swisnl.github.io/jQuery-contextMenu/docs/customize.html
In this issue I found the some practical steps: https://github.com/swisnl/jQuery-contextMenu/issues/492:
(installed node with as snap on my Ubuntu 20.04 system
sudo snap install node --classic --channel=16
)npm install results in:
After removing
"karma-qunit": "^4.0.0",
it makes more progress. karma-qunit latest version is 4.1.2, so I would guess it could be resolved, but I have no experience yet, so sure I overlooked the right bits.After that it throws:
Probably this is more miss understanding of the npm tool, and not so much jQuery-contextmenu. But external pointers are welcome.
Also
gulp build-icons
does not deliver. It proposesyarn add gulp
because no local gulp is found. Trying this, results in similar error and a lot of extra big amounts of logging of messages.. But as new user of these tools, I do not get the right gist from it.