Open unknowwww opened 2 months ago
You should go to the file .env and change the vars "REACT_APP_GITHUB_TOKEN", "GITHUB_USERNAME" and "MEDIUM_USERNAME" before being able to do run npm start
. The error is because the vars are set as "YOUR GITHUB USERNAME HERE", etc, and that is not a valid path.
The tutorial on how to change the variables are in "Linking Portfolio to GitHub".
So the order to avoid this error is:
npm install
;npm start
Describe the bug
Fetching profile data for YOUR GITHUB USERNAME HERE Fetching Medium blogs data for YOU MEDIUM USERNAME HERE node:_http_client:184 throw new ERR_UNESCAPED_CHARACTERS('Request path'); ^
TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters at new ClientRequest (node:_http_client:184:13) at Object.request (node:https:379:10) at Object. (/Users/yw/Downloads/untitled folder/developerFolio/fetch.js:106:21)
at Module._compile (node:internal/modules/cjs/loader:1546:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
at Module.load (node:internal/modules/cjs/loader:1317:32)
at Module._load (node:internal/modules/cjs/loader:1127:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:166:5) {
code: 'ERR_UNESCAPED_CHARACTERS'
}
Node.js v22.7.0
Steps to reproduce
Expected behavior
I'm not sure if I missed some steps. I just git clone and followed the instructions on readme. Should I edit some something or use the old version npm to let this run?
Is this responsiveness Issue
no
Screenshots
No response
Desktop
Smartphones
Additional context
No response