Comments (9)
i found the problem, here is the solution
/project/cordova/plugins/cordova-plugin-hostedwebapp/scripts/updateConfigurationBeforePrepare.js
line 123: change to context.requireCordovaModule('elementtree');
/project/cordova/plugins/cordova-plugin-hostedwebapp/scripts/updateConfigurationAfterPrepare.js
line 32: change to context.requireCordovaModule('elementtree');
from manifoldcordova.
@boyofgreen why has this been closed, the error is still very much live....
from manifoldcordova.
Thanks for the comment, can you provide us with the os, node version and plugin version you ate using?
Thanks,
Jeff
from manifoldcordova.
Hi Jeff,
I tried on windows 7 & Mac OSX El Capitan,
Windows:
node -v : 4.3.1
Mac :
node -v : 6.2.2
Plugin version : 0.3.0
I think I found the problem, node_modules is located in platforms/ios/cordova/node_modules
, but in js files inside scripts folder of the plugin, the path is cordova-lib/node_modules
. I changed cordova-lib
to cordova
and build was successful, but not sure yet if the plugin functions well.
Thanks,
Ramtin
from manifoldcordova.
anyone manage to get this fix? I have this issue for android as well
from manifoldcordova.
are you using nvm by chance?
from manifoldcordova.
@boyofgreen , nope i'm not using nvm.
node -v
v6.3.1
npm -v
3.10.5
from manifoldcordova.
Thank you @cometta we have work starting soon, we'll get this fix in.
from manifoldcordova.
Any updates on this? Still having issues with that. I could fix the issue locally, the build happens in the ionic could, so the local fix doesn't really help. Any ideas?
from manifoldcordova.
Related Issues (20)
- Cookies cleared on app restart in Android release build HOT 3
- Release version with fix for #82
- HostedWebApp Plugin not working for iOS HOT 1
- Visual studio process
- cordova-plugin-file doesn't work with ManifoldCordova on Windows 10
- Is there a soon coming update? HOT 6
- Error: Cannot find module '../../node_modules/elementtree' HOT 7
- can't been installed in visual studio 2015, character '<' is illegal
- Ho do I handle no Internet case on application start? HOT 1
- missing cordova.js HOT 1
- How to deal with downloads?
- View doesn't shrink when soft keyboard is shown on Android
- Support android v 8.0.0. HOT 1
- Add platform: Invalid or unexpected token HOT 2
- iOS App - Opens safari - Incase url redirections from http to https Web URL HOT 1
- ErrorUrl not working / whitelist issue HOT 2
- Webview cache not being used (iOS) HOT 4
- Superfluous injection into child iframes (iOS) HOT 2
- Does not work with the latest cordova-ios version HOT 6
- Support for WKWebView on iOS HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manifoldcordova.