extract-mongo-schema icon indicating copy to clipboard operation
extract-mongo-schema copied to clipboard

extract-mongo-schema -d "mongodb://localhost:27017" -o schema.json

Open RaphaelTrembleau opened this issue 6 years ago • 2 comments

extract-mongo-schema -d "mongodb://localhost:27017" -o schema.json

i have one error: SyntaxError: Unexpected string

RaphaelTrembleau avatar Sep 25 '18 15:09 RaphaelTrembleau

Can you provide more informations please ? Which OS / version are you using ? Which version of nodejs have you ? And npm ? This is the only message you receive ? You don't have a line number with the error you got ? Thanks

bbichero avatar Feb 01 '19 18:02 bbichero

extract-mongo-schema -d "mongodb://localhost:27017" -o schema.json

i have one error: SyntaxError: Unexpected string

Are you are using de cli.js of the package or writing it raw on your terminal. For example you can use "node node_modules/extract-mongo-schema/cli.js extract-mongo-schema <..... here you write all the options mentioned on the documentation of the package ... >

joseamair avatar Jun 01 '19 16:06 joseamair