bentonam / fakeit

Generates JSON documents based on models defined in YAML and adds them to a Couchbase Bucket
MIT License
86 stars 21 forks source link

SyntaxError: Unexpected token #194

Open vmantonio opened 4 years ago

vmantonio commented 4 years ago

Hello, i am new to fateit and just got it installed. when running the tool only to validate if the install is complete and fine, i got below error.

C:\NodeJS\node_modules\fakeit\node_modules\fs-extra\lib\mkdirs\make-dir.js:85 } catch { ^

SyntaxError: Unexpected token { at createScript (vm.js:80:10) at Object.runInThisContext (vm.js:139:10) at Module._compile (module.js:607:28) at Object.Module._extensions..js (module.js:654:10) at Module.load (module.js:556:32) at tryModuleLoad (module.js:499:12) at Function.Module._load (module.js:491:3) at Module.require (module.js:587:17) at require (internal/module.js:11:18) at Object. (C:\NodeJS\node_modules\fakeit\node_modules\fs-extra\lib\mkdirs\index.js:3:44)

Windows 10 Node v8.9.4 Fakeit installed with command npm install fakeit --global

Expected result is the fakeit CLI options Any pointer is welcome.

Thank you in advance. Marco