Closed RikuVan closed 6 years ago
ok i figured out it is the percent encoded space here in the path palkkatuki%20katre that is breaking things. presuming I can't change the project name folder names at this point, is there any way to get around this issue?
Well I managed to get our team to rename the project in VSTS, so my issue is resolved. A warning to future developers using Visual Studio Team Services--don't put spaces in your project/repo names!
had basically the same issue. Really appreciate the tip.
For anyone having similar issues to these when starting a react project: URIError: Failed to decode param
I recommend checking the entire path of the cloned folder for spaces , and if possible remove them,
That worked for me.
Is this a bug report?
Yes
Environment
Then, specify:
Steps to Reproduce
(Write your steps here:)
Expected Behavior
To build and render starter page
Actual Behavior
Fails to build with error below:
URIError: Failed to decode param '/%PUBLIC_URL%/favicon.ico' at decodeURIComponent ()
at decode_param (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/layer.js:172:12)
at Layer.match (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/layer.js:123:27)
at matchLayer (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/index.js:574:18)
at next (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/index.js:220:15)
at expressInit (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/middleware/init.js:40:5)
at Layer.handle [as handle_request] (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/index.js:317:13)
at /Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/index.js:335:12)
at next (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/index.js:275:10)
at query (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/middleware/query.js:45:5)
at Layer.handle [as handle_request] (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/index.js:317:13)
at /Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/Users/richard.vancamp/code/repos/palkkatuki%20katre/client/node_modules/express/lib/router/index.js:335:12)
Sometimes I only got the Failed to decode param error and other times I also got a Typescript error: subsequent property declarations must have a type. Property 'a' of type...'followed by the decode aram error.