Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Start Errors after install on debain #84

Open
freedomtrain opened this issue Apr 10, 2017 · 4 comments
Open

Start Errors after install on debain #84

freedomtrain opened this issue Apr 10, 2017 · 4 comments
Labels

Comments

@freedomtrain
Copy link

I have installed hypercloud on debain and when I receiving some errors the below errors that are preventing hypercloud from starting

Detected node version 6, transpiling async to generators
Data directory: ./.hypercloud
body-parser deprecated undefined extended: provide extended option index.js:35:22
/var/www/vhosts/hamer.io/cloud.hamer.io/hypercloud/node_modules/hypercloud-ui-vanilla/index.js:37
app.get('/', async ({req, res}) => {
^
SyntaxError: Unexpected token (
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:542:28)
at Module._extensions..js (module.js:579:10)
at Object.require.extensions.(anonymous function) [as .js] (/var/www/vhosts/hamer.io/cloud.hamer.io/hypercloud/node_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at module.exports (/var/www/vhosts/hamer.io/cloud.hamer.io/hypercloud/index.js:135:13)
at Object. (/var/www/vhosts/hamer.io/cloud.hamer.io/hypercloud/bin.js:5:11)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:

@pfrazee
Copy link
Collaborator

pfrazee commented Apr 11, 2017

I'll check into this, thanks

@pfrazee pfrazee added the bug label Apr 11, 2017
@pfrazee
Copy link
Collaborator

pfrazee commented Apr 19, 2017

Hey Fred, what version of node are you using? Is it 6?

@freedomtrain
Copy link
Author

node -v
v7.7.1

@pfrazee
Copy link
Collaborator

pfrazee commented Apr 20, 2017

That's odd, it's detecting v6. Try commenting out everything in https://github.com/datprotocol/hypercloud/blob/master/nodecompat.js and see if it works

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants