Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

Meteor 1.6 problem

Open jonasscherer opened this issue 9 years ago • 3 comments

Hi, I'm trying to dockerize the OHIF Viewer. I successfully created a build, but when I launch the bundle, I get this error:

build/bundle/programs/server/boot.js:50
    const { pause } = require("./debug.js");
          ^

SyntaxError: Unexpected token {
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:374:25)
    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 Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
...

I'm using Meteor 1.6 and it seems to be related to this version. Can somebody give me a hint or is there already a OHIF docker image? Thanks!

jonasscherer avatar Nov 22 '17 16:11 jonasscherer

Any solution to this?

sunbiz avatar Jan 27 '18 06:01 sunbiz

I had this issue when I tried to install this on Ubuntu Server 16.04. After some trial error and searching for a solution, I decided to wipe the system and install Ubuntu Server 17.10. Once I moved to Ubuntu 17.10, everything installed and worked just fine. Not exactly sure why it did not work on Ubuntu 16.04.

davidi1 avatar Mar 01 '18 15:03 davidi1

Not sure why this existed, but it doesn't appear to occur any longer, so I'll close it.

swederik avatar Jul 04 '18 06:07 swederik