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

SyntaxError: Unexpected token function #5

Open
oscar3332000 opened this issue Jun 26, 2019 · 0 comments
Open

SyntaxError: Unexpected token function #5

oscar3332000 opened this issue Jun 26, 2019 · 0 comments

Comments

@oscar3332000
Copy link

Hello,

Once I installed cloudfoundation and run cfdn --version, I am getting the following error:

/usr/lib/node_modules/cloudfoundation/src/init/index.js:12
module.exports = async function init () {
                       ^^^^^^^^

SyntaxError: Unexpected token function
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:549:28)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/lib/node_modules/cloudfoundation/src/index.js:2:14)
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