Replies: 1 comment 3 replies
-
What happens when you just run the file? With no package managers? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I started a terminal locally, as shown below. (Note that the path starts with lowercase.)
I wrote a simple code test as shown below.
When I start the script using
![image](https://private-user-images.githubusercontent.com/24516654/355723723-3689cf42-9d29-4521-80dd-6d191bad1490.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzgzMzAsIm5iZiI6MTczODkzODAzMCwicGF0aCI6Ii8yNDUxNjY1NC8zNTU3MjM3MjMtMzY4OWNmNDItOWQyOS00NTIxLTgwZGQtNmQxOTFiYWQxNDkwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDE0MjAzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3NDkyYmQ0ZGY2MjA4MTQ1NWY5ZjYyNDg4ODdlNDI1MjE0M2RiNzZlODFjNWNkYWFlYjRhYmUwZDlhMWJiNTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pfGwXo5x-5sqPxktQlgGuJoMIhs6BR_O_flkAnRan3w)
pnpm
andnpm
, I get two different results. I noticed that when I started it withpnpm
, the first line of information printed had an additional capitalized path compared to when I started it withnpm
.I tried debugging the code, but I couldn't see the implementation inside
rawMethods.cwd()
.If you have time, please take a look, thank you. @redyetidev
Beta Was this translation helpful? Give feedback.
All reactions