Closed jsakamoto closed 6 years ago
Could you check your node_modules to see the npm modules that were installed ?
Could you check your node_modules to see the npm modules that were installed ?
Yes, there is the npm module as ~/node_module/npm folder.
After I'm investigating this issue for few hours, I found a solution for me.
The version of npm which global installed in my pc was v.5.5.1.
But, the version of npm which project local installed by this plugin is v.5.6.0.
So I tried to solve this issue by upgrading the npm version of global installed as following command.
> npm install -g npm
After that, cordova plugin add cordova-plugin-browsersync
works fine, even if android platform is added or not.
Will this information be useful to you or to those who encountered this problem?
I think this is great info. Can you send a PR to the README to include this info ? I am sure it would help others .
Environment
After
cordova create ...
, and installed "browser" and "android" platforms.What's happen?
When I execute the command as following,
the command reported the error as follows.
Note
I was successes installing this plugin to the cordova project, which wasn't added "android" platform.
What can I do?
Is there any workarounds?
Thanks,