---
# System prepended metadata

title: (API)會議追蹤系統
tags: [Autodesk]

---

# (API)會議追蹤系統

###### tags: `Autodesk`
## [第一步] RevitAPI安裝
**1. 修正Project_test.addin內檔案路徑，並更名為ProjectTrack.addin**
![](https://i.imgur.com/oGeBOg2.png)
**2. 將資料夾Project_test\bin中的內容全部放到ProjectTrack資料夾中**
![](https://i.imgur.com/elMHcn0.png)
**3. 將ProjectTrack資料夾與ProjectTrack.addin放到下列路徑**
C:\ProgramData\Autodesk\Revit\Addins\2018
![](https://i.imgur.com/pboDua8.png)
**4. 開啟Revit即可在增益集頁籤下方找到TrackingButton按鈕**
![](https://i.imgur.com/yo8POAB.png)**
**5. 點TrackingButton按鈕，切換到ON，開始追蹤專案執行情況**
![](https://i.imgur.com/6TGJXgY.png)
**6.  點TrackingButton按鈕切換回OFF追蹤結束，並跳出視窗顯示專案執行情況**
![](https://i.imgur.com/2qFmuEO.png)



## [第二步]在Windows上安裝MongoDB

#### 1.下載檔案並安裝mongodb-windows-x86_64-4.4.4-signed.msi:
#### [MongoDB Community Download | MongoDB](https://www.mongodb.com/try/download/community)
![](https://i.imgur.com/DHo6PdU.png)
- 
#### 2.下載MongoTBCompass免安裝=>執行MongoDBCompass.exe
![](https://i.imgur.com/PjvnDwn.png)
#### 3. 輸入:mongodb://localhost:27017
![](https://i.imgur.com/nrQImNo.png)
#### 4. 在Revit Report中可以看到歷次更新紀錄
![](https://i.imgur.com/YWWgz46.png)
#### 5. 資料夾位置:C:\Program Files\MongoDB\Server\4.4\data
![](https://i.imgur.com/LeUuS87.png)


## [第三步]windows下搭建create-react-app
參考網頁: 
[windows下搭建create-react-app - SegmentFault 思否](https://segmentfault.com/a/1190000012085306)
[React.js快速入門 — (1)Guideline & Create-React-App | by Mackerel Chang | Mess up | Medium](https://medium.com/mess-up/react-js%E5%BF%AB%E9%80%9F%E5%85%A5%E9%96%80-1-guideline-create-react-app-cb5201fdecae)
---
**1. 安裝node-v14.15.5-x64.msi**
    ![](https://i.imgur.com/R96I2mg.png)
**2.在cmd命令行输入node -v 和 npm -v，分别显示node.js和npm的版本，则安装成功**
    ![](https://i.imgur.com/iJ6WhWe.png)
**3.新建一个用于创建create-react-app工程的文件夹**
    npm install -g create-react-app
    ![](https://i.imgur.com/gl2mDxZ.png)
**4.用户自定义的文件夹名称**
    create-react-app my-app
    ![](https://i.imgur.com/Z0CgFr0.png)
    ![](https://i.imgur.com/QEG4ICv.png)
**5.執行測試頁**
    cd my-app
    npm start
    ![](https://i.imgur.com/6SJbnsT.png)
    ![](https://i.imgur.com/13sEfip.png)
**6.從GitHub下載Remeet檔案:**
[FunnyEngineer/Remeet](https://github.com/FunnyEngineer/Remeet)
![](https://i.imgur.com/iWFW0nD.png)
**7. 安裝yarn**
npm i -g yarn
![](https://i.imgur.com/FKAEoVO.png)
**8.初始化(資料隨便KEY)**
yarn init
![](https://i.imgur.com/qJMof0J.png)
**9.進入資料夾並安裝 json.package 所有依賴**
cd Remeet-master
Yarn install
![](https://i.imgur.com/k3B7zzu.png)
**10. 執行前端網頁**
Yarn start
![](https://i.imgur.com/4QGOblZ.png)
--

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
# 錯誤作法:
    10.將React複製到D槽使用者資料夾下方，並複製my-app資料夾中的node_modules資料夾到此處
    ![](https://i.imgur.com/JHOXwHM.png)
    11. 執行React
    cd React
    npm start
    React頁面一直跳出錯誤訊息
    ![](https://i.imgur.com/OC8mCfm.png)

    
## 錯誤訊息如下:
1. 請安裝最新版的Typescript Compiler 工具.
yarn add -D typescript
![](https://i.imgur.com/MlEb87d.png)
2. 找不到模塊：無法解析
命令提示字元中輸入指令:npm i --save date-fns@next @date-io/date-fns@1.x
[reactjs-找不到模塊：無法解析'@ date-io / date-fns'](https://stackoverflow.com/questions/61822733/module-not-found-cant-resolve-date-io-date-fns)
3.  Can't resolve '@material-ui/core/Container'
命令提示字元中輸入指令:yarn add @material-ui/core@next
[javascript - Module not found: Can't resolve '@material-ui/core/Container' - Stack Overflow](https://stackoverflow.com/questions/56230568/module-not-found-cant-resolve-material-ui-core-container)
4. Can't resolve '@emotion/react
命令提示字元中輸入指令:npm install @emotion/react
[reactjs - Module not found: Can't resolve '@emotion/react' - Stack Overflow](https://stackoverflow.com/questions/65486256/module-not-found-cant-resolve-emotion-react)
5. Can't resolve '@material-ui/core/Avatar'
命令提示字元中輸入指令:npm install @material-ui/core
[reactjs - Module not found: Can't resolve '@material-ui/core/Avatar' in 'D:\own_files\ReactTutorial\react-app\src' - Stack Overflow](https://stackoverflow.com/questions/60398575/module-not-found-cant-resolve-material-ui-core-avatar-in-d-own-files-reac)
6. Can't resolve 'material-ui-icons/Menu' Martial Next 
命令提示字元中輸入指令:
npm install --save material-ui-icons
npm install @material-ui/icons
[Module not found: Can't resolve 'material-ui-icons/Menu' Martial Next · Issue #10571 · mui-org/material-ui](https://github.com/mui-org/material-ui/issues/10571)
7. Module not found: Can't resolve '@material-ui/lab/Timeline' 
命令提示字元中輸入
npm install @material-ui/core
npm install @material-ui/lab
npm install @material-ui/pickers
[javascript - Material UI React - Module not found: Can't resolve '@material-ui/pickers' - Stack Overflow](https://stackoverflow.com/questions/62815174/material-ui-react-module-not-found-cant-resolve-material-ui-pickers)
8. Can't resolve 'date-fns/addDays'
命令提示字元中輸入 npm i --save date-fns@next @date-io/date-fns
    [Can't resolve 'date-fns/addDays' · Issue #33 · dmtrKovalenko/date-io](https://github.com/dmtrKovalenko/date-io/issues/33)
9. React-dnd Module not found
命令提示字元中輸入
npm install --save react-dnd
npm install --save react-dnd-html5-backend
[reactjs - React-dnd Module not found - Stack Overflow](https://stackoverflow.com/questions/48761929/react-dnd-module-not-found/48762485)
10. React Router Cannot resolve module
命令提示字元中輸入
npm install --save react-router-dom
[javascript - React Router Cannot resolve module - Stack Overflow](https://stackoverflow.com/questions/40730830/react-router-cannot-resolve-module)




    