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.

import from 'jotail/utils' throwing an error

See original GitHub issue
import { useUpdateAtom } from 'jotai/utils'

I’m using Next.js and when I try to import from jotai/utils it’s throwing this error:

Screenshot 2020-09-30 at 16 30 24

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
dai-shicommented, Oct 2, 2020

Because I want to explicitly split utils out of core. We took the same approach as zustand. I’ll make a small PR and would like you to see if it works. One moment.

0reactions
Kerumencommented, Oct 2, 2020

Why don’t you expose everything from the main entry point?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Having a hard time handling errors caused by 'import'
error is caught when awaiting promise is rejected by error thrown by the module, not importing itself. import is never executed twice. (This...
Read more >
Imports failing with an error stating 'Insert failed. See inner ...
When trying to import data into an ICM table, the import is failing with an error stating 'Insert failed. See inner exception for...
Read more >
Review and troubleshoot import errors - Knowledge Base
Below, learn how to resolve errors detected during an import, download an error file, view error details, and correct issues in your import...
Read more >
Handle import errors - Analytics Help
There are several basic reasons why Data Import might not be working for you: Not reporting on the right view. Not using the...
Read more >
Insight import throws "Error! Import data mapped to OTA ...
During a CSV import, insight-import.log throws this error Error! Import data mapped to OTA Label is empty for.
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