https://developers.steem.io/tutorials-javascript/getting_started
Steem Tutorial - getting started
스팀 튜토리얼에 나와있는데로 Git remote repository를 연습할 폴더에 클론한 후
01_blog_feed 디렉토리에서 환경설정을 위해 npm i 명령어를 입력했다.
하지만 빌드가 계속 실패했고 "c++ '-dnode_gyp_module_name=libsass' " 를 포함한 에러메시지를 여러개 확인했다. 에러메시지를 구글링해보았고, CSS 전처리기인 node-sass와 node의 버전이 맞지 않아 생긴 문제였다. 아래와 같이 node-sass의 버전을 확인하였고, 구글링을 통해 node 14 버전과 호환이 된다는걸 확인하였다.
이후 노드 버전관리를 해주는 플러그인을 설치하여 node14버전으로 변경후 실행하니 정상적으로 localhost를 돌릴 수 있었다. 01_blog_feed 튜토리얼은 최근 5개의 포스팅을 가져와서 보여주는 예제이다. 설치는 했으니 어떻게 작동하는지 분석해 봐야겠다.
실행화면
참고로 /tutorials 폴더에는 35개의 tutorial이 들어있다.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
오우 아주 멋짐!!!! 화이팅!!! ㅋ
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
네!! ㅎㅎ 열심히 해야죠..!!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
굿굿!!! ㅎㅎㅎ
계속해서 열심히!!! ㅋ
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
감사합니다. 더 열심히!! ㅎㅎ
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit