0

I am this error when i am trying to run the sanity.io in node.

node:internal/modules/cjs/loader:933
  const err = new Error(message);
              ^

Error: Cannot find module 'dotenv'
Require stack:
- D:\APIs\node_modules\@sanity\cli\lib\cli.js
    ...... {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'D:\\APIs\\node_modules\\@sanity\\cli\\lib\\cli.js' ]
}
Ayush
  • 49
  • 2
  • 9

0 Answers0