You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
esrun index1.ts
node:internal/process/esm_loader:40
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\stef\solana1\node_modules\.bin\node_modules\dotenv\config.js' imported from C:\Users\stef\solana1\node_modules\.bin\esrun-1714418302774.tmp.mjs
Did you mean to import ../../dotenv/config.js?
at __node_internal_captureLargerStackTrace (node:internal/errors:497:5)
at new NodeError (node:internal/errors:406:5)
at finalizeResolution (node:internal/modules/esm/resolve:233:11)
at moduleResolve (node:internal/modules/esm/resolve:845:10)
at defaultResolve (node:internal/modules/esm/resolve:1043:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36) {
url: 'file:///C:/Users/stef/solana1/node_modules/.bin/node_modules/dotenv/config.js',
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v20.9.0
And the same file without esrun is working fine
The text was updated successfully, but these errors were encountered:
All I do is
And the same file without esrun is working fine
The text was updated successfully, but these errors were encountered: