Skip to content
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

multiple import errors after updating to 0.1.90 #235

Open
2old4thisShit opened this issue Dec 5, 2024 · 0 comments
Open

multiple import errors after updating to 0.1.90 #235

2old4thisShit opened this issue Dec 5, 2024 · 0 comments

Comments

@2old4thisShit
Copy link

updated from 0.1.67 to 0.1.90

`frappe@WSJSANCHEZ:~/frappe-bench/apps/my_custom_app/frontend$ yarn dev
yarn run v1.22.19
$ vite

vite v2.9.18 dev server running at:

Local: http://localhost:8080/
Network: use --host to expose

ready in 356ms.

Failed to resolve import "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Button.vue" from "node_modules/.vite/deps/frappe-ui.js?v=1fe74e28". Does the file exist?
12:42:58 PM [vite] Internal server error: Failed to resolve import "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Button.vue" from "node_modules/.vite/deps/frappe-ui.js?v=1fe74e28". Does the file exist?
Plugin: vite:import-analysis
File: /home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/.vite/deps/frappe-ui.js?v=1fe74e28
35 | import { default as default10 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Badge.vue";
36 | import { default as default11 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Breadcrumbs.vue";
37 | import { default as default12 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Button.vue";
| ^
38 | import { default as default13 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Card.vue";
39 | import { default as default14 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Checkbox.vue";
at formatError (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:39080:46)
at TransformContext.error (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:39076:19)
at normalizeUrl (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:58365:26)
at async TransformContext.transform (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:58514:57)
at async Object.transform (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:39317:30)
at async doTransform (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:50048:29)
12:42:58 PM [vite] Internal server error: Failed to resolve import "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Button.vue" from "node_modules/.vite/deps/frappe-ui.js?v=1fe74e28". Does the file exist?
Plugin: vite:import-analysis
File: /home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/.vite/deps/frappe-ui.js?v=1fe74e28
35 | import { default as default10 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Badge.vue";
36 | import { default as default11 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Breadcrumbs.vue";
37 | import { default as default12 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Button.vue";
| ^
38 | import { default as default13 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Card.vue";
39 | import { default as default14 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Checkbox.vue";
at formatError (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:39080:46)
at TransformContext.error (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:39076:19)
at normalizeUrl (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:58365:26)
at async TransformContext.transform (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:58514:57)
at async Object.transform (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:39317:30)
at async doTransform (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:50048:29) (x2)
frappe-ui/src/utils/tailwind.config.js is deprecated. Use frappe-ui/tailwind/preset.js instead.
12:43:00 PM [vite] Internal server error: Failed to resolve import "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Button.vue" from "node_modules/.vite/deps/frappe-ui.js?v=1fe74e28". Does the file exist?
Plugin: vite:import-analysis
File: /home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/.vite/deps/frappe-ui.js?v=1fe74e28
35 | import { default as default10 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Badge.vue";
36 | import { default as default11 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Breadcrumbs.vue";
37 | import { default as default12 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Button.vue";
| ^
38 | import { default as default13 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Card.vue";
39 | import { default as default14 } from "/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/frappe-ui/src/components/Checkbox.vue";
at formatError (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:39080:46)
at TransformContext.error (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:39076:19)
at normalizeUrl (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:58365:26)
at async TransformContext.transform (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:58514:57)
at async Object.transform (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:39317:30)
at async doTransform (/home/frappe/frappe-bench/apps/my_custom_app/frontend/node_modules/vite/dist/node/chunks/dep-0a035c79.js:50048:29) (x3)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant