#Top-level await

1 messages · Page 1 of 1 (latest)

meager hemlock
#

I'm seeing the following error: [ERROR] Top-level await is not available in the configured target environment ("node14")

Anyone know what the config is to switch to node16?

hidden phoenix
#

If this is local, you just need to switch your own Node version that is running the server, nvm etc. If it’s deployed you need to check the hosts docs

glossy tartan
#

If you're deploying with a Dockerfile it's the first line of your dockerfile

FROM node:18-bullseye-slim as base
livid flame