-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
in browser exercises??? #608
Comments
I think the last build which is hosted on https://mostly-adequate.gitbook.io/ is broken. In each chapter there is only 1st page available, the rest are blank. ping @DrBoolean |
I also don't know what I'm missing. I also tried running this locally and though I see all the functions in the support index.js, I can't run that locally. Not sure if I should just hack together an html page so I can do it in the console. ¯_(ツ)_/¯ |
Yes indeed, in-browser exercises seem to no longer work since the update to the new gitbook platform. That's a pity. This was using a plugin which may no longer be supported. The section will need to be rephrased until a new way to embed in-browser exercises is found.
The whole chapter is actually available on the first page but for some reason, Gitbook is creating new blank pages for anchors of the chapter. This is perhaps a configuration setting which has to be done differently with the new Gitbook we recently switched over to. Thanks for reporting, I'll give it a look. |
also in CH08 last exercise is missing a piece, the real question though 🤣 |
@KtorZ isn't there a way to just preload all the functions by sourcing the JS in the HTML? That would make it so you could just do all the exercises in the console. |
If anything, It is possible to do the exercise in the terminal with node.js. |
@KtorZ, not really actually. There is a problem with dependencies versions. You will get "devDependencies": {
"cli": "^1.0.1",
"eslint": "7.26.0",
"eslint-config-airbnb": "18.2.1",
"eslint-plugin-import": "2.23.2",
"eslint-plugin-jsx-a11y": "6.4.1",
"eslint-plugin-react": "7.23.2",
"live-server": "1.2.1",
"mocha": "8.4.0"
} |
Even after updating the versions and installing the tests are not working correctly, they always fail even when correct... Edit: if i set node version to 10.22.1 they work. |
Thanks! I downgraded from |
In chapter 5 (curry), you first encounter exercises. The section states:
Maybe I'm missing something, but I don't see any way to do these in browser. It mentions an "embedded editor" but I'm not seeing one...
Wondering if this is an outdated / no longer supported feature of gitbook?
The text was updated successfully, but these errors were encountered: