Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dbName ="lireddit" Invalid shorthand property intliazer #43

Open
kashif612 opened this issue Sep 18, 2021 · 2 comments
Open

dbName ="lireddit" Invalid shorthand property intliazer #43

kashif612 opened this issue Sep 18, 2021 · 2 comments

Comments

@kashif612
Copy link

C:\Users\dell\Desktop\project\dist\mikro-orm.config.js:11
dbName = 'lireddit',
^^^^^^^^^^^^^^^^^^^

SyntaxError: Invalid shorthand property initializer at wrapSafe (internal/modules/cjs/loader.js:992:16)
at Module._compile (internal/modules/cjs/loader.js:1040:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:941:32)
at Function.Module._load (internal/modules/cjs/loader.js:782:14)
at Module.require (internal/modules/cjs/loader.js:965:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (C:\Users\dell\Desktop\project\dist\index.js:8:44)
at Module._compile (internal/modules/cjs/loader.js:1076:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
[nodemon] app crashed - waiting for file changes before starting...

@kashif612
Copy link
Author

sorry my mistake i have dbName = "" but the calling an object done by dbName : " "

@kashif612
Copy link
Author

kashif612 commented Sep 22, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant