question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

deploy fails - const { pause } <-- unexpected token

See original GitHub issue

After updating to meteor 1.6, I get a run failure on the server when deploying, does anyone else have this?

docker image: ‘abernix/meteord:base’

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

Object destructuring or transpiling to es6 doesn’t seem to work. I’m not sure if the issue is with mup or my particular setup (which is a standard meteor setup)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
stefanvecommented, Nov 10, 2017

Try using abernix/meteord:node-8.9.1-base That worked for me

1reaction
zoderncommented, May 2, 2018

@LucNaterop you can customize the docker image to use the correct version of node, or use a different base image and install graphicsmagick: http://meteor-up.com/docs#customize-docker-image

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] Deploying 1.6 with mup fails - help - Meteor forums
I upgraded to Node 8.8.1 on the development pc, which didn't help, and the error is coming from the server anyway. I see...
Read more >
SyntaxError: Unexpected token 'const' -- despite the fact that I ...
So I went through my db.js file and changed const to var, and I'm getting the exact same error*, no matter how I...
Read more >
Vlocity Deployment Returns Error Unexpected Token in JSON ...
The errors "Unexpected token in JSON at position", are caused by an incorrect format of the Vlocity files with names ending with DataPack....
Read more >
meteor-up/Lobby - Gitter
@nikdale There is no error when deploying apps with Meteor 1.8, I currently have 5 apps running perfectly fine. What errors are you...
Read more >
Error when adding ERC20VotesUpgradeable - Upgrades ...
I have an upgradeable ERC20 token deployed that I want to add Governance. ... constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes32 public constant ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found