Import fails
See original GitHub issueIssue Description
I did:
npm install next-usequerystate
and then added to my code:
import { useQueryState } from 'next-usequerystate'
I got this error:
Failed to compile
./node_modules/next-usequerystate/dist/esm/index.js
Module parse failed: 'import' and 'export' may appear only with 'sourceType: module' (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> export * from './defs';
| export * from './useQueryState';
| export * from './useQueryStates'
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
Python - fails importing package - Stack Overflow
I have trouble importing package. My file structure is like this: filelib/ __init__.py converters/ __init__.py cmp2locus.py modelmaker/ ...
Read more >[Satellite 6] Content View import fails with 'no library repository ...
Issue. We are importing a Content View (CV) from one Satellite server to another as part of the backup/migration/sync procedure:.
Read more >Troubleshooting an import that fails - ServiceNow - Now Support
This article guides you through the process of troubleshooting an import that fails. It provides steps to help you eliminate common causes for...
Read more >Slack import fails with Failed to start import operation #26479
Description: Slack import fails to start. The file uploads and shows all the correct users and channels. Messages is grayed out.
Read more >How to Fix “Import Failed” Mail Error on Mac - OSXDaily
Fix “Import Failed – Error Occurred During Import” in Mail for Mac · Quit out of Mail app if it's still open ·...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep I’m using 1.4.0-beta.5 and it’s working well for me.
Thank you!
🎉 This issue has been resolved in version 1.4.0-beta.5 🎉
The release is available on:
Your semantic-release bot 📦🚀