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.

Local build issues

See original GitHub issue

I find myself unable to create a local build. When I run yarn install and yarn start, I get:

yarn run v1.9.4
$ node check-node-version.js && yarn check && node src/unicodeMake.js
info fsevents@1.2.4: The platform "win32" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
error "style-loader" is wrong version: expected "0.23.0", got "0.22.0"
error "istanbul-api#compare-versions" is wrong version: expected "3.3.1", got "3.3.0"
error Found 2 errors.
info Visit https://yarnpkg.com/en/docs/cli/check for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

And I get similar messages when I try yarn build.

Any suggestions would be welcome. I am running on Windows, if that makes any difference.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
ronkokcommented, Sep 7, 2018

@edemaine Thanks! Your suggestion of deleting the node_modules directory worked.

0reactions
edemainecommented, Sep 7, 2018

@ronkok One other idea: try deleting the node_packages directory and running yarn install again. A bit of a big hammer, but that should fix it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolving common configuration and build issues
Reproducing a build failure locally is often key to fixing its cause. To quickly check out the Git revision of a build: Open...
Read more >
Build troubleshooting tips - Netlify Docs
In case your build fails on Netlify, first make sure it builds locally in your own development environment. This is a prerequisite to...
Read more >
Issues · GoogleCloudPlatform/cloud-build-local - GitHub
Local Builder runs Google Cloud Build builds locally, allowing faster debugging, less vendor lock-in, and integration into local build and test workflows.
Read more >
Top Android Build Issues and how to fix them | Gradle Enterprise
This webcast discusses top Android build issues. ... we're going talk about build-cache of course accelerating local developer cache, ...
Read more >
Troubleshooting Node.js Deploys - Heroku Dev Center
Start with these simple steps to troubleshoot a build issue. ... The binaries should match up with the same local versions. If they...
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