mcasimir / generator-mobileangularui Goto Github PK
View Code? Open in Web Editor NEWMobile Angular Ui Yeoman Generator
Mobile Angular Ui Yeoman Generator
I have several issue with weinre :
This module : require('./node_modules/weinre/node_modules/coffee-script');
Doesn't exist anymore in the latest weinre
When I commented this line I have this issue :
16:06:39] 'default' errored after 5.58 s
[16:06:39] ---------------------------------------------------------
stack:
gulp.js:161 - formatError()
gulp.js:187 - null()
events.js:117 - emit()
index.js:264 - Orchestrator._emitTaskDone()
index.js:275 - null()
runTask.js:21 - finish()
runTask.js:29 - cb()
index.js:38 - finish()
index.js:45 - onError()
events.js:117 - emit()
stack:
utils.js:84 - utils.ensureBoolean()
weinre.js:47 - processOptions()
weinre.js:29 - exports.run()
gulpfile.js:246 - gulp.task.tasks()
runTask.js:34 - module.exports()
index.js:273 - Orchestrator._runTask()
index.js:214 - Orchestrator._runStep()
index.js:134 - Orchestrator.start()
index.js:64 - runNextSet()
index.js:53 - onTaskEnd()
can any body help me to solve this issue,i get this when i try to upload file to ftp server
Error: read ECONNRESET
at exports._errnoException (util.js:746:11)
at TCP.onread (net.js:550:26)
Wrong place to post... Sorry
i followed guid to start a new project.
phonegap create ui
cd ui
yo mobileangularui
all went smooth, then when i run, it give me this error.
E:\xampp\htdocs\si\ui>gulp build [15:06:41] Using gulpfile E:\xampp\htdocs\si\ui\gulpfile.js [15:06:41] Starting 'build'... [15:06:41] Starting 'clean'... [15:06:41] Finished 'clean' after 39 ms [15:06:41] Starting 'html'... [15:06:41] Finished 'html' after 2.57 ms [15:06:41] Starting 'fonts'... [15:06:41] Starting 'images'... [15:06:41] Starting 'less'... [15:06:41] Finished 'less' after 6.27 ms [15:06:41] Starting 'js'... [15:06:41] Finished 'js' after 19 ms [15:06:41] gulp-imagemin: Minified 0 images (saved 0 B - 0%) [15:06:41] Finished 'images' after 44 ms events.js:85 throw er; // Unhandled 'error' event ^ Error at new Parser (E:\xampp\htdocs\si\ui\node_modules\gulp-less\node_modules\les s\lib\less\parser.js:333:27) at Object.less.render (E:\xampp\htdocs\si\ui\node_modules\gulp-less\node_mod ules\less\lib\less\index.js:18:22) at Transform._transform (E:\xampp\htdocs\si\ui\node_modules\gulp-less\index. js:38:10) at Transform._read (E:\xampp\htdocs\si\ui\node_modules\gulp-less\node_module s\through2\node_modules\readable-stream\lib\_stream_transform.js:184:10) at Transform._write (E:\xampp\htdocs\si\ui\node_modules\gulp-less\node_modul es\through2\node_modules\readable-stream\lib\_stream_transform.js:172:12) at doWrite (E:\xampp\htdocs\si\ui\node_modules\gulp-less\node_modules\throug h2\node_modules\readable-stream\lib\_stream_writable.js:237:10) at writeOrBuffer (E:\xampp\htdocs\si\ui\node_modules\gulp-less\node_modules\ through2\node_modules\readable-stream\lib\_stream_writable.js:227:5) at Transform.Writable.write (E:\xampp\htdocs\si\ui\node_modules\gulp-less\no de_modules\through2\node_modules\readable-stream\lib\_stream_writable.js:194:11) at write (E:\xampp\htdocs\si\ui\node_modules\gulp\node_modules\vinyl-fs\node _modules\through2\node_modules\readable-stream\lib\_stream_readable.js:623:24) at flow (E:\xampp\htdocs\si\ui\node_modules\gulp\node_modules\vinyl-fs\node_ modules\through2\node_modules\readable-stream\lib\_stream_readable.js:632:7) E:\xampp\htdocs\si\ui>yo mobileangularui --version 1.4.6
Hi,
I'm trying this and it doesn't do as advertised, I type:
yo mobileangularui
gulp build
and I get:
'mobile-angular-ui/src/less/mobile-angular-ui.less' wasn't found in file /Users/me/dev/workspace/phonegap/weather/src/less/app.less line no. 1
the process does not put mobile-angular-ui into the project root, should it?
No idea whats happening here.....
[05:35:43] Using gulpfile ~/git/newApp/gulpfile.js
[05:35:43] Starting 'build'...
[05:35:43] Starting 'clean'...
[05:35:43] Finished 'clean' after 28 ms
[05:35:43] Starting 'html'...
[05:35:43] Finished 'html' after 3.76 ms
[05:35:43] Starting 'fonts'...
[05:35:43] Starting 'images'...
[05:35:43] Starting 'less'...
[05:35:43] Finished 'less' after 6.14 ms
[05:35:43] Starting 'js'...
[05:35:43] Finished 'js' after 18 ms
[05:35:43] gulp-imagemin: Minified 0 images (saved 0 B - 0%)
[05:35:43] Finished 'images' after 39 ms
events.js:85
throw er; // Unhandled 'error' event
^
Error
at new Parser (/home/taylor/git/newApp/node_modules/gulp-less/node_modules/less/lib/less/parser.js:333:27)
at Object.less.render (/home/taylor/git/newApp/node_modules/gulp-less/node_modules/less/lib/less/index.js:18:22)
at Transform._transform (/home/taylor/git/newApp/node_modules/gulp-less/index.js:38:10)
at Transform._read (/home/taylor/git/newApp/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
at Transform._write (/home/taylor/git/newApp/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:12)
at doWrite (/home/taylor/git/newApp/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:237:10)
at writeOrBuffer (/home/taylor/git/newApp/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:227:5)
at Transform.Writable.write (/home/taylor/git/newApp/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:194:11)
at write (/home/taylor/git/newApp/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
at flow (/home/taylor/git/newApp/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
I've set up a phonegap application with this tool, and it's working fine, with one problem:
Eclipse validation does not work at all. I had to disable all validators to make the build work in eclipse, and it still underlines every css class in the html because it can't be found. Is there any way to resolve this or can you recommend me a better working IDE?
When you generate a new project, sidebar does not slide out because of missing property no the route definition in app.js.
Route should be defined as follows
$routeProvider.when('/', {templateUrl:'home.html', reloadOnSearch: false});
I have taken this from Angular Mobile UI demo
I have this in my 'config.js' file;
config.vendor.css.append.push('bower_components/sweetalert2/dist/sweetalert2.min.css');
Nothing happens.
When I looked into 'gulpfile.js', I noticed that vendor.css.append is never used in the gulp code.
What is the best way to add this already minified css file?
Thanks!
I am using phone gap for application development , how i can use the updated version of angularmobileui generator with phone-gap
Trying to build a project after a fresh yo mobileangularui
leads to the following error message:
$ gulp build
[13:37:08] Using gulpfile /private/tmp/m/gulpfile.js
[13:37:08] Starting 'build'...
[13:37:08] Starting 'clean'...
[13:37:08] Finished 'clean' after 16 ms
[13:37:08] Starting 'html'...
[13:37:08] Finished 'html' after 2.08 ms
[13:37:08] Starting 'fonts'...
[13:37:08] Starting 'images'...
[13:37:08] Starting 'less'...
[13:37:08] Finished 'less' after 5.21 ms
[13:37:08] Starting 'js'...
[13:37:08] Finished 'js' after 17 ms
[13:37:08] Finished 'fonts' after 32 ms
[13:37:08] gulp-imagemin: Minified 0 images (saved 0 B - 0%)
[13:37:08] Finished 'images' after 33 ms
[13:37:08] Finished 'build' after 54 ms
events.js:72
throw er; // Unhandled 'error' event
^
Error: 'font-awesome/less/mixins.less' wasn't found in file /private/tmp/m/bower_components/mobile-angular-ui/src/less/mobile-angular-ui.less line no. 11
Here are my node modules version and dependencies:
[email protected] /usr/local/lib/node_modules/gulp
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] /usr/local/lib/node_modules/yo
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
[email protected] /usr/local/lib/node_modules/generator-mobileangularui
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected])
I am getting error when running "yo mobileangularui" .
error is :
bower ENORESTARGET No tag found that was able to satisfy 1.2.x
Font Awesome icons are showing in browser(chrome and all) . but when i run in ios using below command then i can see '?' in ios emulator insted of icons .
I'm running into a similar error to the one reported in October.
I'm running on Windows (don't know if it makes a different) using git bash.
$ gulp build
[13:53:24] Using gulpfile c:\SvnCXDSrc\weather\gulpfile.js
[13:53:24] Starting 'build'...
[13:53:24] Starting 'clean'...
[13:53:24] Finished 'clean' after 19 ms
[13:53:24] Starting 'html'...
[13:53:24] Finished 'html' after 1.71 ms
[13:53:24] Starting 'fonts'...
[13:53:24] Starting 'images'...
[13:53:24] Starting 'less'...
[13:53:24] Finished 'less' after 4.15 ms
[13:53:24] Starting 'js'...
[13:53:24] Finished 'js' after 12 ms
[13:53:24] gulp-imagemin: Minified 0 images (saved 0 B - 0%)
[13:53:24] Finished 'images' after 25 ms
events.js:72
throw er; // Unhandled 'error' event
^
Error: 'font-awesome/less/spinning.less' wasn't found in file c:\SvnCXDSrc\weather\bower_components\mobile-angular-ui\src\less\mobile-angular-ui.less line no. 18
Hi. I add an angular-ui slider and I need to load a css file of jquery-ui library. In the config.js you can attach a js file, using config.vendor.js.push, but you can't attach a css file. How can I do this?. Thanks.
Hi, just after following initial instruction I had this error
gulp build
/Users/my_user_dir/Documents/Travail/phonegap/weather/node_modules/gulp-less/node_modules/accord/node_modules/when/lib/decorators/unhandledRejection.js:80
throw e;
^
Error: 'mobile-angular-ui/src/less/mobile-angular-ui.less' wasn't found.
[...]
in file /Users/my_user_dir/Documents/Travail/phonegap/weather/src/less/app.less line no. 1
I found that there was no file mobile-angular-ui.less
, only mobile-angular-ui-base.less
, mobile-angular-ui-desktop.less
, mobile-angular-ui-migrate.less
in mobile-angular-ui.
I changed app.less
to import mobile-angular-ui-base.less
which works. I don't know if this is the right file to use. Maybe the app.less generator or the instruction should reflect this change.
wont install
ohbocmb3g3qd:~ hannade$ sudo npm install -g generator-mobileangularui
npm WARN peerDependencies The peer dependency yo@>=1.0.0 included from generator-mobileangularui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
[email protected] install /usr/local/lib/node_modules/generator-mobileangularui/node_modules/slug/node_modules/unicode/node_modules/bufferstream/node_modules/buffertools
node-gyp rebuild
CXX(target) Release/obj.target/buffertools/buffertools.o
SOLINK_MODULE(target) Release/buffertools.node
SOLINK_MODULE(target) Release/buffertools.node: Finished
[email protected] postinstall /usr/local/lib/node_modules/generator-mobileangularui/node_modules/slug/node_modules/unicode
node install.js
try to read file /usr/share/unicode/UnicodeData.txt …
/usr/share/unicode/UnicodeData.txt not found.
try to read file /usr/share/unicode-data/UnicodeData.txt …
/usr/share/unicode-data/UnicodeData.txt not found.
try to read file UnicodeData.txt …
UnicodeData.txt not found.
try to download …
GET unicode.org:80/Public/UNIDATA/UnicodeData.txt
request timed out.
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "generator-mobileangularui"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node install.js'.
npm ERR! This is most likely a problem with the unicode package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls unicode
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/hannade/npm-debug.log
ohbocmb3g3qd:~ hannade$ cordova --version
5.0.0
ohbocmb3g3qd:~ hannade$ sudo npm install -g generator-mobileangularui
npm WARN peerDependencies The peer dependency yo@>=1.0.0 included from generator-mobileangularui will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
[email protected] install /usr/local/lib/node_modules/generator-mobileangularui/node_modules/slug/node_modules/unicode/node_modules/bufferstream/node_modules/buffertools
node-gyp rebuild
CXX(target) Release/obj.target/buffertools/buffertools.o
SOLINK_MODULE(target) Release/buffertools.node
SOLINK_MODULE(target) Release/buffertools.node: Finished
[email protected] postinstall /usr/local/lib/node_modules/generator-mobileangularui/node_modules/slug/node_modules/unicode
node install.js
try to read file /usr/share/unicode/UnicodeData.txt …
/usr/share/unicode/UnicodeData.txt not found.
try to read file /usr/share/unicode-data/UnicodeData.txt …
/usr/share/unicode-data/UnicodeData.txt not found.
try to read file UnicodeData.txt …
UnicodeData.txt not found.
try to download …
GET unicode.org:80/Public/UNIDATA/UnicodeData.txt
request timed out.
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "generator-mobileangularui"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node install.js'.
npm ERR! This is most likely a problem with the unicode package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls unicode
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/hannade/npm-debug.log
Hello everyone, I've created a new application, installed everything, built it an everything was ok.
When modifying the app I inserted an image in the images folder and after that the gulp build task was failing. It seems that the pngcrush binary was not ok and could not be executed:
"bash: ./pngcrush: cannot execute binary file"
I've done npm uninstall imagemin-pngcrush and right after npm install imagemin-pngcrush and now everything is working.
bower.json has a dependency reference to "font-awesome": "4.2" and there is a 4.3 release available. I tried to update on my app and received an error when running gulp:
at new Parser /... /node_modules/less/lib/less/parser.js:333:27
I'm not a power user when it comes to bower, less or other of these web build technologies so I am unable to provide much help.
Hi ,
i am deleaing with a new project and trying to evaluate the system , so how we can create a new html template ,editing css using the generator
In the default gulpfile.js you should swap the order of lines 217 and 218. It should be:
.pipe(rename({suffix: '.min'}))
.pipe(sourcemaps.write('.'))
Otherwise, the sourcemaps cannot be found.
I have an error creating the app, instantiating "yo mobileangularui"
module.js:338
throw err;
^
Error: Cannot find module 'unicode/category/So'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at symbols (C:\Users\maganas\AppData\Roaming\npm\node_modules\generator-mobi
leangularui\node_modules\slug\slug.js:6:16)
at C:\Users\maganas\AppData\Roaming\npm\node_modules\generator-mobileangular
ui\node_modules\slug\slug.js:123:5
at Object. (C:\Users\maganas\AppData\Roaming\npm\node_modules\gen
erator-mobileangularui\node_modules\slug\slug.js:130:2)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.