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

problems installing @types #1711

Closed
robstoll opened this issue Nov 6, 2016 · 3 comments
Closed

problems installing @types #1711

robstoll opened this issue Nov 6, 2016 · 3 comments

Comments

@robstoll
Copy link

robstoll commented Nov 6, 2016

Do you want to request a feature or report a bug?
bug

What is the current behavior?

Trace: 
  Error: ENOENT: no such file or directory, open '...\node_modules\@types\async\index.d.ts'
      at Error (native)

And I can confirm, there is not even a folder called @types in node_modules
When I hit yarn install again I get the following error:

Trace: 
  Error: ENOENT: no such file or directory, open '...\node_modules\protractor\node_modules\@types\selenium-webdriver\index.d.ts'
      at Error (native)

In this case the folder node_modules@types is created including subfolders (in contrast to the previous attempt)
When I hit yarn install again, then I get the first error again as mentioned above

What is the expected behavior?
install all dependencies

Please mention your node.js, yarn and operating system version.
node: 4.5.0
yarn: 0.16.1
OS: Windows 7

@robstoll
Copy link
Author

robstoll commented Nov 6, 2016

Could resolve the problem by myself by deleting the node_modules folder. I leave the issue open in case the information above is helpful. Feel free to close it at any time

@wclr
Copy link
Contributor

wclr commented Nov 6, 2016

Yeah met this on some projects with @types in Windows 10, need to run yarn commands twice before they work.

@wyze
Copy link
Member

wyze commented Nov 6, 2016

Duplicate #919.

@wyze wyze closed this as completed Nov 6, 2016
@wyze wyze added the duplicate label Nov 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants