터미널 열고 $ sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* $ cd /usr/local/lib $ sudo rm -rf node* $ cd /usr/local/include $ sudo rm -rf node* $ brew uninstall node $ sudo rm -rf /usr/local/bin/npm $ sudo rm -rf /usr/local/bin/node $ ls -las $ sudo rm -rf /usr/local/share/man/man1/node.1 $ sudo rm -rf /usr/local/lib/dtrace/node.d $ sudo rm -rf ~/.npm 말끔. 참..
Node 가 이미 깔려있다면, 제거 하고 진행하는 것이 꼬이지 않을 것이다.. Node.js 깔끔하게 제거 nuggy875.tistory.com/128 Node.js 깔끔하게 제거하기 (MacOS) 터미널 열고 $ sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* $ cd /usr/local/lib $ sudo rm -rf node* $ cd /usr/local/include $ sudo rm -rf node* $ brew un.. nuggy875.tistory.com 1. 설치 $ sudo curl -o- https://raw.githubusercontent.com/creationix/nvm/..
비정상적인 종료를 통해 해당 port를 사용 중인 채로 남아있을 수 있다. killall node 명령어로도 해결이 안될 때가 있어, 해당 포트가 어떤 pid를 점유하고 있는지 찾아내어 죽이자 아래 명령어로 pid 확인 가능 $ sudo lsof -i :80 죽이자 $ sudo kill -9 [확인한 해당 PID] 다시 명령어를 사용 시 사라져 있는 것을 확인할 수 있음 $ sudo lsof -i :80

Node.js , 넌적스(Nunjucks), MySQL + sequelize 사용하는 프로젝트 초기환경 설정 $ npm init $ npm i sequelize mysql2 sequelize-cli $ npx sequelize init views 폴더, routes 폴더, public 폴더, passport 폴더, app.js 추가 + 추가 npm 패키지 설치 $ npm i express cookie-parser express-session morgan multer dotenv nunjucks $ npm i passport passport-local passport-kakao bcrypt $ npm i -D nodemon npm start로 시작하기 위해 package.json의 "scripts"에 설정..
Error: Dialect needs to be explicitly supplied as of v4.0.0 ... 해당 에러같은 경우 config/config.json에 문제가 있거나, config.json과 데이터베이스 사이의 연결 문제인 경우가 대다수이다. config.json이 제대로 되어있는지 확인해보자 { "development": { "username": "root", "password": "Penguin13@#", "database": "nodebird_paeng", "host": "127.0.0.1", "dialect": "mysql" }, "test": { "username": "root", "password": null, "database": "database_test", "host":..
MacOS https://nodejs.org에서 Current 버전 눌러 설치해도 되지만 어차피 Homebrew 써야된다. Homebrew로 설치해보자. Homebrew 설치 $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" Node 설치 $ brew install node MySQL 설치 & 실행 $ brew install mysql $ brew services start mysql $ mysql_secure_installation -- 비밀번호 등록 -- MySQL 실행 $ mysql -h localhost -u root -p 워크벤치 설치 $ brew cask instal..
MongoDB의 데이터 타입에는 총 16가지가 있다. 출처 : https://data-flair.training/blogs/mongodb-data-types/ 이 사이트를 보고 Node.JS에서 데이터 모델을 만들 때 type : Double 이라고 했더니 에러가 뜨더라... 알고보니 mongoose Schema type 은 또 달라서, 이에 맞춰 설정을 해줘야 한다. 출처 : https://mongoosejs.com/docs/api.html#Schema var imageDataSchema = mongoose.Schema({ dataId : {type: String, require: true, unique: true}, coordinateX : {type: Number, require: true}, co..
PM - Project Manager 의 약자. 클라우드 서버( e.g. Amazon Web Service)를 이용하여 어플리케이션을 운영하는 경우,데몬으로 서버를 계속 띄워놔야 하고, 컴퓨터를 끄면 서버도 끊어지게 된다. 이전에는 Screen Command를 이용하여 서버를 띄워놨었는데, PM2라는 좋은 프로젝트 관리자를 알게 되어 사용해 보았다. PM2 링크 : http://pm2.keymetrics.io/ 설치 설치는 npm 패키지 관리자를 통해서 간단하게 설치할 수 있다.전역으로 설치해주자 $ npm install pm2 -g $ pm2 -v 3.2.2 실행 실행하고자 하는 Node.js 어플리케이션 실행 파일이 app.js 라면$ pm2 start app.js요롷게 실행하면 된다. 실..
- Total
- Today
- Yesterday
- Computer Vision
- GPU
- GaussianSplatting
- java
- Python
- Macbook
- nginx
- error
- nvidia
- Anaconda
- Novel View Synthesis
- 우분투
- SSH
- git
- Machine Learning
- numpy
- 3Dvision
- MacOS
- 2-stage Detector
- CUDA
- pytorch
- ubuntu
- Docker
- Android
- Neural Radiance Field
- vscode
- Deep Learning
- Object Detection
- MySQL
- nerf
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |