---
# System prepended metadata

title: Node.js常見問題
tags: [教學, 範本]

---

# Node.js常見問題
###### tags: `教學` `範本` 
:::info

:boy: **作者：** neverleave0916 

:mailbox_closed: **聯絡資訊：<neverleave0916@gmail.com>**
:point_right: **<font color="#B24B42">修改日期：** 2020/5/11 03:52</font>
:::
>-  YOLOv4 in Ubuntu:video_game:
> - 軟體版本：

|   Software    | Version |
|:--------------|:--------|
|    Ubunut     | 18.04  |
|    Docker     | 19.03.8 |
| Nividia Driver| 440.82 |
|     CUDA      | 10.2   |
## 1.爲什麼在擴展Node.js類時，我們將變量包裹在大括號中，如{EventEmitter} = require 'events'
```console=+
{EventEmitter} = require 'events' 

class Rooster extends EventEmitter 
    constructor: -> 
    @on 'wake', -> console.log 'COCKADOODLEDOO!' 

(foghorn = new Rooster).emit 'wake' # COCKADOODLEDOO! 
```
此：
```console=+
{EventEmitter} = require 'events' 
```
相當於這個JavaScript：
```console=+
var EventEmitter; 
EventEmitter = require('events').EventEmitter;
```
- [reference](http://hk.uwenku.com/question/p-vcfwihdm-bdd.html)

## 2.Sequelize: difference of DataTypes and Sequelize
The second parameter in both of them is just the sequelize package itself

- [reference](https://stackoverflow.com/questions/47563038/sequelize-difference-of-datatypes-and-sequelize)

## 3.Sequelize logs question marks on the console instead of the values
logQueryParameters: true,
https://github.com/sequelize/sequelize/issues/10067#issuecomment-591874049











---
<br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br>
## 2.安裝YOLO環境需求
* CMake >= 3.12
* CUDA 10.0 (For GPU)
* OpenCV >= 2.4 (For CPU and GPU)
* cuDNN >= 7.0 for CUDA 10.0 (for GPU)
* OpenMP (for CPU)
* Other Dependencies: make, git, g++





### 參考資料：
- [YOLO](https://)



## 以下為失敗方法，僅供參考
