Error in Ionic installation

Asked

Viewed 182 times

0

Hello, I’ve been trying to insert Ionic on my pc ( WIN32 bits with Nodejs, java, java sdk, Git) installed all right, but following the steps as described on the official website of Ionic , always presents me with errors..

start-up $ npm install -g ionic where all goes well!

but when starting a project $ ionic start myApp tabs presents a number of problems and dependencies (in which I installed and continued to present several other errors), as shown in the log below..

> npm i
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ECONNRESET: request to https://registry.npmjs.org/@angular-devkit%2fcore failed, reason: read ECONNRESET
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
npm WARN deprecated [email protected]: This module is no longer maintained, try this instead:
npm WARN deprecated   npm i nyc
npm WARN deprecated Visit https://istanbul.js.org/integrations for other alternatives.
npm ERR! Unexpected end of JSON input while parsing near '...0.1.1","eslint-config'

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Dione\AppData\Roaming\npm-cache\_logs\2019-03-06T13_14_16_717Z-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.
  • npm i flatted try this command.

  • actually got something wrong in the file eslint-config, checks if it is formatted properly etc....

  • @Neuberoliveira is formatted all right, shows no error

  • @Péttrinmiranda npm i flatted
npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\Dione\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\Dione\package.json'
npm WARN @ionic/[email protected] requires a peer of @angular-devkit/core@^7.2.1 but none is installed. You must install peer dependencies yourself.....

  • Speaking of missing @angular-devkit, npm install -g @angular-devkit/core@latest

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.