03 2021 档案

摘要:1. 需要将React App 和 Server 一同启动,所以需要安装currently 这个package 2. 千万不要将server端 node_modules 加入.gitignore列表,否则部署后会导致找不到Mongoose package 3. 需要在React package.js 阅读全文
posted @ 2021-03-30 17:57 wikiwi 阅读(114) 评论(0) 推荐(0)
摘要:https://daveceddia.com/deploy-react-express-app-heroku/ You’ve got a React app, and an API server written in Express or something else. Now – how do y 阅读全文
posted @ 2021-03-30 17:52 wikiwi 阅读(169) 评论(0) 推荐(0)
摘要:主要分这两步: 1. git rm -r --cached git add . 2. git commit -am "Remove ignored files" 阅读全文
posted @ 2021-03-28 08:52 wikiwi 阅读(154) 评论(0) 推荐(0)
摘要:使用 npm install express-generator -g 进行安装的时候发现如下权限错误: npm ERR! code EACCES npm ERR! syscall access npm ERR! path /usr/local/lib/node_modules npm ERR! e 阅读全文
posted @ 2021-03-27 15:09 wikiwi 阅读(290) 评论(0) 推荐(0)