I need to make changes in an existing MVC .Net application.
Here one of the module is written in React js.
I need to compile the changes, I am trying npm run build command, in the path/folder where these React files are saved.
I get an error like below,
Error: Cannot find module 'C:Program Files
odejs
ode_modules
pmin
pm-cli.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
internal/modules/cjs/loader.js:883
throw err;
Node js version 14 is installed.
Please help, I would like to know, how I can compile the changes related to React js.
question from:
https://stackoverflow.com/questions/65937945/build-react-application-on-node-js-version-14 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…