Giter Site home page Giter Site logo

generator-mobileangularui's People

Contributors

matohawk avatar mcasimir avatar remcovandenberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

generator-mobileangularui's Issues

Error on Gulp default task

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] ---------------------------------------------------------

    error: Error: [object Object]

    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()

    undefined

    error: TypeError: Cannot call method 'toString' of undefined

    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()

Ftp upload error

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)

error on lib\less\parser.js:333:27

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

running on mac, gulp build not working

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?

events.js:85 throw er; // Unhandled 'error' event

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)

Validation with Eclipse

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?

Nothing happens with the css.append or css.prepend files

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!

Error on creating project

I tried to install it, it works fine but when i run "yo mobileangularui". i end with this error.
asd

help me please. thanks

Error on gulp build: font-awesome less files missing

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])

font awesome icons are not showing

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 .

phonegap run ios

Another error on gulp build: font-awesome less files missing

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

Load css files under bower_components library

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.

'mobile-angular-ui/src/less/mobile-angular-ui.less' wasn't found.

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.

generator wont install

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

imagemin-pngcrush not building correctly

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.

Upgrade Font Awesome to 4.3

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.

Source Maps

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.

Problem with yeoman generator

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.