-
Notifications
You must be signed in to change notification settings - Fork 42
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
Installing the new v2.0.0 error #13
Comments
Hey there, Thanks for trying out the new version. Which version of angular-cli are you using? I just created a new project with angular-cli 1.0.0-beta.17, installed the router and ng2-meta, set up routes with meta data as per the README and everything went smoothly. You might also want to try these: Exclude @types/core-js from the build, remove duplicate definitions. |
I have beta 17 as well. Tried cleaning out all node modules and On October 15, 2016 at 18:41:57, Vinay Gopinath ([email protected])
|
Here's my working package.json. I am still using the branch version of ng2-meta because I can't get it to work as I've outlined here so disregard that one.
|
Hi I am also facing same issue, Can you please let me know how to fix it, Thanks
node_modules/@types/core-js/index.d.ts(21,14): error TS2300: Duplicate identifier 'PropertyKey'. npm install ng2-meta --save npm ERR! [email protected] postinstall: npm ERR! Please include the following file with any support request: |
i confirm, i am getting similar error.
|
Hey folks, sorry to hear that. @bjornharvold It's really strange to hear that it works with the |
I can confirm that the error happens on a completely new Angular CLI project as well.
|
1 similar comment
I can confirm that the error happens on a completely new Angular CLI project as well.
|
v2.0.1 is up on npm, thanks to the PR from @Bioto. Please try it out and let me know if it works. |
Same error as before:
package.json
|
Does it have anything to do with Typescript itself? Are there any requirements on it specifically? |
Hey folks, Looks like this issue persists, despite the attempted fix. @bjornharvold was kind enough to try out some more attempts at fixing it, and though we didn't quite manage to solve it, we've narrowed it down to an issue with the package published on npm. I'll need some time to look into it, but as a workaround, please install ng2-meta directly from the github repo for now. npm install --save vinaygopinath/ng2-meta |
@vinaygopinath i'm facing the same error, even if i install via github |
is there any workaround? |
Getting the same error on a fresh install of https://github.com/qdouble/angular-webpack2-starter/tree/bootstrap-and-universal |
Using @types instead of typings might solve this issue |
Hi,
My project is a basic Angular CLI project. I have installed Typescript 2.0.3 globally. This is what I get when trying to install the newly released version:
The text was updated successfully, but these errors were encountered: