Upgrade issue for truffle #4638
Unanswered
keshari1arya
asked this question in
General Q&A
Replies: 1 comment
-
@keshari1arya try: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to upgrade truffle to the latest version but after uninstalling and installing I am getting bellow error.
truffle init
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'C:\Users<username>\AppData\Roaming\npm\node_modules\truffle\build\cli.bundled.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm -v 8.3.2
node -v v16.13.0
commands i used:
npm uninstall truffle -g
npm install truffle -g
Beta Was this translation helpful? Give feedback.
All reactions