Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48983

CLI Error With Angular Projects Only

$
0
0

Setup a new mac and installed Ionic. When running ionic start, I receive the following error. Will note that I am able to create a working version of every other type (Vue, React). Need some guidance on how to get this up and going ASAP as I have a client who has been waiting for me to get my new box up and going

npm i

npm ERR! code ERESOLVE

npm ERR! ERESOLVE unable to resolve dependency tree

npm ERR!

npm ERR! Found: postcss @ 8.2.14

npm ERR! node_modules/postcss

npm ERR! postcss @" 8.2.14 " from @angular-devkit/build-angular @ 0.1102.13

npm ERR! node_modules/@angular-devkit/build-angular

npm ERR! dev @angular-devkit/build-angular @" ~0.1102.4 " from the root project

npm ERR! peer @angular-devkit/build-angular @" ^0.1102.4 " from @ionic/angular-toolkit @ 3.1.1

npm ERR! node_modules/@ionic/angular-toolkit

npm ERR! dev @ionic/angular-toolkit @" ^3.1.1 " from the root project

npm ERR! peer postcss @" ^8.1.0 " from autoprefixer @ 10.2.4

npm ERR! node_modules/autoprefixer

npm ERR! autoprefixer @" 10.2.4 " from @angular-devkit/build-angular @ 0.1102.13

npm ERR! node_modules/@angular-devkit/build-angular

npm ERR! dev @angular-devkit/build-angular @" ~0.1102.4 " from the root project

npm ERR! 1 more (@ionic/angular-toolkit)

npm ERR! 9 more (css-loader, cssnano, postcss-import, postcss-loader, …)

npm ERR!

npm ERR! Could not resolve dependency:

npm ERR! peer postcss @" ^8.2.15 " from cssnano-preset-default @ 5.1.0

npm ERR! node_modules/cssnano/node_modules/cssnano-preset-default

npm ERR! cssnano-preset-default @" ^5.0.1 " from cssnano @ 5.0.2

npm ERR! node_modules/cssnano

npm ERR! cssnano @" 5.0.2 " from @angular-devkit/build-angular @ 0.1102.13

npm ERR! node_modules/@angular-devkit/build-angular

npm ERR! dev @angular-devkit/build-angular @" ~0.1102.4 " from the root project

npm ERR! 1 more (@ionic/angular-toolkit)

npm ERR!

npm ERR! Fix the upstream dependency conflict, or retry

npm ERR! this command with --force, or --legacy-peer-deps

npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

npm ERR!

npm ERR! See /Users/danieldugger/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:

npm ERR! /Users/danieldugger/.npm/_logs/2021-05-21T11_17_00_295Z-debug.log

[ ERROR ] An error occurred while running subprocess npm .

npm i exited with exit code 1.

Re-running this command with the --verbose flag may provide more

information.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 48983

Trending Articles



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