New Angular Project Created in Ionic Appflow New App Dependancy Problems

Hi,

I’ve just created a brand new project in the Ionic Appflow system by using the New App button. Checking it out and trying to npm install, I get:

npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR!

npm ERR! While resolving: vk-reference@0.0.1

npm ERR! Found: @angular/platform-browser@undefined

npm ERR! node_modules/@angular/platform-browser

npm ERR! @angular/platform-browser@“^16.0.0” from the root project

npm ERR!

npm ERR! Could not resolve dependency:

npm ERR! peer @angular/platform-browser@“16.2.6” from @angular/forms@16.2.6

npm ERR! node_modules/@angular/forms

npm ERR! @angular/forms@“^16.0.0” from the root project

I’m on a fresh install of Ionic on this machine with Node v18.18. What’s the best way to unbreak the new project? Thanks,

David

Which options did you choose?
I’ve just tried creating an angular tabs app and it’s working fine on my computer with node 18.18.0

It would also be important to know the npm version since the thing that is failing here is npm itself as it returns the @angular/platform-browser version as undefined instead of the installed version.

Just default selections in the web interface for ionic-angular. Running npm 9.8.1. Thanks,

David

I had the same version of npm.
No idea then, I can’t reproduce.

Maybe try reinstalling node or creating a new app and see if the issue was temporary.
What’s your OS?