mosh-hamedani / organic-shop

192 stars 204 forks source link

Package install failed, see above. #15

Open Kartik618 opened 4 years ago

Kartik618 commented 4 years ago

hello sir,

I am facing this issue at time of project creattion please suggest me how to resolve this issue please go through bellow meantion error.

PS E:\project\oshop> ng new sac ? Would you like to add Angular routing? Yes ? Which stylesheet format would you like to use? CSS CREATE sac/angular.json (3543 bytes) CREATE sac/package.json (1280 bytes) CREATE sac/README.md (1020 bytes)
CREATE sac/tsconfig.json (489 bytes) CREATE sac/tslint.json (1953 bytes) CREATE sac/.editorconfig (246 bytes) CREATE sac/.gitignore (631 bytes) CREATE sac/browserslist (429 bytes) CREATE sac/karma.conf.js (1015 bytes) CREATE sac/tsconfig.app.json (210 bytes) CREATE sac/tsconfig.spec.json (270 bytes) CREATE sac/src/favicon.ico (948 bytes) CREATE sac/src/index.html (289 bytes) CREATE sac/src/main.ts (372 bytes) CREATE sac/src/polyfills.ts (2835 bytes) CREATE sac/src/styles.css (80 bytes) CREATE sac/src/test.ts (753 bytes) CREATE sac/src/assets/.gitkeep (0 bytes) CREATE sac/src/environments/environment.prod.ts (51 bytes) CREATE sac/src/environments/environment.ts (662 bytes) CREATE sac/src/app/app-routing.module.ts (246 bytes) CREATE sac/src/app/app.module.ts (393 bytes) CREATE sac/src/app/app.component.html (25755 bytes) CREATE sac/src/app/app.component.spec.ts (1050 bytes) CREATE sac/src/app/app.component.ts (207 bytes) CREATE sac/src/app/app.component.css (0 bytes) CREATE sac/e2e/protractor.conf.js (808 bytes) CREATE sac/e2e/tsconfig.json (214 bytes) CREATE sac/e2e/src/app.e2e-spec.ts (636 bytes) CREATE sac/e2e/src/app.po.ts (301 bytes) | Installing packages...npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! Unexpected end of JSON input while parsing near '...\nwsFcBAEBCAAQBQJeNOX'

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\kartik\AppData\Roaming\npm-cache_logs\2020-04-11T10_44_51_614Z-debug.log × Package install failed, see above. The Schematic workflow failed. See above.

Joan-w commented 4 years ago

Am facing the same issue too and am supposed to submit the project tomorrow. Any help please

Kartik618 commented 4 years ago

Am facing the same issue too and am supposed to submit the project tomorrow. Any help please

your angular cli is corrupted you have to reinstall your angular cli again.

  1. uninstall angular cli 2 then clear cache 3 then install angular cli
  2. then create project.
Joan-w commented 4 years ago

Hello, I have done that but nothing has changed

On Apr 12, 2020 09:35, "Kartik618" notifications@github.com wrote:

Am facing the same issue too and am supposed to submit the project tomorrow. Any help please

your angular cli is corrupted you have to reinstall your angular cli again.

  1. uninstall angular cli 2 then clear cache 3 then install angular cli
  2. then create project.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mosh-hamedani/organic-shop/issues/15#issuecomment-612571509, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN7ZB2LLGBZNQG7VXN3PZB3RMFOJHANCNFSM4MF6PVMA .

rahulthawal commented 3 years ago

I have updated the packages and refactored the code.

Here is the repo https://github.com/rahulthawal/shoppingPlatform