'Meteor설치'에 해당되는 글 1건

  1. 2018.01.23 Meteor 미티어 설치
2018. 1. 23. 17:27

Meteor 설치하기


$curl https://install.meteor.com/ | sh 


하면 자동설치이다.


프로젝트 생성


>meteor create 프로젝트명

>meteor create testProcject


쓰면 끝이다.


근데, 이런 에러가 뜰때가 있다.


npm ERR! code ENOGIT

npm ERR! No git binary found in $PATH

npm ERR! 

npm ERR! Failed using git.

npm ERR! Please check if you have git installed and in your PATH.



이건 git이 설치 안되어서 그런거라...

git을 설치해 줘야한다.


> yum install git 
으로 git을 설치해준다.



루트로 작업 할시 


You are attempting to run Meteor as the 'root' superuser. If you are developing, this is almost certainly

*not* what you want to do and will likely result in incorrect file permissions. However, if you are

running this command in a build process (CI, etc.), or you are absolutely sure you know what you are

doing, set the METEOR_ALLOW_SUPERUSER environment variable or pass --allow-superuser to proceed.


Even with METEOR_ALLOW_SUPERUSER or --allow-superuser, permissions in your app directory will be incorrect

if you ever attempt to perform any Meteor tasks as a normal user. If you need to fix your permissions, run

the following command from the root of your project:


  sudo chown -Rh <username> .meteor/local


이런 문구가 나올수 있다. 


슈퍼유저로 하지 말라는 이야기인데, 


그래도 root로 작업하려면,


meteor create metcongress --allow-superuser


이렇게 해주면 생성할수있다.


Posted by Tyson