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

unknown bug on sequelize auto #664

Open
noname29 opened this issue Apr 9, 2024 · 1 comment
Open

unknown bug on sequelize auto #664

noname29 opened this issue Apr 9, 2024 · 1 comment

Comments

@noname29
Copy link

noname29 commented Apr 9, 2024

When I run this, this is the error I get. I am on ubuntu.

my command:
sequelize-auto -o "./models" -d bookcollection -h localhost -u root -p 3306 -x password -e mysql
Versions:
[email protected]
[email protected]
[email protected]

/usr/local/lib/node_modules/mysql2/node_modules/lru-cache/dist/cjs/index.js:51
    heap;
        ^

SyntaxError: Unexpected token ;
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/mysql2/node_modules/lru-cache/dist/cjs/index-cjs.js:5:36)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)

@WikiRik
Copy link
Member

WikiRik commented Apr 9, 2024

What Node version are you using?

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

2 participants