๐Ÿ’ป๊ธฐ์ˆ /์—๋Ÿฌ์™€์˜ ์ „์Ÿ

    [ NodeJS ] TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".json" ์—๋Ÿฌ

    ํ•ด๊ฒฐ๋ฐฉ๋ฒ• ํ•ด๊ฒฐ๋ฐฉ๋ฒ•์€ ์ •๋ง ๊ฐ„๋‹จํ•˜๋‹ค. node --experimental-json-modules app.js ๋งŒ ๋ถ™์—ฌ์ฃผ๊ณ  ์‹คํ–‰ํ•˜๋ฉด ๋œ๋‹ค.

    [ Webpack5 ] export 'default' was not found in ์—๋Ÿฌ

    ERROR in ./frontend/public/js/handle.js 10:0-31 export 'default' (reexported as 'Feeds') was not found in './feeds.js' (possible exports: Feeds) webpack 5.72.0 compiled with 1 error in 112 ms ์›นํŒฉ์—์„œ ํด๋ž˜์Šค๋ฅผ ์ž„ํฌํŠธ ํ•  ๋•Œ ์œ„์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋œฐ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์ด๋•Œ ์ž„ํฌํŠธ ํ•  ํด๋ž˜์Šค๋ฅผ export default class๋กœ ์„ค์ •ํ•ด์ฃผ์‹œ๋ฉด ์—๋Ÿฌ๊ฐ€ ํ•ด๊ฒฐ๋ฉ๋‹ˆ๋‹ค. โŒ ์—๋Ÿฌ ์ฝ”๋“œ export class Feeds { constructor(token) { this.token = token } ... } ๐Ÿ‘ ์ˆ˜์ • ์ฝ”๋“œ export default class Feeds { ..

    [ NodeJS ] fs ๋ชจ๋“ˆ ENOTEMPTY: directory not empty, rmdir ์—๋Ÿฌ

    fs๋ชจ๋“ˆ์—์„œ ํด๋”๋ฅผ ์‚ญ์ œํ•˜๊ณ  ์‹ถ์„ ๋•Œ ์‚ฌ์ง„๊ณผ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋œจ๋ฉฐ ์ •์ƒ์ ์œผ๋กœ ์‚ญ์ œ๋˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ์—๋Ÿฌ ํ™”๋ฉด์—์„œ ๋ณผ ์ˆ˜ ์žˆ๋“ฏ์ด ํด๋” ๋‚ด์— ํŒŒ์ผ์ด ์žˆ์œผ๋ฉด ์—๋Ÿฌ๋ฅผ ๋ฟœ๊ฒŒ ๋ฉ๋‹ˆ๋‹ค. ์ด๋•Œ ๊ฐ•์ œ์ ์œผ๋กœ ์ œ๊ฑฐํ•  ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ์Šต๋‹ˆ๋‹ค. fs.rmdir(directory, { recursive: true, force: true }, (error) => { if (error) { return { isremoved: 0 } } else { return { isremoved: 1 } } }); { recursive: true, force: true } ๋ฅผ ์„ค์ •์œผ๋กœ ์ถ”๊ฐ€ํ•ด์ฃผ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

    [ docker ] one of the sub-processes failed: com.docker.driver.amd64-linux -addr fd:3 -debug ์—๋Ÿฌ

    ์˜ค๋žœ๋งŒ์— ๋งฅ๋ถ์—์„œ ๋„์ปค๋ฅผ ์‹คํ–‰์‹œ์ผฐ๋Š”๋ฐ ์•ž์„  ์—๋Ÿฌ๊ฐ€ ๋œจ๋ฉฐ ๋„์ปค๊ฐ€ ์‚ฐ์‚ฐ์กฐ๊ฐ ๋‚˜๋ฒ„๋ ธ๋‹ค(..) ๋ฆฌ์…‹๋„ ํ•ด๋ณด๊ณ  brew๋กœ ๋ฎ์–ด ์”Œ์šฐ๋ผ๊ณ  ํ•ด์„œ ์ด๊ฒƒ์ €๊ฒƒ ๋‹ค ํ•ด๋ณด์•˜์ง€๋งŒ ์—ฌ์ „ํžˆ ์‹คํ–‰๋˜์ง€ ์•Š์•˜๋‹ค. 1. ์ตœํ›„์˜ ์ˆ˜๋‹จ (์žฌ์„ค์น˜) ์‚ฌ์‹ค ๋„์ปค์— ์ค‘์š” ๋ฐ์ดํ„ฐ๊ฐ€ ์—†๊ณ  ๋‹ค ๋‚ ๋ผ๊ฐ€๋„ ๋ณต๊ตฌ ๊ฐ€๋Šฅํ•˜๋‹ค๋Š” ์ „์žฌ ํ•˜์— ๊ฐ€์žฅ ์ข‹์€ ๋ฐฉ๋ฒ•์€ ์žฌ์„ค์น˜์ด๋‹ค. https://docs.docker.com/desktop/mac/release-notes/ Docker Desktop for Mac release notes docs.docker.com ์นฉ ์ข…๋ฅ˜์— ๋งž๋Š” ์„ค์น˜ ํŒŒ์ผ์„ ๋‚ด๋ ค๋ฐ›์€ ํ›„ ์‹คํ–‰์‹œ์ผœ์ค€๋‹ค. (๊ฐ„๋‹จ)

    [ JS ์—๋Ÿฌ ] Uncaught TypeError: Failed to execute 'insertAdjacentElement' on 'Element': parameter 2 is not of type 'Element'.

    I. ์—๋Ÿฌ ์ƒ๊ฐ๋ณด๋‹ค ์‹ฌ์‹ฌ์ฐฎ๊ฒŒ ๋ณผ ์ˆ˜ ์žˆ๋Š” ๊ท€์—ฌ์šด ์—๋Ÿฌ์ž…๋‹ˆ๋‹ค. ์—ฌ๋Š ๋•Œ์™€ ๋งˆ์ฐฌ๊ฐ€์ง€๋กœ ์Šคํƒ์˜ค๋ฒ„ํ”Œ์— ๋“ฑ์žฌ(?)๋˜์–ด ์žˆ๋Š”๋ฐ ๋งํฌ๋Š” ์•„๋ž˜ ์ฒจ๋ถ€ํ•ด๋‘๊ฒ ์Šต๋‹ˆ๋‹ค. II. ํ•ด๊ฒฐ๋ฐฉ๋ฒ• div.insertAdjacentElement ๋ฅผ div.insertAdjacentHTML ๋กœ ๋ณ€๊ฒฝํ•ด์ฃผ๋ฉด ๋ฉ๋‹ˆ๋‹ค. https://stackoverflow.com/questions/42628635/element-insertadjacenthtml-api-throws-error-in-chrome-55-0-2883-87 Element.insertAdjacentHTML() API throws error in chrome 55.0.2883.87 I found the explaination about the API here, which tells me th..

    [ ์ฃผํ”ผํ„ฐ๋…ธํŠธ๋ถ ] ERROR: the notebook server could not be started because no available port could be found ํ•ด๊ฒฐ

    ์ฃผํ”ผํ„ฐ ๋…ธํŠธ๋ถ์ด ๋˜ ๋ง์ฝ์ด๋‹ค. ํฌํŠธ ๊ถŒํ•œ ๋ฌธ์ œ๋กœ ๋‹ค๋ฅธ ํฌํŠธ๋ฅผ ํ• ๋‹นํ•ด์ฃผ๋ฉด ๋œ๋‹ค. jupyter-notebook --ip=localhost --port=10023 ๋กœ ํ•ด๊ฒฐํ•˜๋ฉด ๋œ๋‹ค.

    [ Nodejs ] Cannot destructure property 'name' of 'node' as it is null ์—๋Ÿฌ

    I. ๋ฌธ์ œ npm ERR! code ERESOLVE npm ERR! Cannot destructure property 'name' of 'node' as it is null. npm install ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜๋‹ˆ ์œ„์™€๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋‚˜์˜ค๊ฒŒ ๋ฉ๋‹ˆ๋‹ค. ๊ตฌ๊ธ€์— ๊ฒ€์ƒ‰ํ•ด๋ณด๋‹ˆ https://stackoverflow.com/questions/65724281/cannot-destructure-property-name-of-node-as-it-is-null Cannot destructure property 'name' of 'node' as it is null when I want to install dependencies of the aurelia project, got this error: npm ERR! code 1..

    pipework ์„ค์น˜๊ฐ€ ์•ˆ๋  ๋•Œ

    sudo git clone https://github.com/jpetazzo/pipework.git sudo cp -rp pipework/pipework /usr/local/bin/ sudo apt-get install arping bridge-utils -y ๋ฅผ ์ž…๋ ฅํ•ด์ฃผ๋ฉด ํ•ด๊ฒฐ๋ฉ๋‹ˆ๋‹ค. ์—๋Ÿฌ๋‚ด์šฉ