Merged
Conversation
Member
Author
|
🐞Bug Report |
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sass 설치
sass 설치는 루트에 있는 공용 패키지에 설치를 해준다. 설치 방법은 우리가 평소에 알고 있는 방식으로 진행을 하면 된다.
npmrc와 perfix 그리고 환경 변수
가장 많이 알아 보고 의문을 가지며 npm이 동작하는 방식을 이해하는데 시간을 가졌던 부분이다. 우선 nodejs 기반으로 js 언어는 동작을 한다. 그리고 npm은 nodejs를 관리하는 메니저 역할을 한다. nodejs를 설치하고 환경 변수의 path는 보통
C:\Program Files\nodejs\로 지정한다. 반면 npm은C:\Users\<userName>\AppData\Roaming\npm으로 지정하는데 이곳에 가보면 수많은 node_modules와 패키지들이 들어가 있는 것을 볼 수 있다. 바로 우리가 global로 설치한 패키지들이 담겨 있다. 그렇다면 우리는.npmrc를 가지고 무엇을 할 수 있을까?.npmrc의 역할이다.Bug
현재 --save-dev로 ts를 루트에 설치하면 ver.1.0.0이 계속해서 설치되는 것을 확인했다. 명확한 원인은 아직 파악하지 못했지만 글로벌에 설치한 ts가 있기 때문에 크게 관여하고 있지 않다. 다른 브런치에서 ts를 설치하면 최신 @Lateset 버전이 잘 설치되는 것을 확인했다.
Summary
환경에 크게 영향을 받는 다는 것을 알았으며 npm이 어떻게 의존하는지 파악할 수 있었던 이슈들이였다. 아직 완전히 내가 생각한 대로 동작하지는 않지만 많은 것을 알 수 있었던 시간이였다.