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.

yarn bootstrap fails

See original GitHub issue

Description

yarn bootstrap fails to complete

Repro Steps

yarn bootstrap

Environment (please complete the following information):

  • Framework Version: deck.gl 8.2.2
  • OS: Mac OS X 10.15.5

Logs

yarn run v1.12.1
$ PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true yarn && ocular-bootstrap
[1/4] 🔍  Resolving packages...
success Already up-to-date.
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning "puppeteer > ws@7.3.1" has unmet peer dependency "bufferutil@^4.0.1".
warning "puppeteer > ws@7.3.1" has unmet peer dependency "utf-8-validate@^5.0.2".
[4/4] 📃  Building fresh packages...
warning "puppeteer@5.1.0" has no binaries
[1/4] 🔍  Resolving packages...
success Already up-to-date.
npm WARN lifecycle The node binary used for scripts is /var/folders/pp/yv64x66n3_v45sgbw1f7qkj80000gn/T/yarn--1594857908411-0.38158089748014357/node but npm is using /usr/local/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> deck.gl-monorepo@ build /Users/steve/Code/deck.gl
> ocular-clean && ocular-build && lerna run build

Building modules/test-utils
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main resolved in /Users/steve/Code/deck.gl/node_modules/@babel/helper-compilation-targets/package.json
    at applyExports (internal/modules/cjs/loader.js:491:9)
    at resolveExports (internal/modules/cjs/loader.js:507:23)
    at Function.Module._findPath (internal/modules/cjs/loader.js:635:31)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:953:27)
    at Function.Module._load (internal/modules/cjs/loader.js:842:27)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/Users/steve/Code/deck.gl/node_modules/@babel/preset-env/lib/debug.js:8:33)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10) {
  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! deck.gl-monorepo@ build: `ocular-clean && ocular-build && lerna run build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the deck.gl-monorepo@ build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/steve/.npm/_logs/2020-07-16T00_05_11_252Z-debug.log
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
stevenroussey-privicycommented, Jul 19, 2020

Success!

0reactions
Pessimistresscommented, Jul 17, 2020

@stevenroussey-privicy Can you pull master and try again?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap with yarn fails (the first time) when run as an npm ...
I run lerna bootstrap from an npm script all the time ( postinstall , so it runs whenever I install in the root)....
Read more >
Yarn build:production fails on Bootstrap compilation - sage
I'm trying to yarn build:production , but I keep getting an error related to Bootstrap. I'm on Sage 9.0.10. The error originates in...
Read more >
Looking for help: \'yarn build\' fails
Hello! I am trying to build my project for deployment but build process fails because of mdbreact. The output is below. I am...
Read more >
Yarn kbn bootstrap fails - Kibana - Discuss the Elastic Stack
Hello everyone, I have been trying to run yarn kbn bootstrap but it keeps giving me following errors. E:\Kibana-development\kibana>yarn kbn ...
Read more >
Error when installing Bootstrap with yarn in symfony Project
yarn cache clean. I'm gonna go out on a limb and assume that by clearing the cache you removed node_modules , which is...
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