All Questions
Tagged with ionic-framework npm
584 questions
1
vote
1
answer
45
views
UntypedFormControl's valid property always returning false
I am working on a ionic cordova-angular project and I have a screen with an input field defined like this in html file.
<div class="inputdiv">
<ion-label class="...
0
votes
0
answers
73
views
Import typescript source code file (not transpiled code) in ionic app from node_modules package
I want to know if it's possible (not talking about: is it a "good practice") in an Ionic application to directly import typescript source code files from an installed module in node_modules ...
0
votes
0
answers
146
views
NPM always picks old version of Node-Gyp
I am working on building on Ionic project and I am newbie to Ionic too!
I would like to run npm install but it got failed with following error
Based on my observation and understanding, the node-gyp ...
0
votes
1
answer
367
views
How to correctly update node.js in an ionic project
I have a project using vue / vuetify which I am attempting to merge into an Ionic project (the latter started out as a sample from the Ionic site).
The original project is working OK and uses vue ...
-3
votes
1
answer
143
views
How to solve this communication problem with npm server via SSL?
I'm redoing an Ionic project with Ionic version 7.0.0 but I can't install Cordova to proceed. I don't have much knowledge about this, but I managed to make it work on the school computer. However, ...
-1
votes
1
answer
196
views
Can't build Ionic 5 (angular) app using Node.js v12.22.12 or v12.22.6
I have a really old app that I need to run and I'm using nvm so I can use older versions of node.js and ionic. They're really old dependencies and I just need it to run in a dev environment.
The error ...
2
votes
0
answers
864
views
How can i fix node-gyp invalid syntax error for node-20, npm 10 in ionic angular product, Macos ventura 13.3.1
npm ERR! code 1
npm ERR! path /Users/ashad/abdullahSalam/ioniceatonlineapp/node_modules/node-sass
npm ERR! command failed
npm ERR! command sh -c node scripts/build.js
npm ERR! Building: /Users/ashad/....
0
votes
1
answer
250
views
how ca I fix this error after exacting npx cap add android?
After running "npm install @capacitor/android" I did "npx cap add android" but it gives me the following error:
npm ERR! could not determine executable to run
Node version: v20.10....
1
vote
1
answer
118
views
Error while downloading packages from npm
I'm a getting a network error while downloading package from NPM: Screenshot. How can I fix it?
D:\\ionic\\abc\\abc\>npm install @capacitor/push-notifications
npm ERR! code EPROTO
npm ERR! ...
0
votes
2
answers
214
views
Why isn't my Ionic React app linter producing any output?
I'm building an Ionic 7, React 18 app. I want to occasionally run linting, using eslint, but am currently not getting any output.
$ npm run lint
> [email protected] lint
> eslint
Here's my ...
0
votes
1
answer
1k
views
How do I get my Ionic/React app to read/load my .env file?
I'm using Ionic 7, React 18, and included dotenv 16.3. I have created a blank ionic application and have added a file alongside package.json (.env)
NODE_ENV=local
REACT_APP_BASE_URL=http://localhost:...
0
votes
1
answer
525
views
npm package resolve error even I did exactly what it requires
code ERESOLVE
ERESOLVE could not resolve
While resolving: @ionic/[email protected]
Found: [email protected]
node_modules/rxjs
rxjs@"^6.5.3" from the root project
peer rxjs@"^6.5.3 || ^7.4.0&...
2
votes
2
answers
5k
views
@Ionic/Angular peer dependency on rxjs conflicts with @ionic-native/core
I have a dependency issue in my @ionic/angular 7.1.1 project.
@ionic-native/core latest ver 5.36 appears to have a peer dependency on an rxjs version compatible with 5.5.0 or 6.5.0.
I can't install ...
0
votes
1
answer
509
views
Running ionic serve I get this error : ''[ERROR] ng has unexpectedly closed (exit code 127)."
I am trying to run an ionic app on my Mac . when I run npm install to install the dependencies everything works without any problem .
but when I run ionic serve or ionic s I get this error
[ng] ...
0
votes
0
answers
1k
views
Ionic angular project not Running
I am new android developer. I am trying to run an old project which ionic-angular.But its not running.My ionic.config.json is as follows:
{
"name": "QB",
"integrations": {...