V
V
VasiaETH2022-01-19 13:31:08
Cyrillic
VasiaETH, 2022-01-19 13:31:08

Problem with Cyrillic when running Yarn start - Cannot find module yarn.js?

when starting a template project with yarn chain , yarn start .... the following error occurs:
$ yarn chain
yarn run v1.22.17
$ yarn workspace @scaffold-eth/hardhat chain
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'C:\Users\╨T╨╗╨░╨┤╨╡╨╗╨╡╤W\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js'
at Function.Module. _resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/ modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about
this command.
------------------
Through npm (npm run .... ) everything starts without a problem. I use the bash VS Code terminal, the yarn.js model itself is in the specified path. what could be the problem yarn cannot read the file due to cyrillic in the path ? does anyone know how to fix the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question