Hello,
I’m encountering a problem starting Cesium after a successful “node install” on a Ubuntu 16.04.2 VM hosted in Virtual Box. Has anyone seen this error before?
Thank you
root@cesium1:/usr/local/bin# node server.js
/usr/local/bin/server.js:10
var gzipHeader = Buffer.from(‘1F8B08’, ‘hex’);
^
TypeError: hex is not a function
at Function.from (native)
at Function.from (native)
at /usr/local/bin/server.js:10:29
at Object. (/usr/local/bin/server.js:201:3)
at Module._compile (module.js:410:26)
at Object.Module._extensions…js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
13 Temmuz 2017 Perşembe 18:07:56 UTC+3 tarihinde darryl....@gmail.com yazdı:
Hello,
I'm encountering a problem starting Cesium after a successful "node install" on a Ubuntu 16.04.2 VM hosted in Virtual Box. Has anyone seen this error before?
Thank you
root@cesium1:/usr/local/bin# node server.js
/usr/local/bin/server.js:10
var gzipHeader = Buffer\.from\('1F8B08', 'hex'\);
^
TypeError: hex is not a function
at Function.from (native)
at Function.from (native)
at /usr/local/bin/server.js:10:29
at Object.<anonymous> (/usr/local/bin/server.js:201:3)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
Hello, i get the same error, did you solve it ?
Hello,
I was using Ubuntu and needed to into nodejs-legacy
Hope that helps!
Darryl
“needed to install nodejs-legacy”
Sorry, writing before my coffee