Hey is anyone having the same issue as me? As of t...
# prisma-whats-new
s
Hey is anyone having the same issue as me? As of the past 24 hours or so, this line,
const fromEvent = require("graphcool-lib").fromEvent
, when included in a function in a legacy project, throws this error
Copy code
SyntaxError: Unexpected token =
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Module._compile (/data/sandbox/lib/module.js:127:21)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at WebtaskModule.require (/data/sandbox/lib/module.js:101:19)
at require (/data/sandbox/lib/module.js:136:21)
at Object.<anonymous> (/data/io/29af25e3b10f4e559e5d20dd0f2430c2/webtask.js:1:81)
at WebtaskModule.compileWebtask (/data/sandbox/lib/module.js:95:34)
a
n