Front-End

[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

 

URIError: Failed to decode param ‘/%3C%=%20BASE_URL%20%%3Efavicon.ico’ · Issue #2357 · vuejs/vue-cli

Version 3.0.1 Node and OS info node : v10.8.0 / npm : 6.2.0 Steps to reproduce ☁ vue vue create app1 ☁ vue cd app1 ☁ npm run serve What is expected? App running at: Local: http://localhost:8080/ Wh…

github.com

https://github.com/vuejs/vue-cli/issues/1451

 

URIError: Failed to decode param ‘/%3C%=%20webpackConfig.output.publicPath%20%%3Efavicon.ico’ · Issue #1451 · vuejs/vue-cli

Version 3.0.0-beta.15 Reproduction link https://github.com/marco-carvalho/music Steps to reproduce git clone https://github.com/marco-carvalho/music npm i npm run serve What is expected? App runnin…

github.com

아직 해결책을 찾지 못했다. 

 

 

또 다른 오류 이슈!!

Proxy error: Could not proxy request /selectUserModel.do from localhost:8080 to http://localhost:3000/.

오류도 발생한다. 뭐냐 이거!!

 

[해결방법]

비주얼스튜디오 코드에서 vue 파일을 수정하면  다시 컴파일되면서 Apll running at: URL주소가 노출되면서 정상으로 복구되었다. 복구가 되지 않는다면 package.json 파일에서 proxy설정을 추가해주면 되는 것 같다. 자세한 내용은 스택오버플로어사이트링크를 참고!!

 

React Proxy error: Could not proxy request /api/ from localhost:3000 to http://localhost:8000 (ECONNREFUSED)

I have a React frontend that uses jwt to authenticate with the Django backend. The backend works and is connecting just fine using django views, but when I try to proxy a request from React, it gi…

stackoverflow.com

 

Leave a Reply

error: Content is protected !!