Parity-ethereum: Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval'

Created on 29 Mar 2018  ·  2Comments  ·  Source: openethereum/parity-ethereum

_Before filing a new issue, please provide the following information._

I'm running:

  • Which Parity version?: 1.9.4
  • Which operating system?: Windows
  • How installed?: via installer
  • Are you fully synchronized?: no
  • Which network are you connected to?: dev
  • Did you try to restart the node?: yes

When I open the dapp on the browser nothing is shown and I get the following errors:
image

M8-dapp 💎 Z1-question 🙋‍♀️

Most helpful comment

Hi @vieiralc please add allowJsEval: true to your manifest.json. We've recently disallowed eval by default.
To avoid that you should configure your build process to produce JS without eval (possibly it's just sourcemaps, so make sure to configure them differently).

All 2 comments

Hi @vieiralc please add allowJsEval: true to your manifest.json. We've recently disallowed eval by default.
To avoid that you should configure your build process to produce JS without eval (possibly it's just sourcemaps, so make sure to configure them differently).

@tomusdrw Thanks, it worked!

Was this page helpful?
0 / 5 - 0 ratings