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

(v2-beta) SyntaxError: Unexpected reserved word #89

Open
good-idea opened this issue Dec 28, 2015 · 3 comments
Open

(v2-beta) SyntaxError: Unexpected reserved word #89

good-idea opened this issue Dec 28, 2015 · 3 comments

Comments

@good-idea
Copy link

After installing the beta, running any dploy command gives me this error:

/usr/local/lib/node_modules/dploy/index.js:3
import args from './lib/args';
^^^^^^

SyntaxError: Unexpected reserved word
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:413:25)
    at Module._extensions..js (module.js:452:10)
    at Object.require.extensions.(anonymous function) [as .js] (/usr/local/lib/node_modules/dploy/node_modules/babel-core/lib/api/register/node.js:214:7)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/dploy/bin/dploy:3:1)
    at Module._compile (module.js:434:26)

Maybe I missed something in the installation? I used:

sudo npm install https://github.com/LeanMeanFightingMachine/dploy.git#v2-beta -g
@davidwebca
Copy link

I found the 2.0 beta branch today because I needed the mapping feature, but I have the same error. Have you ever found a solution @SQbiz ? I searched around and found that it might be related to babel compiling es6 so I tried to change babel versions in the package, but to no avail.

@good-idea
Copy link
Author

@david-treblig no, never figured this out -- moved on to different solutions

@davidwebca
Copy link

davidwebca commented Sep 22, 2016

@SQbiz Dagn... alright, thanks for the quick reply!

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