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.

🐛 BUG: Error during import package by snowpack

See original GitHub issue

Quick checklist

  • I am using the latest version of Snowpack and all plugins.

What package manager are you using?

npm

What operating system are you using?

macOS

Describe the bug

[12:20:49] [snowpack] └── react-is@17.0.2 (node:76858) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/Users/admin/gitRepos/crypto-ssr/node_modules/.cache/snowpack/build/react-is@17.0.2/react-is.js'

I can see node_modules/.cache/snowpack/react-is@16.13.1 so probably snowpack not recognised version correctly!

Link to minimal reproducible example (optional)

No response

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:6

github_iconTop GitHub Comments

2reactions
GoldenTKcommented, Oct 5, 2021

I used Vite.js and it’s working much better.

1reaction
jaredh159commented, Feb 25, 2022

having this problem with 3.8.8 as well, pinning to 3.8.6 works for me. using react-redux

Read more comments on GitHub >

github_iconTop Results From Across the Web

BUG: Circular dependency fix broke starting up with ... - GitHub
I am using the latest version of Snowpack and all plugins. What package manager are you using? npm. What operating system are you...
Read more >
Common Error Details - Snowpack
This warning appears when Snowpack believes something to be in node_modules , but can't find it. This typically happens because you've tried to...
Read more >
Comparing the New Generation of Build Tools - CSS-Tricks
Imported JSON files will be cast into a JavaScript module with an object as a default export. Snowpack supports images and copies them...
Read more >
Parcel
If you make an error in your code or configuration, Parcel displays beautiful diagnostics in your terminal and in the browser. Every error...
Read more >
Vite vs. Snowpack: A comparison of frontend build tools
Instead, such imports will throw an error in the browser because it is not a relative path to the location of the package...
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