Skip to content
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

Cant find promise + typings is not installed + configure ngrx errors #1723

Closed
stavalfi opened this issue Aug 17, 2016 · 9 comments
Closed

Cant find promise + typings is not installed + configure ngrx errors #1723

stavalfi opened this issue Aug 17, 2016 · 9 comments

Comments

@stavalfi
Copy link

stavalfi commented Aug 17, 2016

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
    win 7 64 bit
  2. Versions. Please run ng --version. If there's nothing outputted, please run
    in a Terminal: node --version and paste the result here:

angular-cli 1.0.0-beta 11-webpack.2
node: 4.4.7
npm : 3.10.3
os:win32 x64

  1. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.

First I installed angular cli : 'npm install -g angular-cli@webpack' and then I created the project using 'ng new app-name'.

  1. Mention any other details that might be useful.

# I post a very detailed question on stackoverflow with all the errors and what I tyied to do.
http://stackoverflow.com/questions/38980180/how-to-configure-angular-cli-project-for-rc5

I can't develope anything with all those errors.
Any help will be great!

@deebloo
Copy link
Contributor

deebloo commented Aug 17, 2016

@stavalfi what version of npm are you using?

@stavalfi
Copy link
Author

npm: 3.10.3

@clydin
Copy link
Member

clydin commented Aug 17, 2016

typings is no longer used. types are install via npm install --save-dev @types/<library_name>. Until the next release of the CLI, you'll also need to add the library name to the types array in tsconfig.json.

Also, the CLI uses typescript 2.0 features and I'm not sure if webstorm has support yet. For some reason if an IDE's version of typescript doesn't support a field in tsconfig.json, the entire file is ignored.

@stavalfi
Copy link
Author

stavalfi commented Aug 17, 2016

Thank for the quick repley @clydin.

  1. I don't have much experience with most of the configurations so I'm not familiar with 'types'. Can you specify what should I do excatly so the errors will go away?
  2. Webstorm supports typescript : https://blog.jetbrains.com/webstorm/2016/07/webstorm-2016-2/

Many thanks,
stav.

@deebloo
Copy link
Contributor

deebloo commented Aug 17, 2016

@types is used instead of typings, and yes webstorm supports typescript but which version? for example in vscode you have to edit your workspace settings to point to the locally installed version of TS

@deebloo
Copy link
Contributor

deebloo commented Aug 17, 2016

also the ngrx issue may be tied to sourcemaps in the ngrx projects. I am using it in mine and I get a warning but the app compiles and works fine

@stavalfi
Copy link
Author

@deebloo Can you tell what do add or to upload your initial project?

@filipesilva
Copy link
Contributor

There's two parts to this issue:

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants