MERN-Social-Network | Notes App developed with MERN stack | Runtime Evironment library
kandi X-RAY | MERN-Social-Network Summary
kandi X-RAY | MERN-Social-Network Summary
A Notes App developed with MERN stack. Screenshots below. Visit the link for SPA version!!
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Registers a new module .
MERN-Social-Network Key Features
MERN-Social-Network Examples and Code Snippets
Community Discussions
Trending Discussions on MERN-Social-Network
QUESTION
im trying to install MERN-Social-Network from git hub node js code by Faiyaz Shaikh yTakkar
and face this error :
...ANSWER
Answered 2018-Aug-07 at 08:03Ad you said in the comments your Node.JS version is v6.10.0
unfortunately this version doesn't support async/await
functions.
You can check Here: https://node.green/#ES2017-features-async-functions
Async/await
support starts from version 7.0.0
where you need to add the --harmony
flag to enable ES6/ES7 features. From 7.6.0
it is supported.
So, there are multiple ways you can achieve the same result.
1) Use Promise
instead of async/await
2) Use babel
to transpile the code into ES5. You can do this by running the code through babel-load
if you are using webpack(mostly used for frontend products)
3) You can update your node to >7.6.x
Note: If you see in the package.json
of that repository you can see that it is recommended to use node>8 for this project (accorind to the author)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MERN-Social-Network
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page