Accessing env variables + TS errors
process is:Cannot find name 'process'. Do you need to install type definitions for node? Trynpm i --save-dev @types/nodeand then add 'node' to the types field in your tsconfig. (tsserver 2591)
I see in Convex's
tsconfig.json the following:Any thoughts on what I ought to do here? I'd think everyone would encounter this when trying to use environment variables in their Convex actions, unless the Convex-generated
tsconfig.json file has changed its contents since I last generated it 