[Vue.js] URIError: Failed to decode param ‘/%3C%=BASE_URL%20%%3Efavicon.ico’ 오류가 발생한다.
아니 왜, 갑자기 favicon.ico 관련 URI오류가 발생하는 것일까??
URIError: Failed to decode param '/%3C%=BASE_URL%20%%3Efavicon.ico'
at decodeURIComponent (<anonymous>)
at decode_param (C:Workspacetestsrcvuenode_modulesexpresslibrouterlayer.js:172:12)
at Layer.match (C:Workspacetestsrcvuenode_modulesexpresslibrouterlayer.js:123:27)
at matchLayer (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:574:18)
at next (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:220:15)
at expressInit (C:Workspacetestsrcvuenode_modulesexpresslibmiddlewareinit.js:40:5)
at Layer.handle [as handle_request] (C:Workspacetestsrcvuenode_modulesexpresslibrouterlayer.js:95:5)
at trim_prefix (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:317:13)
at C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:284:7
at Function.process_params (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:335:12)
at next (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:275:10)
at query (C:Workspacetestsrcvuenode_modulesexpresslibmiddlewarequery.js:45:5)
at Layer.handle [as handle_request] (C:Workspacetestsrcvuenode_modulesexpresslibrouterlayer.js:95:5)
at trim_prefix (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:317:13)
at C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:284:7
at Function.process_params (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:335:12)
URIError: Failed to decode param '/%3C%=BASE_URL%20%%3Efavicon.ico'
at decodeURIComponent (<anonymous>)
at decode_param (C:Workspacetestsrcvuenode_modulesexpresslibrouterlayer.js:172:12)
at Layer.match (C:Workspacetestsrcvuenode_modulesexpresslibrouterlayer.js:123:27)
at matchLayer (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:574:18)
at next (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:220:15)
at expressInit (C:Workspacetestsrcvuenode_modulesexpresslibmiddlewareinit.js:40:5)
at Layer.handle [as handle_request] (C:Workspacetestsrcvuenode_modulesexpresslibrouterlayer.js:95:5)
at trim_prefix (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:317:13)
at C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:284:7
at Function.process_params (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:335:12)
at next (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:275:10)
at query (C:Workspacetestsrcvuenode_modulesexpresslibmiddlewarequery.js:45:5)
at Layer.handle [as handle_request] (C:Workspacetestsrcvuenode_modulesexpresslibrouterlayer.js:95:5)
at trim_prefix (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:317:13)
at C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:284:7
at Function.process_params (C:Workspacetestsrcvuenode_modulesexpresslibrouterindex.js:335:12)
나와 같은 이슈가 발생한 개발자들…..
https://github.com/vuejs/vue-cli/issues/2357
https://github.com/vuejs/vue-cli/issues/1451
아직 해결책을 찾지 못했다.
또 다른 오류 이슈!!
Proxy error: Could not proxy request /selectUserModel.do from localhost:8080 to http://localhost:3000/.
오류도 발생한다. 뭐냐 이거!!
[해결방법]
비주얼스튜디오 코드에서 vue 파일을 수정하면 다시 컴파일되면서 Apll running at: URL주소가 노출되면서 정상으로 복구되었다. 복구가 되지 않는다면 package.json 파일에서 proxy설정을 추가해주면 되는 것 같다. 자세한 내용은 스택오버플로어사이트링크를 참고!!