I found these issues. We are facing at the time of build process.
ionic-app-script task: "serve"
[app-scripts] Error: D:\ionic_src\src\app\main.ts was not found. The "main.dev.ts" and "main.prod.ts" files have been
[app-scripts] deprecated. Please create a new file "main.ts" containing the content of "main.dev.ts", and then delete the
[app-scripts] deprecated files. For more information, please see the default Ionic project main.ts file here:
[app-scripts] https://github.com/ionic-team/ionic2-app-base/tree/master/src/app/main.ts
[app-scripts] Error: D:\ionic_src\src\app\main.ts was not found. The "main.dev.ts" and "main.prod.ts" files have been deprecated. Please create a new file "main.ts" containing the content of "main.dev.ts", and then delete the deprecated files.
[app-scripts] For more information, please see the default Ionic project main.ts file here:
[app-scripts] https://github.com/ionic-team/ionic2-app-base/tree/master/src/app/main.ts
[app-scripts] at new BuildError (D:\ionic_src\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28)
[app-scripts] at D:\ionic_src\node_modules\@ionic\app-scripts\dist\build\util.js:92:21
[app-scripts] at <anonymous>
And
There are two files are missing.
1. config file
2. tsconfig file
Kindly suggest.
Regards
KN
If this doesn't work then share the Results of this command
-ionic info
-cordova plugins
Thanks but <span style="color: #313b3d; font-family: Poppins; font-size: 18px;">there are two files are missing.</span>
<p style="box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-size: 18px; font-family: Poppins; color: #313b3d;">1. config file</p>
<p style="box-sizing: border-box; margin: 10px 0px; -webkit-font-smoothing: antialiased; font-size: 18px; font-family: Poppins; color: #313b3d;">2. tsconfig file</p>
Kindly advise.
Regards
KN
Thank you
I Installed the ionic 4.2.1 and many issues soled thankfully
There are still some remained issues come from Incompatibility version of some installed plugins
One: What is the recommended version for cordova
Two : What is the recommended version for cordova-plugin-camera
Three: What is the recommended version for cordova-plugin-inappbrowser
Finally
Here are the warning logs when I try to install some Cordova Plugins and it says
“You must install peer dependencies yourself”
Don`t Really know what is that supposed to mean
npm WARN @ionic-native/
[email protected] requires a peer of @ionic-native/
[email protected]^4.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/
[email protected] requires a peer of @ionic-native/
[email protected]^4.11.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/
[email protected] requires a peer of @ionic-native/
[email protected]^3.6.0 but none is installed. You must install peer dependencies yourself.
npm WARN
[email protected] requires a peer of
[email protected]^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN
[email protected] requires a peer of @angular/
[email protected]^6.0.3 but none is installed. You must install peer dependencies yourself.
npm WARN
[email protected] requires a peer of
[email protected]^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/
[email protected] requires a peer of
[email protected]^6.5.0 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/
[email protected] requires a peer of @ionic-native/
[email protected]^5.1.0 but none is installed. You must install peer dependencies yourself.
Sorry, the previous reply was sent incorrectly in this topic.
There are two files are missing.
1. config file
2. tsconfig file
Kindly suggest.
Regards
KN
Tried accessing the tutorial but only one or two videos are FREE. Do we have to pay for the titorial of the app after buying the app??
Kindly advice
Regards
KN
Here is the error for command lines you suggested.
You can check error screenshot here
https://prnt.sc/o27cy5
Regards
KN
Hey
you are not in the right directory please go to the right ionic directory
Go to your ionic folder with this command
"cd path address" like this C:\Users\99fus\Documents\mp3_caching
please ensure that you are in the right ionic directory.
Then try this command cordova plugins
Hi
I cannot find correct directory you are describing.
I 'd like to know right directory of ionic.
-app, -assets, -components, -directives, -models, -pages, -pipes, -sampledata, -services, -theme, -validators,
which directory is it right for ionic?
Failed to install 'cordova-plugin-googleplus'
missing WEB_APPLICATION_CLIENT_ID
Hey
you have to go the main folder whose u create on 1st time through this command
Ionic start projectname –v2 tabs go to this projectname directory
if you have to go to forward then this command will be helpfull cd then path name
like:cd C:\Users\ And if you want to go to backward then try this cd ..
This reply has been marked as private.
For google login you have to generate reverse client id and make this command to install the google plus plugin or if you don't want google login you use any reverse-client-id('text') to just add your google-plus-plugin
ionic cordova plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=Reverese-Client-ID
Also you have to run
ionic serve or
installing plugins command in root of the folder like :
http://prntscr.com/odxzhx
Hi.
I have been tried to connect ionic project to wplms site so far.
but I cannot find api connection part from ionic project and wplms site.
Please help me.
<p style="text-align: left;">Hi, now I have customized the wplms and I am going to customize ionic app for wplms.</p>
but app can't integrate with wplms because of api connection.
turtorial for wplms includes api but my customized site is not including api setting.
So let me know how to implement api connection with app and sites.
Hey
check the client id
go to your code and in config.ts file
when you create a app in wplms-admin=>LMS=>SETTINGS/API
Then a key is generated and this key is the api key for thge aplms app
http://prntscr.com/ojui81
I got it, but my customized site is not including wplms-admin/LMS=>SETTINGS/API.
so I can't generate api key.
ok, I think you can't activate the vibe custom type plugin.
so please activate the vibe custom type plugin.
This reply has been marked as private.
Hey
share your site credential and i will activate the plugin.
and please share credential in private reply.
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
Hey
here is you right url and api so please replace url and client
_id in config.ts file:
http://prntscr.com/olc9q7 With these
'url':'http://www.brightheads.in/',
'client_id':'pGYSq60NwjkDS23ZsXUZsyB',
you can add featured course through this
http://prntscr.com/olc7yt
This reply has been marked as private.
Hey
share the src folder so i can fix the issue(upload the src file in google drive or one drive and make them public).