Created
August 25, 2022 09:58
-
-
Save somerongit/f1ef2ea75fb9b2d4a12b7c1a81333fcf to your computer and use it in GitHub Desktop.
node:internal/modules/cjs/loader:936 throw err; Error: Cannot find module 'dotenv'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install dotenv | |
JS ==> require('dotenv').config() | |
TS ==> import 'dotenv/config' | |
process.env.PORT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment