본문 바로가기
Web & Mobile/React.js

Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (83)

by Bennyziio 2021. 7. 17.
반응형

GraphQL 해보려고 유데미 강사분의 깃허브를 clone 하고 나서 yarn start를 했는데 아래와 같은 문제가 발생

 

Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (83)

 

지난번에도 context-API 강의 할때 github clone 하고 이런 상황이 발생해서 해결을 했었는데

기록을 해두지 않아서 어떻게 해결했는지 기억이 가물가물...

그래서 이번에는 해결전이지만 무슨 짓을 했는지 기록하며 진행하기로 계획

1. npm uninstall node-sass

2. npm install node-sass

3. npm rebuild node-sass

했는데 안됨..

보니깐 node_modules가 없음..

node_modules를 yarn install 해서 설치

npm uninstall node-sass

npm install node-sass@4.14.1

Module not found: Can't resolve 'apollo-boost' in '/Users/bennyziio/development/projects/Reactjs/graphql-lesson/src'

apollo-boost 설치한게 날아갔다고 함. npm uninstall 하면서 날라갔나 봄

다시 설치함

yarn add apollo-boost react-apollo graphql

Error: [BABEL] /Users/bennyziio/development/projects/Reactjs/graphql-lesson/node_modules/strip-ansi/index.js: Cannot find module '@babel/helper-create-regexp-features-plugin'

이딴게 뜸

yarn add @babel/helper-create-regexp-features-plugin --dev

Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade` 이딴게 또 뜸

Error: [BABEL] /Users/bennyziio/development/projects/Reactjs/graphql-lesson/node_modules/strip-ansi/index.js: Cannot find module 'babel-plugin-dynamic-import-node/utils'

이거 계속 무한 반복중임

아 짜증난다...

다시 또 아폴로 부스트 깔라고 함..

이번엔 Module not found: Can't resolve '@firebase/firestore' 이게 뜸

그래서 firebase 설치함(npm install firebase)

또 Module not found: Can't resolve 'apollo-boost' 이거 뜸

firebase 또 다시 설치했떠니

yarn.lock 이 생겼고

이제 yarn start 하니깐 됨..

결론 추정으로는 node-sass 버전을 4.14.1로 바꿔주고 graphql 이랑 firebase 버전 node-sass 4.14.1 버전에 맞는걸로 다시 설치해주고 하면서 되는 것 같음..

망할 것들...

반응형

'Web & Mobile > React.js' 카테고리의 다른 글

React HOOK을 위한 읽을 거리[중요!!!!]  (0) 2021.06.24
React Hooks LifeCycle 요약  (0) 2021.06.22

댓글