question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fresh repository clone won't test without extra build step

See original GitHub issue

Subject of the issue

When doing a fresh clone of the mdx repository the test and format instructions fail due to /packages/tag not being built.

I do not know if this is specifically related to a Windows development environment. I discussed this with @silvenon and initially we suspected this was related to it being on Windows but the fact that it is related to tag not being built makes me question that.

Your environment

  • Windows 10
  • MDX latest code
  • Node 8.11.2, Yarn 1.12.0

Steps to reproduce

Clone a completely clean instance of the repository. Run yarn followed by yarn bootstrap followed by yarn test.

Expected behaviour

The tests should run.

Actual behaviour

The tests fail with message that @mdx-js/tag cannot be found.

Hotfix

Go to /packages/tag directory and run yarn build. After that the tests run and passes.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
johnocommented, Jan 23, 2019

@wooorm Sure! tag refers to the @mdx-js/tag library that lives in packages/tag which is causing the fresh install errors when running tests because it requires a babel compilation build step.

0reactions
AlmeroSteyncommented, Jan 25, 2019

Thanks for actioning this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Git's 'fatal: repository not found' error quickly | TheServerSide
Frustrated by Git's 'fatal: repository not found' error message? Here are five ways to fix that problem and successfully clone, ...
Read more >
How to Fix SSH “Permission Denied” with Git Clone - Medium
First of all, ensure that your SSH key has been generated and the file containing the corresponding public key id_rsa.pub has been added...
Read more >
github - Git: How to make outer repository and embedded ...
In local test repo rm -rf test2 git clone https://github.com/eromoe/test2 git add ... Set of Commands (just gets the job done without printing...
Read more >
Clone a Git repository in Visual Studio - Microsoft Learn
Clone a repo in Visual Studio by using Git or Azure DevOps. ... repo and sign in; Browse to and then clone an...
Read more >
Clone a Project from GitHub | The IntelliJ IDEA Blog
In this blog, we're going to look at how to create an IntelliJ IDEA project from existing code in a GitHub repository.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found