Skip to content

windows error #633

Closed
Closed

Description

@rmoura-92

hey guys, using windows 10 at home and i'm having this error:
on the mac is ok

λ yarn -v
1.3.2
λ node -v
v9.5.0
λ npm -v
5.6.0
λ mkdir tmp
λ cd tmp
λ yarn add sequelize-cli sequelize pg
λ node node_modules/.bin/sequelize init
C:\Users\rmoura\Code\tmp\node_modules\.bin\sequelize:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
          ^^^^^^^

SyntaxError: missing ) after argument list
    at new Script (vm.js:51:7)
    at createScript (vm.js:138:10)
    at Object.runInThisContext (vm.js:199:10)
    at Module._compile (module.js:624:28)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
    at Function.Module.runMain (module.js:701:10)
    at startup (bootstrap_node.js:190:16)

any ideias of what is it? thanks

Activity

  1. leonardorb commented on Jun 5, 2018

    @leonardorb

    Any leads on this, folks? Some Windows machines are having the same issue.

  2. mikew commented on Jun 18, 2018

    @mikew

    Any reason you are running .bin/sequelize with node? It looks like it's a bash script.

    Does a plain node_modules/.bin/sequelize init work?

  3. rmoura-92 commented on Jun 19, 2018

    @rmoura-92
    Author

    @mikew will test soon im able to

  4. stale commented on Jun 21, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions