공유하지 않도록 설정하기

개요 WSL에 윈도우와 동일한 개발도구를 설치할 경우, 공유되는 PATH 변수로 인하여 WSL내에서 windows의 명령어가 먼저 실행되는 경우가 있습니다. 예를 들어 윈도우 환경에 설치한 flutter 라던지 $ flutter doctor /usr/bin/env: ‘bash\r’: No such file or directory 윈도우 환경에 설치한 node.js로 인한 오류 등입니다. $ npm install internal/modules/cjs/loader.js:834 throw err; ^ Error: Cannot find module 'C:\mnt\c\Program Files\nodejs\node_modules\npm\bin\npm-cli.js' at Function.Module._..
쓴웃음
'공유하지 않도록 설정하기' 태그의 글 목록