csPortal: react-scripts -> webpack
farmOS: react-app-rewired
'js > node, npm' 카테고리의 다른 글
npm (0) | 2022.07.21 |
---|---|
nodejs를 이용한 mock server 구성 (0) | 2022.06.14 |
csPortal: react-scripts -> webpack
farmOS: react-app-rewired
npm (0) | 2022.07.21 |
---|---|
nodejs를 이용한 mock server 구성 (0) | 2022.06.14 |
npm install
npm uninstall
npm list: 설치된 패키지 목록 확인하기
-g global
--depth 0 옵션을 사용하지 않으면 전체 트리구조로 의존성 있는 모든 모듈이 나옴
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm install material-table@1.X
npm install --save-dev redux-devtools-extension
package.json (0) | 2024.02.23 |
---|---|
nodejs를 이용한 mock server 구성 (0) | 2022.06.14 |
http://13.125.140.150:8080/posts
http://ec2-13-125-140-150.ap-northeast-2.compute.amazonaws.com:8080/posts
node /home/ec2-user/my-json-server/node_modules/.bin/json-server --host 172.31.10.248 --watch db.json --port 8080
nohup node /home/ec2-user/my-json-server/node_modules/.bin/json-server --host 172.31.10.248 --watch db.json --port 8080 &
-> 잘안되서 pm2 설치
pm2 start npm start -> 안됨
pm2 start `npm start` 됨!!!!
package.json (0) | 2024.02.23 |
---|---|
npm (0) | 2022.07.21 |