๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๐Ÿ“š Study Note/React

Toast ui editor - Failed to parse source map

by Jellll_y 2022. 8. 30.

๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์ •์ƒ์ ์œผ๋กœ ์„ค์น˜ํ•˜๊ณ  ๋ฒ„์ „ ์—๋Ÿฌ๋ฅผ ํ•ด๊ฒฐํ•˜๋‹ˆ

๋˜ ๋‹ค๋ฅธ ๋ฌธ์ œ์ ์ด ๋ฐœ์ƒํ•ฉ๋‹ˆ๋‹ค.

์ƒ ํ–‰ ํ•˜๋Š” ๋ฐ๋Š” ๋ฌธ์ œ์ ์ด ์—†์ง€๋งŒ.. ๊ณ„์† ๋ณด์ด๋Š” ๊ฒŒ ๋งˆ์Œ์— ์•ˆ ๋“ค์–ด์„œ ์ˆ˜์ •ํ•ด ๋ด…๋‹ˆ๋‹ค.

 

์ด ๊ฐ™์€ ๋ฌธ์ œ๋Š” toast ui editor ๊นƒ ํ—™ ์ด์Šˆ์—๋„ ์˜ฌ๋ผ์™€ ์žˆ๋Š”๋ฐ์š”

https://github.com/nhn/tui.editor/issues/2137

 

Failed to parse source map (@toast-ui/editor/dist/purify.js.map) · Issue #2137 · nhn/tui.editor

Describe the bug Cant parse the source map for toast-ui/editor Compiled with warnings. Failed to parse source map from 'node_modules/.pnpm/@toast-ui+editor@3.1.1/node_modules/@toast-ui/editor/d...

github.com

์ด์Šˆ์— ์˜ฌ๋ผ์˜จ ๋ฐ๋กœ ์•„๋ž˜์™€ ๊ฐ™์ด scripts๋ฅผ ์ˆ˜์ •ํ•ด์„œ ์‹คํ–‰ํ•˜๋ฉด

์‹คํ–‰์ด ์•ˆ๋ฉ๋‹ˆ๋‹ค.

 

๊ทธ๋ž˜์„œ ์•Œ์•„๋ณด๋‹ˆ  ๊ทธ๊ฒƒ์€ mac์—์„œ๋งŒ ๊ฐ€๋Šฅํ•˜๊ณ  windows์—์„œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด ์ถ”๊ฐ€ํ•ด์„œ 

scripts๋ฅผ ์ˆ˜์ •ํ•ด ์ฃผ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

๊ทธ๋Ÿผ ์‹คํ–‰๋„ ์ •์ƒ์ ์œผ๋กœ ๋˜๊ณ  ๋ฐœ์ƒํ•˜๋˜ ๊ฒฝ๊ณ ๋ฌธ๋„ ๋ณด์ด์ง€ ์•Š์Šต๋‹ˆ๋‹ค.