forked from vercel/micro
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Remove handling of below node 8"
This reverts commit f41de4c.
- Loading branch information
1 parent
f41de4c
commit af254a0
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Old Node Version | ||
|
||
#### Why This Error Occurred | ||
|
||
In order to execute code that contains the `async` or `await` keywords, you need to have at least version 8.0.0 of [Node.js](https://nodejs.org/en/) installed on the device that runs `micro`. If that's not the case, you will see this error. | ||
|
||
#### Possible Ways to Fix It | ||
|
||
- Ensure that at least version 8.0.0 of [Node.js](https://nodejs.org/en/) is installed | ||
- [Transpile](https://github.com/zeit/micro#transpilation) the code of your microservice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters