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

Support Destructuring assignment #23

Open
Ni55aN opened this issue Mar 12, 2019 · 0 comments
Open

Support Destructuring assignment #23

Ni55aN opened this issue Mar 12, 2019 · 0 comments

Comments

@Ni55aN
Copy link

Ni55aN commented Mar 12, 2019

/usr/local/lib/node_modules/colony/bin/colony:101
    if (err) throw err
             ^

Error: Line 2: Unexpected token {
    at throwError (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:1151:21)
    at throwUnexpected (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:1210:9)
    at parseVariableIdentifier (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:2081:13)
    at /usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:3295:38
    at parseVariableDeclaration (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:2091:18)
    at /usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:3295:38
    at parseVariableDeclarationList (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:2118:23)
    at parseConstLetDeclaration (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:2153:24)
    at /usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:3295:38
    at parseSourceElement (/usr/local/lib/node_modules/colony/node_modules/esprima/esprima.js:3021:24)

index.js

require('app-module-path').addPath(__dirname);
const { app, sequelize } = require('./app');
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