How to fix Nodemon “async remove {}” syntax error?


Whenever I try to run nodemon to auto-restart my local server (running on port 3000), I get this error message regarding a syntax error in the no

/Users/SI23/.nvm/versions/node/v6.5.0/lib/node_modules/nodemon/node_modules/chokidar/index.js:151 async remove(item) { ^^^^^^ SyntaxError: Unexpected identifier at Object.exports.runInThisContext (vm.js:76:16) at Module._compile (module.js:528:28) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object.<anonymous> (/Users/SI23/.nvm/versions/node/v6.5.0/lib/node_modules/nodemon/lib/monitor/watch.js:6:16) at Module._compile (module.js:556:32)

Any way to fix this?


As per my knowledge


Async Await is not available in node v6.5.0,


which you are using. So you can upgrade your node version or can start using Promise object with the same version of node.


In my case, <em>npm list chokidar</em> helped me realize it was another module (gulp-nodemon) that used a newer version of chokidar. It worked after downgrading it.



  • How to check if re.sub() has successfully replaced in python? [duplicate]
  • How to fix Nodemon “async remove {}” syntax error?
  • Fatal error: Call to a member function user() on boolean
  • How to delete yarn logs
  • jQuery/mobile Safari bug?
  • How do you maintain page number after redirect in CakePHP?
  • Java threads, green or native?
  • Facebook Comments on your website via Graph API instead of Comments plugin?
  • Search for text in a string, copy & paste rows to new sheet
  • Appending spaces with str_pad
  • Static analysis of header inclusion in C++
  • google fusion table- not able to color the layer in map after 5 colors
  • Advertising Identifier for devices lower than iOS 6.0
  • Existing data serialized as hash produces error when upgrading to Rails 5
  • Read specific column from Parquet without using Spark
  • How to implement JQuery confirm dialog with JSF
  • Greedy Algorithm in “C”
  • Network communication options in Java (Client/Server)
  • Is there a .NET method equivalent to NETWORKDAYS in Excel?
  • How to convert days into months using datetime in Python3?
  • Example of using Service Exists MSBuild task in Microsoft.Sdc.Tasks?
  • How to process remote XML files with XSLT
  • Query regarding com.jcraft.jsch.JSchException: UnknownHostKey: x.y.com. DSA key fingerprint is “ac:e
  • Facebook friend list in Facebook Android SDK 3.14
  • Authorize Attribute Authentication with Postman in Web Api
  • Update all WooCommerce product prices to 2 decimals in database
  • Allowing audio files in Spring MVC 3.0?
  • Swift manually rotate view controller
  • 'Edit' function for forum posts and such
  • Year over Year Stats from a Crossfilter Dataset
  • How to write seo friendly url's using htaccess?
  • r - input value by user to dataframe via shiny
  • Amazon Elastick BeanStalk error: Failed to create the AWS Elastic Beanstalk application version
  • How to turn off notice reporting in xampp?
  • Can a PHP script be scheduled to run at a specific time or after a specific amount of time has expir
  • Access to a Matlab gui from the web
  • JavaScript RegExp Replace