learn you some erlang 5번째 발표
- chapter 25. Bears, ETS, Beets
- chapter 26. Distribunomicon
- chapter 27. Distributed OTP Applications
- chapter 28. Common Test for Uncommon Tests
requires node.js, now
$ yarn
$ yarn start
$ yarn deploy
아래와 같은 오류로 yarn build
실패시,
[err] TypeError: Cannot read property 'update' of null
at new InnerCodeSurfer (/Users/chitacan/playground/lyse-3/node_modules/mdx-deck-code-surfer/dist/deck-code-surfer.js:93:30)
at processChild (/Users/chitacan/playground/lyse-3/node_modules/react-dom/cjs/react-dom-server.node.development.js:2750:14)
at resolve (/Users/chitacan/playground/lyse-3/node_modules/react-dom/cjs/react-dom-server.node.development.js:2716:5)
at ReactDOMServerRenderer.render (/Users/chitacan/playground/lyse-3/node_modules/react-dom/cjs/react-dom-server.node.development.
js:3100:22)
at ReactDOMServerRenderer.read (/Users/chitacan/playground/lyse-3/node_modules/react-dom/cjs/react-dom-server.node.development.js
:3059:29)
at renderToString (/Users/chitacan/playground/lyse-3/node_modules/react-dom/cjs/react-dom-server.node.development.js:3526:27)
at renderHTML (/Users/chitacan/playground/lyse-3/node_modules/mdx-deck/lib/html.js:65:16)
at process._tickCallback (internal/process/next_tick.js:68:7)
error Command failed with exit code 1.
pomber/code-surfer#8 (comment) 적용
edit
node_modules/mdx-deck/lib/html.js
config.externals = [ nodeExternals({ whitelist: [ 'mdx-deck', 'mdx-deck/themes', - 'mdx-deck/layouts' + 'mdx-deck/layouts', + 'mdx-deck-code-surfer' ] }) ]