Quantcast
Channel: Ionic Forum - Latest topics
Viewing all 70921 articles
Browse latest View live

Ionic serve issue showing error


Ionic Calendar

$
0
0

@sachininara wrote:

Hi,

I am using ionic2-calendar to display events. In LG, Samsung phones which has Android version 5.1.1 and more than those events not load properly. But load in browser.

Could you plz help me to solve this issue.

Thanks & Regards!

Posts: 1

Participants: 1

Read full topic

Bootstrap Ionic `` in custom Angular component

$
0
0

@daandesmedt wrote:

0
down vote
favorite
I want to bootstrap the Ionic application inside a custom Angular module.

Where the Ionic project needs following on the Index.htmlpage:

<!-- Ionic's root component and where the app will load -->
<ion-app></ion-app>

What I want to do is create a custom Angular component and bootstrap it inside the component.

Something like :

Custom module custom-ionic-bootstrap

import { Component } from '@angular/core';

@Component({
  selector: 'custom-ionic-bootstrap',
  templateUrl: './custom.ionic.bootstrap.component.html',
})

export class AppComponent {
}

Inside the custom.ionic.bootstrap.component.html I’ll have :

<ion-app></ion-app>

Any tips if this is possible? And how I can manage?

Posts: 1

Participants: 1

Read full topic

Image paths are "wrong" on html and css (production)

$
0
0

@seevoovapp wrote:

Hi all,

There is a long standing file path bug in ionic. If I build in production, a true image path to my resources directory is not working. For example:

<img src="../../../../assets/images/image.png" alt="not working in production" />

But if I change it to:

<img src="./assets/images/image.png" alt="not working in production" />
Or
img { background-image: url(../assets/images/image.png') }

then it works, because after the build, this are the paths on the www directory. The problem is that my IDE is marking this (still) not existing path as an error.

My question is should it be considered a bug? Should an issue be opened? I couldn’t find any issue on that on the repo.

related:

Posts: 1

Participants: 1

Read full topic

iOS App on production device is running locally at localhost:8080

$
0
0

@RazorThyOwn wrote:

My Ionic build seems to be running locally in the emulated iOS device at localhost:8080,

All of my XMLHttpRequests fail with

http://localhost:8080/Users/xxxx/Library/Developer/CoreSimulator/Devices/EF50E90D-806A-472A-918D-E8A39443B241/data/Containers/Bundle/Application/50958C20-C80B-462F-BA41-4F650A68611E/LendIt.app/www/www.xxxx.io/xxxx/xxxx/xxxx/xxxx/xxxx/xxxx.php

Furthermore, I am using location services and it also responded with

[blocked] Access to geolocation was blocked over insecure connection to http://localhost:8080.

My XMLHttpRequest is similar to

var xhr = new XMLHttpRequest();
xhr.open(“GET”,“https://www.google.com”,false);
xhr.send();

Note that android works fine. Ionic version is 3.18.0. The app was built using

ionic cordova build ios --prod --release

Posts: 1

Participants: 1

Read full topic

Transfer multiple files in one REST call?

$
0
0

@Nubdienub wrote:

Hello, I have been playing around with the native file transfer plugin and I can upload images from the camera on a Android device to a persistant BLOB storage on Azure cloud. The way I did that was like this:

      fileTransfer.upload(filepathOnDevice, 'myhost.com/file',myOptions)
        .then((data) => {
          //do something
      }, (err) => {
          //do something
      });

Now, in my application I am trying to submit a form with a body to my REST service and I want the posibility to send a bunch of images or files stored on the device with the form. I would like for this to all happen in one REST call and therefore I have to send all my images all at once to the REST service.

So if a user selects for example 2 images, I want both images to be send along with the form. Right now I have to use fileTransfer.upload to upload files/images one by one. Is it possible to upload a list of files rather than one file to the REST service?

Posts: 1

Participants: 1

Read full topic

How to get id when we are click the button

$
0
0

@flycoders_sourav wrote:

i want to do that .when i’m click on button i want ot get the button id value how can i do that

below my html button
HTML
<button (click)="find($event)" #button block="" id="test" ion-button>Click</button>
.ts

find(event) {
    alert(event.id);
}

alert showing value is undefined.please help me any one how to fix this issue

Posts: 2

Participants: 2

Read full topic

Hide notifications to the user when app is in background

$
0
0

@joterito wrote:

Hi,

I need my application receives push notifications in order to update the information that is locally stored. These notifications has to be received when the app is in foreground and in background without user interaction. Actually i have got the app receive push notifications in foreground without this user interaction but when the app is in background the push notification is shown by the phone and it has to be opened by the user in order the app receives the event of “notification arrived”.

What i need is a way to receive notifications in background and these are not visible for the user and, at the same time, are received by the app.

Any idea?

Thanks in advance

Posts: 1

Participants: 1

Read full topic


Ion-input are getting disabled

$
0
0

@vks_gautam1 wrote:

after wrong login input in input boxes. i am unable to click on input box. same for validation.once a validation message come. unable to click on input box.after few clicks i am able to do again edit the input.


cli packages: (C:\Users\DELL\AppData\Roaming\nvm\v8.9.0\node_modules)

    @ionic/cli-utils  : 1.18.0
    ionic (Ionic CLI) : 3.18.0

global packages:

    cordova (Cordova CLI) : 7.1.0

local packages:

    @ionic/app-scripts : 3.1.2
    Cordova Platforms  : android 6.3.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 25.2.5
    Node              : v8.9.0
    npm               : 5.5.1
    OS                : Windows 10

Posts: 1

Participants: 1

Read full topic

Ionic Package iOS Ipad Support

$
0
0

@gope153 wrote:

Hi everybody,

im building the ios app via package in legacy backend. I could also build it on pro.

But there is one problem: My ipa supports ipad, but i only want it to support the iphone.

The solution isnt the config.xml value handset. Ive already tested that.

Is there any official value or documentation on that? How do you handle that?

Posts: 1

Participants: 1

Read full topic

Ionic App as socket.io Server

$
0
0

@odorakel wrote:

Hey guys,

I have a problem to solve and I have no idea how, cause everything I tried is not working.

Let’s say I have an APP A - this APP A should act also as a socket server. Once it’s started it should show IP and Port that is used.

APP B should we only a socket client (no big deal and working fine with an express app as a socket server)… receiving messages from the socket server (-> APP A). How can I solve this problem. An earlier post of @mhartington is not working in this case: Ionic 2 Chat

Any solution available?

Thanks in advance,
Oliver

Posts: 1

Participants: 1

Read full topic

Issue with ION-LIST

$
0
0

@bhavikpatel7023 wrote:

Login
<form #loginForm="ngForm" novalidate>
	<ion-list>
		<ion-item>
			<ion-label color="primary" stacked>Contact No</ion-label>
			<ion-input color="primary" placeholder="Contact No" [(ngModel)]="login.phone" name="phone" type="number" #phone="ngModel"
			 spellcheck="false" autocapitalize="off" required>
			</ion-input>
		</ion-item>


		<div padding>
			<button ion-button round color="primary" (click)="onLogin(loginForm)" block> Get OTP</button>

			<button margin-top ion-button round color="primary" (click)="onSignup()" block>Sign Up</button>
		</div>
	</ion-list>
</form>

i deleted theme folder.

Still getting black ION-List if I remove ION-LIST then my font become white. so cant able to see input.

Posts: 1

Participants: 1

Read full topic

Centralize configuration for ionic 3 project

$
0
0

@khalilben wrote:

Hello,

I need to have a file that contains all links api to have one file with all configuration that i can use on the project…
Any idea how to proceed ?

Posts: 6

Participants: 2

Read full topic

Ionic CLI - component is not a known element

$
0
0

@theitteam wrote:

Hey all,

So I created a custom component with the cli, here is my component:

// form-list-item module
import { NgModule } from '@angular/core';
import { IonicModule } from 'ionic-angular';
import { FormListItem } from './form-list-item';

@NgModule({
  declarations: [FormListItem],
  imports: [IonicModule],
  exports: [FormListItem]
})
export class FormListItemModule { }
// form-list-item.ts
import { Component } from '@angular/core';

@Component({
  selector: 'form-list-item',
  templateUrl: 'form-list-item.html'
})
export class FormListItem {

  text: string;

  constructor() {
    console.log('Hello FormListItemComponent Component');
    this.text = 'Hello World';
  }

}

And here is the page where I am trying to import the module:

// forms-list.module.ts
import { NgModule } from '@angular/core';
import { IonicPageModule } from 'ionic-angular';
import { FormsListPage } from './forms-list';
import { CreateFormPage } from '../create-form/create-form';

import { FormListItemModule } from '../../components/form-list-item/form-list-item.module';

@NgModule({
  declarations: [
    FormsListPage,
    CreateFormPage
  ],
  imports: [
    FormListItemModule,
    IonicPageModule.forChild(FormsListPage)
  ],
})
export class FormsListPageModule {}
//forms-list.html
<ion-content padding>
  <form-list-item></form-list-item>
</ion-content-padding>

But I am getting the issue: Template parse errors: ‘form-list-item’ is not a known element: 1. If ‘form-list-item’ is an Angular component, then verify that it is part of this module.

I should mention that the forms-list.module is declared and is an an entry component in my app.module - could this by why I am getting this issue?

Posts: 1

Participants: 1

Read full topic

Property 'text' does not exist on type 'Object' HttpClient

$
0
0

@Hanzo wrote:

Hi,

Today I’ve updated my project to Angular 5 and ionic 3.9.2 and my injectable service to manage http connections has stopped to work.

import {HttpClient} from “@angular/common/http”;

constructor(private http: HttpClient) {
}

obtainData(url){
return this.http.get(url)
.toPromise()
.then(response => {
console.log(response.json())
}).catch(this.handleError);
}

With HttpClient library(Http library is deprecated) the transpile shows this error

Property ‘json’ does not exist on type ‘Object’.

Other properties like .text(), .headers also not work

If I change HttpClient to Http all works properly

What I’m doing wrong?

Posts: 1

Participants: 1

Read full topic


Build ios --release fails with error code 65

$
0
0

@casvangrunsvenn wrote:

I was not able to build my ios app with

sudo ionic cordova build ios --release --minifyjs --optimizejs --minifycss

Also only using --release for example does not work. I get this error:

:heavy_multiplication_x: Running command - failed!
[ERROR] An error occurred while running cordova build ios --release (exit code

    1):

    (truncated) ... d/emulator/libCordova.a(CDVLogger.o)
    duplicate symbol _OBJC_METACLASS_$_CDVLogger in:

    /var/root/Library/Developer/Xcode/DerivedData/Sitech_Support-ciaapkfmwnuajwfhlpxsmqnblovk/Build/Intermediates/Sitech
    Support.build/Release-iphonesimulator/Sitech
    Support.build/Objects-normal/x86_64/CDVLogger.o

    /Users/cas/Documents/sitechappV2/sitechApp/platforms/ios/build/emulator/libCordova.a(CDVLogger.o)
    ld: 2 duplicate symbols for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see
    invocation)

    Ld
    /var/root/Library/Developer/Xcode/DerivedData/Sitech_Support-ciaapkfmwnuajwfhlpxsmqnblovk/Build/Intermediates/Sitech\
    Support.build/Release-iphonesimulator/Sitech\
    Support.build/Objects-normal/i386/Sitech\ Support normal i386
         cd /Users/cas/Documents/sitechappV2/sitechApp/platforms/ios
         export IPHONEOS_DEPLOYMENT_TARGET=9.0
         export
    PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin"

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
    -arch i386 -isysroot
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk
    -L/Users/cas/Documents/sitechappV2/sitechApp/platforms/ios/build/emulator
    -F/Users/cas/Documents/sitechappV2/sitechApp/platforms/ios/build/emulator
    -filelist
    /var/root/Library/Developer/Xcode/DerivedData/Sitech_Support-ciaapkfmwnuajwfhlpxsmqnblovk/Build/Intermediates/Sitech\
    Support.build/Release-iphonesimulator/Sitech\
    Support.build/Objects-normal/i386/Sitech\ Support.LinkFileList -Xlinker
    -rpath -Xlinker @executable_path/Frameworks
    -mios-simulator-version-min=9.0 -dead_strip -Xlinker -object_path_lto
    -Xlinker
    /var/root/Library/Developer/Xcode/DerivedData/Sitech_Support-ciaapkfmwnuajwfhlpxsmqnblovk/Build/Intermediates/Sitech\
    Support.build/Release-iphonesimulator/Sitech\
    Support.build/Objects-normal/i386/Sitech\ Support_lto.o -Xlinker
    -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime
    -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator
    -Xlinker -add_ast_path -Xlinker
    /var/root/Library/Developer/Xcode/DerivedData/Sitech_Support-ciaapkfmwnuajwfhlpxsmqnblovk/Build/Intermediates/Sitech\
    Support.build/Release-iphonesimulator/Sitech\
    Support.build/Objects-normal/i386/Sitech_Support.swiftmodule -ObjC
    -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker
    /var/root/Library/Developer/Xcode/DerivedData/Sitech_Support-ciaapkfmwnuajwfhlpxsmqnblovk/Build/Intermediates/Sitech\
    Support.build/Release-iphonesimulator/Sitech\ Support.build/Sitech\
    Support.app.xcent
    /Users/cas/Documents/sitechappV2/sitechApp/platforms/ios/build/emulator/libCordova.a
    -framework MediaPlayer -framework AVFoundation -framework JavaScriptCore
    -Xlinker -dependency_info -Xlinker
    /var/root/Library/Developer/Xcode/DerivedData/Sitech_Support-ciaapkfmwnuajwfhlpxsmqnblovk/Build/Intermediates/Sitech\
    Support.build/Release-iphonesimulator/Sitech\
    Support.build/Objects-normal/i386/Sitech\ Support_dependency_info.dat -o
    /var/root/Library/Developer/Xcode/DerivedData/Sitech_Support-ciaapkfmwnuajwfhlpxsmqnblovk/Build/Intermediates/Sitech\
    Support.build/Release-iphonesimulator/Sitech\
    Support.build/Objects-normal/i386/Sitech\ Support
    duplicate symbol _OBJC_CLASS_$_CDVLogger in:

    /var/root/Library/Developer/Xcode/DerivedData/Sitech_Support-ciaapkfmwnuajwfhlpxsmqnblovk/Build/Intermediates/Sitech
    Support.build/Release-iphonesimulator/Sitech
    Support.build/Objects-normal/i386/CDVLogger.o

    /Users/cas/Documents/sitechappV2/sitechApp/platforms/ios/build/emulator/libCordova.a(CDVLogger.o)
    duplicate symbol _OBJC_METACLASS_$_CDVLogger in:

    /var/root/Library/Developer/Xcode/DerivedData/Sitech_Support-ciaapkfmwnuajwfhlpxsmqnblovk/Build/Intermediates/Sitech
    Support.build/Release-iphonesimulator/Sitech
    Support.build/Objects-normal/i386/CDVLogger.o

    /Users/cas/Documents/sitechappV2/sitechApp/platforms/ios/build/emulator/libCordova.a(CDVLogger.o)
    ld: 2 duplicate symbols for architecture i386

    ** BUILD FAILED **


    The following build commands failed:
    	Ld
    /var/root/Library/Developer/Xcode/DerivedData/Sitech_Support-ciaapkfmwnuajwfhlpxsmqnblovk/Build/Intermediates/Sitech\
    Support.build/Release-iphonesimulator/Sitech\
    Support.build/Objects-normal/x86_64/Sitech\ Support normal x86_64
    (1 failure)
    Error: Error code 65 for command: xcodebuild with args:
    -xcconfig,/Users/cas/Documents/sitechappV2/sitechApp/platforms/ios/cordova/build-release.xcconfig,-workspace,Sitech
    Support.xcworkspace,-scheme,Sitech
    Support,-configuration,Release,-sdk,iphonesimulator,-destination,platform=iOS
    Simulator,name=iPhone
    SE,build,CONFIGURATION_BUILD_DIR=/Users/cas/Documents/sitechappV2/sitechApp/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/cas/Documents/sitechappV2/sitechApp/platforms/ios/build/sharedpch

Does someone know how to fix this? When using

ionic cordova platform remove ios
ionic cordova platform add ios

I will get an xcode project, but this one is not optimized for the build and thus slower.

Posts: 1

Participants: 1

Read full topic

Build succeeded but fails to push apk to storage - Pro

$
0
0

@ccitron wrote:

the build was performed online, using Ionic Package of Ionic Pro.

https://dashboard.ionicjs.com/app/79023b93/code/builds/548ed258-147b-4b67-9680-b0b848d985b5/package

:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:preReleaseBuild UP-TO-DATE
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugNdk NO-SOURCE
:CordovaLib:compileLint
:CordovaLib:copyDebugLint NO-SOURCE
:CordovaLib:mergeDebugShaders
:CordovaLib:compileDebugShaders
:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets
:CordovaLib:mergeDebugProguardFiles
:CordovaLib:packageDebugRenderscript NO-SOURCE
:CordovaLib:compileDebugRenderscript
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:processDebugManifest
:CordovaLib:generateDebugBuildConfig
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
:CordovaLib:incrementalDebugJavaCompilationSafeguard
:CordovaLib:compileDebugJavaWithJavac
:CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processDebugJavaRes NO-SOURCE
:CordovaLib:transformResourcesWithMergeJavaResForDebug
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
:CordovaLib:mergeDebugJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug
:CordovaLib:preReleaseBuild UP-TO-DATE
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseNdk NO-SOURCE
:CordovaLib:copyReleaseLint NO-SOURCE
:CordovaLib:mergeReleaseShaders
:CordovaLib:compileReleaseShaders
:CordovaLib:generateReleaseAssets
:CordovaLib:mergeReleaseAssets
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:packageReleaseRenderscript NO-SOURCE
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processReleaseJavaRes NO-SOURCE
:CordovaLib:transformResourcesWithMergeJavaResForRelease
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
:CordovaLib:mergeReleaseJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
:CordovaLib:bundleRelease
:prepareComAndroidSupportSupportCompat2520Library
:prepareComAndroidSupportSupportCoreUi2520Library
:prepareComAndroidSupportSupportCoreUtils2520Library
:prepareComAndroidSupportSupportFragment2520Library
:prepareComAndroidSupportSupportMediaCompat2520Library
:prepareComAndroidSupportSupportV42520Library
:prepareComCommit451PhotoView124Library
:prepareComGoogleAndroidGmsPlayServicesAnalytics1104Library
:prepareComGoogleAndroidGmsPlayServicesAnalyticsImpl1104Library
:prepareComGoogleAndroidGmsPlayServicesBase1104Library
:prepareComGoogleAndroidGmsPlayServicesBasement1104Library
:prepareComGoogleAndroidGmsPlayServicesTagmanagerV4Impl1104Library
:prepareComGoogleAndroidGmsPlayServicesTasks1104Library
:prepareOrgApacheCordovaCordovaLib623DebugLibrary
:prepareDebugDependencies
:compileDebugAidl
:compileDebugRenderscript
:generateDebugBuildConfig
:generateDebugResValues
:generateDebugResources
:mergeDebugResources
:processDebugManifest
:processDebugResources
:generateDebugSources
:incrementalDebugJavaCompilationSafeguard
:compileDebugJavaWithJavac
:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/src/app/platforms/android/src/org/apache/cordova/file/AssetFilesystem.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:compileDebugNdk NO-SOURCE
:compileDebugSources
:mergeDebugShaders
:compileDebugShaders
:generateDebugAssets
:mergeDebugAssets
:transformClassesWithDexForDebug
:mergeDebugJniLibFolders
:transformNative_libsWithMergeJniLibsForDebug
:processDebugJavaRes NO-SOURCE
:transformResourcesWithMergeJavaResForDebug
:validateSigningDebug
:packageDebug
:assembleDebug
:cdvBuildDebug

BUILD SUCCESSFUL

Total time: 45.32 secs
Built the following apk(s):
	/usr/src/app/platforms/android/build/outputs/apk/android-debug.apk
Failed to upload apk to storage please retry your build.
Running after script...
$ clean-up
Cleaning up files...
Successful clean up
ERROR: Job failed: exit status 1

Posts: 1

Participants: 1

Read full topic

Ionic 3 uglifyjs Error: Unexpected token: name () in

$
0
0

@codiqa10004205 wrote:

ionic cordova build android --prod --release

[14:55:06]  preprocess finished in 20.40 s
[14:55:06]  webpack started ...
[14:56:51]  webpack finished in 105.09 s
[14:56:51]  sass started ...
[14:56:51]  uglifyjs started ...
Error: Unexpected token: name (ProfileFacebookPageModuleInjector) in C:\Users\2bher\WebstormProjects\ionic3-angular4_2\www\build\0.main.js at line 46, col 6, pos 2589
    at BuildError.Error (native)
    at new BuildError (C:\Users\2bher\WebstormProjects\ionic3-angular4_2\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28)
    at taskReject (C:\Users\2bher\WebstormProjects\ionic3-angular4_2\node_modules\@ionic\app-scripts\dist\worker-process.js:36:22)
    at C:\Users\2bher\WebstormProjects\ionic3-angular4_2\node_modules\@ionic\app-scripts\dist\worker-process.js:14:13
    at process._tickCallback (internal/process/next_tick.js:109:7)
[14:56:55]  sass finished in 3.19 s
[14:56:55]  cleancss started ...
[14:56:57]  cleancss finished in 2.81 s

found this - https://github.com/ionic-team/ionic-app-scripts/issues/1027

looking for solution.

Posts: 1

Participants: 1

Read full topic

2 different sidemenu

Adding @ionic/pro@1.0.15 fails

$
0
0

@9p5jh4Okhgsz wrote:

My team is just getting started with Ionic Pro. I’m sure this is a newbie issue. I successfully created a new Ionic Dashboard project following one of the tutorials, but now I am unable to create any more apps. When I run "ionic start --pro-id " it fails with this stack trace:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'i',
1 verbose cli   '--save',
1 verbose cli   '-E',
1 verbose cli   '@ionic/pro' ]
2 info using npm@5.5.1
3 info using node@v8.9.1
...
16 silly install generateActionsToTake
17 silly diffTrees action count 1
18 silly diffTrees add @ionic/pro@1.0.15
19 silly decomposeActions action count 8
20 silly decomposeActions fetch @ionic/pro@1.0.15
21 silly decomposeActions extract @ionic/pro@1.0.15
22 silly decomposeActions preinstall @ionic/pro@1.0.15
23 silly decomposeActions build @ionic/pro@1.0.15
24 silly decomposeActions install @ionic/pro@1.0.15
25 silly decomposeActions postinstall @ionic/pro@1.0.15
26 silly decomposeActions finalize @ionic/pro@1.0.15
27 silly decomposeActions refresh-package-json @ionic/pro@1.0.15
28 silly install executeActions
29 silly doSerial global-install 8
30 verbose correctMkdir [USER DIR]/.npm/_locks correctMkdir not in flight; initializing
31 verbose lock using [USER DIR]/.npm/_locks/staging-07c9cf1e221fbc27.lock for [USER DIR]/Development/Ionic/[PROJECT NAME]/node_modules/.staging
32 silly doParallel extract 8
33 silly extract @ionic/pro@1.0.15
34 silly doReverseSerial unbuild 8
35 silly doSerial remove 8
36 silly doSerial move 8
37 silly doSerial finalize 8
38 silly finalize [USER DIR]/Development/Ionic/[PROJECT NAME]/node_modules/@ionic/pro
39 silly doParallel refresh-package-json 8
40 silly refresh-package-json [USER DIR]/Development/Ionic/[PROJECT NAME]/node_modules/@ionic/pro
41 silly doParallel preinstall 8
42 silly preinstall @ionic/pro@1.0.15
43 info lifecycle @ionic/pro@1.0.15~preinstall: @ionic/pro@1.0.15
44 silly doSerial build 8
45 silly build @ionic/pro@1.0.15
46 info linkStuff @ionic/pro@1.0.15
47 silly linkStuff @ionic/pro@1.0.15 has [USER DIR]/Development/Ionic/[PROJECT NAME]/node_modules as its parent node_modules
48 verbose linkBins @ionic/pro@1.0.15
49 verbose linkBins [ { 'pro-sync-sourcemaps': './bin/pro-sync-sourcemaps.js' },
49 verbose linkBins   '[USER DIR]/Development/Ionic/[PROJECT NAME]/node_modules/.bin',
49 verbose linkBins   false ]
50 verbose linkMans @ionic/pro@1.0.15
51 verbose unlock done using [USER DIR]/.npm/_locks/staging-07c9cf1e221fbc27.lock for [USER DIR]/Development/Ionic/[PROJECT NAME]/node_modules/.staging
52 verbose stack Error: ENOENT: no such file or directory, chmod '[USER DIR]/Development/Ionic/[PROJECT NAME]/node_modules/@ionic/pro/bin/pro-sync-sourcemaps.js'
53 verbose cwd [USER DIR]/Development/Ionic/[PROJECT NAME]
54 verbose Darwin 16.7.0
55 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "--save" "-E" "@ionic/pro"
56 verbose node v8.9.1
57 verbose npm  v5.5.1
58 error path [USER DIR]/Development/Ionic/[PROJECT NAME]/node_modules/@ionic/pro/bin/pro-sync-sourcemaps.js
59 error code ENOENT
60 error errno -2
61 error syscall chmod
62 error enoent ENOENT: no such file or directory, chmod '[USER DIR]/Development/Ionic/[PROJECT NAME]/node_modules/@ionic/pro/bin/pro-sync-sourcemaps.js'
63 error enoent This is related to npm not being able to find a file.
64 verbose exit [ -2, true ]

Posts: 1

Participants: 1

Read full topic

Viewing all 70921 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>