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.

Linking of Internal Packages Not Working in TravisCI

See original GitHub issue

First referenced here https://github.com/kittens/lerna/issues/50 but @thejameskyle recommended this be a separate issue.

I have several packages that are linked/published by lerna https://github.com/dtothefp/build-boiler. I run lerna bootstrap on travis and it seems to complete successfully, but when I run my build task via gulp the internal packages that are “linked” by lerna cannot be found.

https://travis-ci.org/dtothefp/build-boiler/builds/116948869

screen shot 2016-03-18 at 1 45 22 pm But upon running the build task in my module which depends upon some of my linked `packages` it seems the the `npm link` has failed
Error: Cannot find module '/home/travis/build/dtothefp/build-boiler/packages/boiler-utils'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
jamiebuildscommented, Mar 23, 2016

We really need to solve this problem…

1reaction
hzoocommented, Mar 22, 2016

👍 Yeah I think everyone assumes it is npm linking haha

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Build Problems - Travis CI Docs
If your build is failing due to unexpected segmentation faults in the language interpreter, this may be caused by corrupt or invalid caches...
Read more >
Running Travis-ci on forked repo fails - use of internal ... - GitHub
I'm trying to figure out why is my forked repo cannot pass travis-ci. It always fails on "use of internal package not allowed"....
Read more >
cannot find package on travis-ci -golang - Stack Overflow
You can try adding something like this in your .travis.yml before_install: - echo "machine github.com login $GITHUB_AUTH_TOKEN" > ~/.netrc.
Read more >
Best Practices and Common Mistakes with Travis CI ...
The more difficult case is when tests pass in your development environment but not in Travis.
Read more >
Public Travis CI Logs (Still) Expose Users to Cyber Attacks
Team Nautilus found that many tokens of Travis CI users are exposed via an issue in its API which allows attackers to launch...
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