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

Error: Couldn't find preset "latest" relative to directory #368

Closed
khalibloo opened this issue Sep 15, 2017 · 1 comment
Closed

Error: Couldn't find preset "latest" relative to directory #368

khalibloo opened this issue Sep 15, 2017 · 1 comment

Comments

@khalibloo
Copy link

Yes, latest as of today

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

What is the current behavior?
I get the following error when I run npm start.
Error: Couldn't find preset "latest" relative to directory "C:\\blah\\blah"

If the current behavior is a bug, please provide the steps to reproduce.
I simply installed preact-cli as instructed in the readme. Then I installed preact-cli-plugin-typescript. Renamed the js files to tsx and ran npm start. The issue is very similar to #9
In fact, I solved it by deleting a .babelrc in a parent directory. I'm only reporting this to bring the error to your attention.

The configs are all default.

What is the expected behavior?
I expected it to run without any errors :D

If this is a feature request, what is motivation or use case for changing the behavior?

Please mention other relevant information.

  • node version
    6.11.2
  • npm version
    3.10.10
  • Operating system
    Windows 10
@lukeed
Copy link
Member

lukeed commented Dec 22, 2017

Hi @khalibloo, sorry for the delay.

Is this still happening for you? We've reworked the Babel config since this, and curious if you're still encountering the issue.

Thanks!

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

No branches or pull requests

3 participants