Not able to run React js project
-
Hi
I am following this steps
https://onsen.io/v2/docs/guide/react/
but when i run monaca preview i am getting "Failed serving project: Missing Webpack Build Dependencies."
system info
windows 10
Node 6.9.1
npm 3.10.8
-
-
@sachinshetty22 What’s the output when you do
monaca create projectdir
? The build dependencies should have been installed in that step. Try to runmonaca reconfigure
inside your project folder.
-
this is what i get when i run create cmd. monaca reconfigure didn’t work for me :disappointed_relieved:
-
@sachinshetty22 Can you check
~/.cordova/
and see if you havenode_modules
there? Try to remove that folder and runmonaca reconfigure
again.
-
I got this problem too when I clone my Monaca project from git.Why it so unusual like other node projects?
del .cordova doesn’t make monaca preview work. What should I do when a clone the project to another machine?
-
@emj365 Like I mentioned in my last comment, try
monaca reconfigure