Page not found
If you see this page under http://localhost:4747, that means index.html file does not exists in the root of the package from which teleport was activated.
If you see this page under http://localhost:4747, that means index.html file does not exists in the root of the package from which teleport was activated.
This page is a playground. You can used javascript console to play with a modules from your package or it's dependencies. If you have not figured it yet, you need to activate Firebug or WebInspector, depending on the browser you are on. In some scenarios Firebug light might be a better option, if this is the case now please click following link to activate firebug light.
At this point you should be able to required module form your package with a following line in the javascript console:
var myModule = require'mypackage/mymodule'
Of course you can call functions exported by your module:
myModule.doSomething
Since modules are loaded asynchronously myModule
gets
all the exports in the future turn of event loop, for that reason
you should keep in mind that following will not work on the first
run (This applies only to in-console usage):
require'mypackage/mymodule' .doSomething