I am new at using node.js and i am trying this new react framework called frontity for wordpress. Everything went great at first and "npx frontity dev" command worked fine and i was able to access the "localhost:3000" then while pointing my wordpress site i thought i messed up details and i didn't know the default ones. So i deleted the directory that was created by Node.js using "npx frontity create my-app". Then i uninstalled node.js and tried same again. Now this time when i used "npx frontity dev" it displayed internal server error. So i deleted the Displayed Errordirectory again and uninstalled and re installed node.js multiple times. Now when i try using "npx frontity dev" command it displays the error shown in images with keywords " WARNING in C:/my-app/node_modules/@babel/runtime/helpers/defineProperty.js There are multiple modules with names that only differ in casing." Help me, i am unable to find a solution to this.
Asked
Active
Viewed 767 times
1
-
seems like a caching issue. Try running `npm cache verify` and then try to set up a frontity project – lanxion Aug 16 '20 at 16:58
-
It Displays: "Cache verified and compressed (~\AppData\Roaming\npm-cache\_cacache): Content verified: 1447 (45668038 bytes) Index entries: 2219 Finished in 3.15s" – Alok Dadapure Aug 16 '20 at 17:05
-
try to remove this file node_module and the yarn .lock package.lock and try to install again – Mohammed Al-Reai Aug 17 '20 at 05:30
-
Take a look at this and see if it helps: https://stackoverflow.com/a/53901224 – Michael Aug 18 '20 at 10:10