-
Notifications
You must be signed in to change notification settings - Fork 93
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
Default yeoman project scaffolding for UI, throws error & on fix default bookmarklet fails #281
Comments
Hello @dom-devel. Dependencies of the yeoman scaffolder are quite old now. I need to check it to see what went wrong. Unfortunately I don't have time right now. Can you ping me next week so I investigate this? |
Yes no problem, thanks for the quick response, will do. If it helps here is the ui.js file which is causing the issues encase it's platform specific problem. https://drive.google.com/open?id=1ZQsW7pU6oJ7NkyXL1_y-xCm4IKWEkUOv |
@Yomguithereal Here's the ping I just remembered to send! |
I can't reproduce your error with a clean install on my end. But, if we read carefully the output of your shell we have:
So it seems you have a local version of gulp conflicting with the one installed globally. Maybe this is the crux of your problem. |
Revisiting this several months later with slightly more knowledge under my belt. Solving gulp errors unfortunately didn't fix my problem. I did manage to get past this error by commenting out the uglify steps from production in the gulp file. At that point I then get:
Which appears because then characters aren't correctly escaped (note the single slashes in the final call) -
Possibly because of removing uglify although unsure at this point if that is doing the converting to bookmarklet. I still can't this to work, I feel like I might've broken the bookmarklet conversion stage, but that's where I'm at. |
I'm having some problems trying to get the default bookmarklet with custom UI yeoman environment working. My JS isn't great and I'm struggling to be debug any further. Was hoping someone here might be able to help.
The default project with UI creates the following production bookmarklet (which I added in a
console.log("Hello world")
but otherwise didn't touch), doesn't print anything to the console.How did I get here?
I've followed the basic tutorial instructions:
But first the build fails:
Which after some debugging figured out was due to an invalid hex character in ui.js. I have no idea what it is however, but deleting and re-creating as test.js works fine.
At this point the build succeeds but as mentioned above generates a bookmarklet that does nothing.
Environment notes
The text was updated successfully, but these errors were encountered: