TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters
codehz opened this issue · 3 comments
codehz commented
✨ Finished in: 6.649ms
DONE Success!
_http_client.js:127
throw new ERR_UNESCAPED_CHARACTERS('Request path');
^
TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters
snaerth commented
@codehz could you be more specific and show me the steps you took to reproduce this error
codehz commented
ok
command: yarn crcf test
full log:
yarn run v1.10.1
$ /home/codehz/co/boilerplate/node_modules/.bin/crcf test
Created new React components at:
/home/codehz/co/boilerplate/test
└─ index.tsx
└─ test.jsx
└─ test.test.tsx
└─ test.less
✨ Finished in: 6.530ms
DONE Success!
_http_client.js:127
throw new ERR_UNESCAPED_CHARACTERS('Request path');
^
TypeError [ERR_UNESCAPED_CHARACTERS]: Request path contains unescaped characters
at new ClientRequest (_http_client.js:127:13)
at TunnelingAgent.request (http.js:41:10)
at TunnelingAgent.createSocket (/home/codehz/co/boilerplate/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js:117:25)
at TunnelingAgent.createSecureSocket [as createSocket] (/home/codehz/co/boilerplate/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js:184:41)
at TunnelingAgent.addRequest (/home/codehz/co/boilerplate/node_modules/npm/node_modules/request/node_modules/tunnel-agent/index.js:80:8)
at new ClientRequest (_http_client.js:261:16)
at Object.request (https.js:291:10)
at Request.start (/home/codehz/co/boilerplate/node_modules/npm/node_modules/request/request.js:583:30)
at Request.end (/home/codehz/co/boilerplate/node_modules/npm/node_modules/request/request.js:1237:28)
at /home/codehz/co/boilerplate/node_modules/npm/node_modules/request/request.js:413:12
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.