0 info it worked if it ends with ok
1 verbose cli [ 'D:\programowanie\node.exe',
1 verbose cli 'D:\programowanie\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'cordova',
1 verbose cli 'ionic' ]
2 info using npm@2.14.7
3 info using node@v4.2.1
4 verbose install initial load of C:\Users\453\package.json
5 verbose readDependencies loading dependencies from C:\Users\453\package.json
6 silly cache add args [ 'cordova', null ]
7 verbose cache add spec cordova
8 silly cache add args [ 'ionic', null ]
9 verbose cache add spec ionic
10 silly cache add parsed spec Result {
10 silly cache add raw: 'cordova',
10 silly cache add scope: null,
10 silly cache add name: null,
10 silly cache add rawSpec: 'cordova',
10 silly cache add spec: 'C:\Users\453\cordova',
10 silly cache add type: 'local' }
11 silly cache add parsed spec Result {
11 silly cache add raw: 'ionic',
11 silly cache add scope: null,
11 silly cache add name: null,
11 silly cache add rawSpec: 'ionic',
11 silly cache add spec: 'C:\Users\453\ionic',
11 silly cache add type: 'local' }
12 silly addLocalTarball shasum (computed) dce67db7a64e85b1c5dd994ac15136a2f92a4204
13 verbose addTmpTarball C:\Users\453\cordova not in flight; adding
14 silly addLocalTarball shasum (computed) 52b148bdb03b513c0ed3741f3aa5cbbac7d52caa
15 verbose addTmpTarball C:\Users\453\ionic not in flight; adding
16 verbose addTmpTarball validating metadata from C:\Users\453\cordova
17 verbose tar unpack C:\Users\453\cordova
18 verbose tar unpacking to C:\Users\453\AppData\Local\Temp\npm-4632-49219817\unpack-a954f1263304
19 silly gentlyRm C:\Users\453\AppData\Local\Temp\npm-4632-49219817\unpack-a954f1263304 is being purged
20 verbose gentlyRm don't care about contents; nuking C:\Users\453\AppData\Local\Temp\npm-4632-49219817\unpack-a954f1263304
21 verbose addTmpTarball validating metadata from C:\Users\453\ionic
22 verbose tar unpack C:\Users\453\ionic
23 verbose tar unpacking to C:\Users\453\AppData\Local\Temp\npm-4632-49219817\unpack-03008a6d883b
24 silly gentlyRm C:\Users\453\AppData\Local\Temp\npm-4632-49219817\unpack-03008a6d883b is being purged
25 verbose gentlyRm don't care about contents; nuking C:\Users\453\AppData\Local\Temp\npm-4632-49219817\unpack-03008a6d883b
26 silly gunzTarPerm modes [ '777', '666' ]
27 silly gunzTarPerm modes [ '777', '666' ]
28 error not a package C:\Users\453\ionic
29 error addLocal Could not install C:\Users\453\ionic
30 error not a package C:\Users\453\cordova
31 error addLocal Could not install C:\Users\453\cordova
32 verbose stack Error: ENOENT: no such file or directory, open 'C:\Users\453\AppData\Local\Temp\npm-4632-49219817\unpack-03008a6d883b\package.json'
32 verbose stack at Error (native)
33 verbose cwd C:\Users\453
34 error Windows_NT 10.0.10240
35 error argv "D:\programowanie\node.exe" "D:\programowanie\node_modules\npm\bin\npm-cli.js" "install" "-g" "cordova" "ionic"
36 error node v4.2.1
37 error npm v2.14.7
38 error path C:\Users\453\AppData\Local\Temp\npm-4632-49219817\unpack-03008a6d883b\package.json
39 error code ENOENT
40 error errno -4058
41 error syscall open
42 error enoent ENOENT: no such file or directory, open 'C:\Users\453\AppData\Local\Temp\npm-4632-49219817\unpack-03008a6d883b\package.json'
42 error enoent This is most likely not a problem with npm itself
42 error enoent and is related to npm not being able to find a file.
43 verbose exit [ -4058, true ]
Problem with instalation
Ionic Retention Chart
It seems the ionic retention chart doesnt work.
I change the dates and fields but it doesnt update the information on the view.
-Andre Woodley Jr.
Problem with instalation
Yea, it looks like its trying to access files on two different harddrives which is causing the errors. I'm not exactly sure what you posted, but thats what it looks like.
I would keep all development to a single harddrive to avoid this. If I were you, I might try removing all dependencies and npm, and starting fresh.
Ionic on BlackBerry 10
Hey.
After a bit of messing round i found that theres something in the tapHandleFocus function on line 3021 of ionic.bundle.js that seems to be messing with it, specifically the variable triggerFocusIn
I had to comment out lines 3024 and 3030 to make the select element work in my app on blackberry10
only trouble is that now it wont work on android
Still, its progress..
Thanks
Sync between remote mysql and ionic app sglite
hi,
i was looking if there is any plugin or script to povide the functionality of db sync between remote mysql tables and ionic app sqlite tables, i already did this before using the time stamp way for each record, but the problem only when delete record from the remote mysql table, i want one way sync from mysql to sqlite. any plugin ? idea ? or hint to solve this issue ? or the delete issue !?
Problem with instalation
I'll try it but problem is to when i change directory within the same disk when i change directory form c:\users\piotr to c:\users\ ionic and cordova didn't work
Whats affecting the performance of the app ? inline css?
Consider using Profiling in Chrome dev tools
IOS9 Launch Image
Does anyone have any input on this? I think this is related to a problem I am having with iOS 9 where the default Cordova splash screen is showing instead of mine. It works fine on Android, iOS8 and below and also some older model iPhones that are running iOS9
Help in eliminating extra spaces between rows
Please format your code in post if you want to get help
Ionic app - Production
Have a look at the gulp file generated by generator-m-ionic
Ui-sref not firing on first click when using multiple resolves
Hello everyone, I have the following state:
.state('app.category', {
url: '/categories/:categoryId',
views: {
'menuContent': {
templateUrl: 'templates/category.html',
controller: 'CategoryCtrl'
}
},
resolve: {
category: function ($stateParams, TestCategoriesService) {
return TestCategoriesService.getCategory($stateParams.categoryId);
},
tests: function (category, TestService) {
return TestService.getTestsByCategory(category.id);
}
}
})
controller:
.controller('CategoryCtrl', function ($scope, category, tests) {
$scope.category = category;
$scope.tests = tests;
})
and access it via ui-sref:
<a ui-sref="app.category({categoryId: categories[i].$id })">
Everything is working, despite the fact that ui-sref is not firing on my first click, but only on the second one. When I remove one of the resolves in the state, the problem is gone.
I would appreciate your help on this one!
'resume' isn't triggering consistently
You're probably right. But my problem is when the app is hidden, not closed. Not sure what I am doing wrong here.
One thing I'm still trying to get my head around is in what order code executes. I seem o have to use $timeout()
a lot so that things don't execute before the should. Maybe that's part of my problem?
Npm parse-address
Are you sure parse-address can be used in a browser/web view?
Can I use Ionic to build an app from en existing website?
Thanks guys. My friend was really after something super easy, basically just mirroring the website on the app. I'll take the feedback and talk to him about what he wants to do. I appreciate the responses!
Edit name of the app in package.json
The name in package.json is not used for building your app, so you can change it.
It's only used when publishing to npm registry for using npm install
which would make no sense for an ionic app.
New to iOnic and android SDK... please help
You can try GenyMotion but nothing compares to a real device connected via USB.
How to get selected dropdown list value
- Hi, I am building my first app as a mobile programmer (I have a Windows C# background). I have a view which has a series of rows with three column items: a label, a pre-populated dropdown box and an adjacent textbox. The textbox should only be enabled if 'Other' is selected in the dropdown box. Here's one of the rows:
div class="col col-30">Placement:
ng-disabled="(SelectedItem.Placements !="Other")>undefined>
It doesn't work. The controller has the following code to populate this dropdown box in the view:
$scope.Placements = [{ id: '1', Title: 'Tailgate' },
{ id: '2', Title: 'Line Pump' },
{ id: '3', Title: 'Grout Pump' },
{ id: '4', Title: 'Boom Pump' },
{ id: '5', Title: 'Other' }]
The documentation suggest that I use the GetValue function in the controller to retrieve the selected value. I tried this for the above row:
$scope.GetValue = function (placement) {
var placementId = $scope.SelectedItem.Placements;
var placementName = $.grep($scope.Placements, function (placement) {
return placement.Id == placementId;
})[0].Name;
$window.alert("Selected Value: " + placementId + "\nSelected Text: " + placementName);
}
Last statement was debug -- it didn't execute.
That didn't work either. Do I need to overload this function for each dropdown box? Do I need to wrap each row with a new ng-controller? Is it possible to get the selected value directly without using this function?
Regards,
Bob Fidelman
Change npm install directory by default
node_modules contains only modules used to build your app not be included into your app.
Use the tools as they were intended to: use bower.
Change toggle button state after question
Have you tried to prevent event from propagating using $event.stopPropagation()?
How to get selected dropdown list value
Well that didn't show the HTML coding very well at all. I'll try it without the left caret on each line.:
div class="row"
div class="col col-30">Placement:
div class="col col-30">
select ng-model="SelectedItem.Placements" ng-options="placement as placement.Title for placement in Placements">
/div>
input type="text" ng-model="newMix.Placement" style="background-color:#ffd800"
ng-disabled="(SelectedItem.Placements !="Other")>
/div>