You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to switch internal apps to monorepositories and it's best to build deployables using packagers like @zeit/ncc, parcel, webpack, etc, but when doing so, default options blip out.
async function* asyncIterator() {
^
SyntaxError: Unexpected token *
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:188:16)
at bootstrap_node.js:609:3
This output was created from calling type-graphql built with both zeit and parcel due to incompatibility with lambda's node versions.
What package would cause this?
The text was updated successfully, but these errors were encountered:
That example is working because they are using node externals which excludes externals and I’m assuming they aren’t using web sockets so the files in issue aren’t being required. ncc/parcel is pulling them all into one file so that’s why it’s freaking out. I’m gonna try to get the compiler to ignore the websocket packages and see if it compiles this week.
I'm trying to switch internal apps to monorepositories and it's best to build deployables using packagers like
@zeit/ncc
,parcel
,webpack
, etc, but when doing so, default options blip out.This output was created from calling
type-graphql
built with both zeit and parcel due to incompatibility with lambda's node versions.What package would cause this?
The text was updated successfully, but these errors were encountered: