when i am going to run a node js code ,it shows like this Error: Cannot find module 'walk' Require stack: - V:\ga2\moban4943\k1\node_modules\hbs\lib\hbs.js - V:\ga2\moban4943\k1\node_modules\express\lib\view.js - V:\ga2\moban4943\k1\node_modules\express\lib\application.js - V:\ga2\moban4943\k1\node_modules\express\lib\express.js - V:\ga2\moban4943\k1\node_modules\express\index.js - V:\ga2\moban4943\k1\app.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:92:18) at Object. (V:\ga2\moban4943\k1\node_modules\hbs\lib\hbs.js:3:12) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:14) at Module.require (internal/modules/cjs/loader.js:974:19) whats the point of my code ?how to fix it ?
when i am going to run a node js code ,it shows like this
Error: Cannot find module 'walk' Require stack: - V:\ga2\moban4943\k1\node_modules\hbs\lib\hbs.js - V:\ga2\moban4943\k1\node_modules\express\lib\view.js - V:\ga2\moban4943\k1\node_modules\express\lib\application.js - V:\ga2\moban4943\k1\node_modules\express\lib\express.js - V:\ga2\moban4943\k1\node_modules\express\index.js - V:\ga2\moban4943\k1\app.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:92:18) at Object.<anonymous> (V:\ga2\moban4943\k1\node_modules\hbs\lib\hbs.js:3:12) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:14) at Module.require (internal/modules/cjs/loader.js:974:19)
whats the point of my code ?how to fix it ?
Trending now
This is a popular solution!
Step by step
Solved in 2 steps