External scripts don't work at all
See original GitHub issueI’ve searched all the docs and blogs on Hubot i could find and dug through the code to figure this out, but i can’t seem to make external-scripts.json
work no matter what i do.
I have a *.coffee
file in my local /scripts
folder, specified it in in external-scripts.json
file, and upon running Hubot, he dies saying he can’t find the npm package.
Is there no way to just write a custom hubot script without putting it on npm or the hubot-scripts repo?
Issue Analytics
- State:
- Created 10 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Keeping javascript external - doesn't work - Stack Overflow
Wrap your code inside the dom ready event and it should work, Assuming your path to the external javascript file is correct. $(function(){...
Read more >Why is my external JavaScript file not working? - Quora
CTRL + SHIFT + DELETE and clear everything. · CTRL + SHIFT + N and new window will open so type the URL...
Read more >External script doesn't always load when added to Nuxt page ...
I expect the script to load and be available every time the page loads, regardless of whether it was served directly from the...
Read more >External Javascript file issue - The freeCodeCamp Forum
Most likely, the problem is that you are including your js file in a head tag or somewhere above your main content. By...
Read more >Why you shouldn't use external javascript files - : Blog - Elxis
Using external javascript files can be harmful to you and your site visitors. Many websites use javascript files located to an other domain....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try providing full system path to script in
external-scripts.json
. And it should look like this@jackmcdade i’ve added some notes here, so while PR is reviewed - you can check there