Skip to content

bug: Cannot create a Ionic 5 project #4317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Sampath-Lokuge opened this issue Feb 12, 2020 · 12 comments
Closed

bug: Cannot create a Ionic 5 project #4317

Sampath-Lokuge opened this issue Feb 12, 2020 · 12 comments
Labels

Comments

@Sampath-Lokuge
Copy link

Hi,

Ver: Ionic 5

I have tried many ways. But none of them worked.

ionic start

and

ionic start ngrx sidemenu --type=ionic-angular

Error:

npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version
of core-js@3.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/error-ex
npm ERR! 404
npm ERR! 404 'error-ex@^1.3.1' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'parse-json'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Sampath\AppData\Roaming\npm-cache_logs\2020-02-12T11_34_09_140Z-debug.log

CLI:

$ ionic version
6.0.2

@liamdebeasi liamdebeasi transferred this issue from ionic-team/ionic-framework Feb 12, 2020
@ionitron-bot ionitron-bot bot added the triage label Feb 12, 2020
@Sampath-Lokuge
Copy link
Author

Now it's around 5 H. But still the same error.

@elylucas
Copy link
Contributor

Hi @Sampath-Lokuge,

To start a v5 app, use --type=angular. the ionic-angular type is for v1 projects that use AngularJS, which it looks like there is a dependency that needs to be updated for those older starters.

@Sampath-Lokuge
Copy link
Author

Hi @elylucas

Still the same issue. This is not working with the ionic start too.

3

@elylucas
Copy link
Contributor

Hmm, weird because [email protected] definitely exists: https://www.npmjs.com/package/error-ex/v/1.3.1

Can you make a request to https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz and see if it downloads the file?

Do you have any custom npm setup through a .npmrc file or anything similar?

@Sampath-Lokuge
Copy link
Author

Do you have any custom npm setup through a .npmrc file or anything similar?

No.

1

@elylucas
Copy link
Contributor

Looks like there is a problem with npm serving up 404s for some packages right now, including error-ex:

https://status.npmjs.org/

Looks like they discovered the issue and fixed it, but it might take some time to propagate. Let us know if its still having issues after awhile.

@Sampath-Lokuge
Copy link
Author

Sure. I'll try it few hours later and update this post. Thanks.

@erikyuzwa
Copy link

just a +1 for encountering this same issue as well. Thanks for the mention of npm status @elylucas

@Sampath-Lokuge
Copy link
Author

Still this is not working. NPM says all are working fine on the above URL. But it is not. I'll try again later.

@amanuppalhp
Copy link

Same situation here!
npm ERR! 404 Not Found: error-ex@^1.3.1

@amanuppalhp
Copy link

Here is a temporary solution:

npm i https://github.com/Qix-/node-error-ex
npm install

Found here: [(https://github.com/facebook/create-react-app/issues/8465)]

@Sampath-Lokuge
Copy link
Author

I close this since now it is working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants