-1

I am importing from .env using const EXAMPLE_VAR = process.env.EXAMPLE_VAR This is in a config file, when I run a script which fetches data from the config I get this error:

ReferenceError: proccess is not defined

I think I need to install something, how do I fix this?

I tried running yarn add proccess, that gave me this error: error An unexpected error occurred: "https://registry.yarnpkg.com/proccess: Not found".

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437

1 Answers1

0

I needed to use "process" instead of "proccess", my mistake.