-
-
Notifications
You must be signed in to change notification settings - Fork 31
export 'default' (imported as 'InfiniteLoading') was not found in 'v3-infinite-loading' (module has no exports) #74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
hi, i can confirm the same thing happened with my project as well. It was working fine when i installed it a couple of months back, but i tried last Saturday to install a new npm package and this started to show up. At first i though it might have something to do with the new package i installed, but the same happens regardless of packages. If i revert back to the previous version and try adding anything into package.json and run npm install. This error shows up . |
For some reason UMD didn´t work for me either, yet ESM did. I added workaround to Webpack via aliasing, so it would use ESM file instead of UMD.
|
I'm experiencing the same issue. It's unfortunate that the example provided in the documentation is generating errors. :( |
I'm experiencing the same issue. Using: v3-infinite-loading: 1.3.1 with vue 3.2.13. |
I am also experiencing the same issue with Vue 3 |
Someone get the solution? |
I am encountering the same error. |
i found a rather simple solution to this problem, by just directly importing the |
downgrade to 1.2.2 will solve the issue |
If the default import isn't working as expected import InfiniteLoading from "v3-infinite-loading/lib/v3-infinite-loading.es.js" |
Hi im facing this error just after importing the package
I created a test project to show it
Dependency list of project
"dependencies": { "core-js": "^3.8.3", "v3-infinite-loading": "^1.3.1", "vue": "^3.2.26" }, "devDependencies": { "@babel/core": "^7.12.16", "@babel/eslint-parser": "^7.12.16", "@vue/cli-plugin-babel": "~5.0.0", "@vue/cli-plugin-eslint": "~5.0.0", "@vue/cli-service": "~5.0.0", "eslint": "^7.32.0", "eslint-plugin-vue": "^8.0.3" }, "eslintConfig": { "root": true, "env": { "node": true }, "extends": [ "plugin:vue/vue3-essential", "eslint:recommended" ], "parserOptions": { "parser": "@babel/eslint-parser" }, "rules": {} },
All I did is import the module:
Error Warning when you run
vue-cli-service serve
:export 'default' (imported as 'V3InfiniteLoading') was not found in 'v3-infinite-loading' (module has no exports)
Error in chrome dev console:
Dummy Project Repo: LINK
The text was updated successfully, but these errors were encountered: