thirdweb-example/nft-staking-app

error on npx thirdweb create

onoja64 opened this issue · 0 comments

I get this error when I run npx thirdweb create on cmd.
can anyone help out ?

node:internal/modules/cjs/loader:361
      throw err;
      ^

Error: Cannot find module 'C:\Users\user\AppData\Local\npm-cache\_npx\8d2f9c029655e602\node_modules\@thirdweb-dev\storage\dist\thirdweb-dev-storage.cjs.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (node:internal/modules/cjs/loader:353:19)
    at Function.Module._findPath (node:internal/modules/cjs/loader:566:18)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (C:\Users\user\AppData\Local\npm-cache\_npx\8d2f9c029655e602\node_modules\@thirdweb-dev\sdk\dist\node\index.js:37505:22)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32) {
  code: 'MODULE_NOT_FOUND',
  path: 'C:\\Users\\user\\AppData\\Local\\npm-cache\\_npx\\8d2f9c029655e602\\node_modules\\@thirdweb-dev\\storage\\package.json',
  requestPath: '@thirdweb-dev/storage'
}