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

After migrate from webpack to vite, lodash and moment is not defined #1005

Closed
Moxxxem opened this issue Dec 5, 2023 · 2 comments
Closed

Comments

@Moxxxem
Copy link

Moxxxem commented Dec 5, 2023

Environment



Reproduction

Install lodash, moment.
Vite config:
vite: {
plugins: [
inject({
_: path.resolve('./node_modules/lodash'),
moment: path.resolve('./node_modules/moment')
})
],
preventAssignment: true,

resolve: {
  alias: {
    swiper: './node_modules/swiper'
  }
},

css: {
  preprocessorOptions: {
    scss: {
      sourceMap: false,
      additionalData(source, fp) {
        if (fp.endsWith('variables.scss')) return source
        // Use additionalData from legacy nuxt scss options
        return `@import "@/assets/scss/main.scss"; ${source}`
      }
    }
  }
}

},

Describe the bug

In components and .js files errors:
[nuxt] [request error] [unhandled] [500] _ is not defined
[nuxt] [request error] [unhandled] [500] moment is not defined

Additional context

Before migrate to Vite i'm use webpack.providePlugin, in vite i'm using inject()

"lodash": "^4.17.21",
"moment": "^2.29.3",

Logs

[5:47:03 PM]  WARN  5:47:03 PM [vite] warning: @rollup/plugin-replace: 'preventAssignment' currently defaults to false. It is recommended to set this option to true, as the next major version will default this option to true.
  Plugin: replace

ℹ Watching ~/assets/icons/ for new icons                                                                                                  @nuxtjs/svg-sprite 17:47:03
✔ Nitro built in 307 ms                                                                                                                             nitro 5:47:03 PM
ℹ Waiting for file changes                                                                                                                                5:47:03 PM

[5:47:08 PM]  WARN  5:47:08 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/node_modules/@nuxtjs/svg-sprite/lib/pages/icons-list.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/node_modules/@nuxtjs/svg-sprite/lib/pages/icons-list.vue


[5:47:08 PM]  WARN  5:47:08 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/node_modules/@nuxtjs/svg-sprite/lib/pages/icons-list.vue?vue&type=style&index=0&scoped=d47ac926&lang.css. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/node_modules/@nuxtjs/svg-sprite/lib/pages/icons-list.vue?vue&type=style&index=0&scoped=d47ac926&lang.css


[5:47:08 PM]  WARN  5:47:08 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/design.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/design.vue


[5:47:08 PM]  WARN  5:47:08 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/layout/site-header.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/layout/site-header.vue


[5:47:08 PM]  WARN  5:47:08 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/layout/site-logo.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/layout/site-logo.vue


[5:47:08 PM]  WARN  5:47:08 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/layout/user-menu.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/layout/user-menu.vue


[5:47:08 PM]  WARN  5:47:08 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/users/google-signin-btn.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/users/google-signin-btn.vue


[5:47:08 PM]  WARN  5:47:08 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/users/linkedin-signin-btn.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/users/linkedin-signin-btn.vue


[5:47:08 PM]  WARN  5:47:08 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/users/twitter-signin-btn.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/users/twitter-signin-btn.vue


[5:47:08 PM]  WARN  5:47:08 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/users/slack-signin-btn.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/users/slack-signin-btn.vue


[5:47:09 PM]  WARN  5:47:09 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:09 PM]  WARN  5:47:09 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:09 PM]  WARN  5:47:09 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/layout/user-menu.vue?vue&type=style&index=0&scoped=a86b3d82&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/layout/user-menu.vue?vue&type=style&index=0&scoped=a86b3d82&lang.scss


[5:47:10 PM]  WARN  5:47:10 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/layout/bread-crumbs.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/layout/bread-crumbs.vue


[5:47:10 PM]  WARN  5:47:10 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/layout/site-header-instructions.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/layout/site-header-instructions.vue


[5:47:10 PM]  WARN  5:47:10 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:10 PM]  WARN  5:47:10 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:10 PM]  WARN  5:47:10 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/layout/site-header-instructions.vue?vue&type=style&index=0&scoped=e2fe7eb3&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/layout/site-header-instructions.vue?vue&type=style&index=0&scoped=e2fe7eb3&lang.scss


[5:47:10 PM]  WARN  5:47:10 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/layout/site-footer.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/layout/site-footer.vue


[5:47:10 PM]  WARN  5:47:10 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/design/index.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/design/index.vue


[5:47:10 PM]  WARN  5:47:10 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/design/buttons.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/design/buttons.vue


[5:47:11 PM]  WARN  5:47:11 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:11 PM]  WARN  5:47:11 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:11 PM]  WARN  5:47:11 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/design/elements-with-code-snippet.vue?vue&type=style&index=0&scoped=ea0f88a5&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/design/elements-with-code-snippet.vue?vue&type=style&index=0&scoped=ea0f88a5&lang.scss


[5:47:11 PM]  WARN  5:47:11 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:11 PM]  WARN  5:47:11 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:11 PM]  WARN  5:47:11 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/design/buttons.vue?vue&type=style&index=0&scoped=ed25f056&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/design/buttons.vue?vue&type=style&index=0&scoped=ed25f056&lang.scss


[5:47:12 PM]  WARN  5:47:12 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/design/colors.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/design/colors.vue


[5:47:12 PM]  WARN  5:47:12 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/assets/scss/_variables.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/assets/scss/_variables.scss


[5:47:12 PM]  WARN  5:47:12 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:12 PM]  WARN  5:47:12 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:12 PM]  WARN  5:47:12 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/design/colors.vue?vue&type=style&index=0&scoped=45774578&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/design/colors.vue?vue&type=style&index=0&scoped=45774578&lang.scss


[5:47:12 PM]  WARN  5:47:12 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/design/icons.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/design/icons.vue


[5:47:12 PM]  WARN  5:47:12 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/common/form/app-checkbox-group.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/common/form/app-checkbox-group.vue


[5:47:12 PM]  WARN  5:47:12 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/common/form/app-input.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/common/form/app-input.vue


[5:47:12 PM]  WARN  5:47:12 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/common/form/app-radio-group.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/common/form/app-radio-group.vue


[5:47:12 PM]  WARN  5:47:12 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/hubspot-callback.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/hubspot-callback.vue


[5:47:12 PM]  WARN  5:47:12 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:12 PM]  WARN  5:47:12 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:13 PM]  WARN  5:47:13 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/hubspot-callback.vue?vue&type=style&index=0&scoped=06da0c22&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/hubspot-callback.vue?vue&type=style&index=0&scoped=06da0c22&lang.scss


[5:47:13 PM]  WARN  5:47:13 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/image-generator/index.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/image-generator/index.vue


[5:47:13 PM]  WARN  5:47:13 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:13 PM]  WARN  5:47:13 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:13 PM]  WARN  5:47:13 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/image-generator/index.vue?vue&type=style&index=0&scoped=95aa4b25&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/image-generator/index.vue?vue&type=style&index=0&scoped=95aa4b25&lang.scss


[5:47:13 PM]  WARN  5:47:13 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/issue/index.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/issue/index.vue


[5:47:13 PM]  WARN  5:47:13 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/post-card.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/post-card.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/charts/single-chart/single-chart.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/charts/single-chart/single-chart.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/influenced-information.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/influenced-information.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/comments-list.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/comments-list.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/reply-card.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/reply-card.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/reply-sub-card.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/reply-sub-card.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/leave-comment/leave-issue.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/leave-comment/leave-issue.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/leave-comment/leave-comment-footer.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/leave-comment/leave-comment-footer.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/communities/community-list.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/communities/community-list.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/communities/community-list-item.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/communities/community-list-item.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/autosuggest-form-input.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/autosuggest-form-input.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/autosuggest-form-input.vue?vue&type=style&index=0&scoped=f3d91e76&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/autosuggest-form-input.vue?vue&type=style&index=0&scoped=f3d91e76&lang.scss


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/communities/request-reply-from-select.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/communities/request-reply-from-select.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/communities/community-user-list.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/communities/community-user-list.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/communities/community-user-list-item.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/communities/community-user-list-item.vue


[5:47:14 PM]  WARN  5:47:14 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/communities/community-user-list-user-item.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/communities/community-user-list-user-item.vue


[5:47:15 PM]  WARN  5:47:15 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:15 PM]  WARN  5:47:15 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:15 PM]  WARN  5:47:15 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/communities/request-reply-from-select.vue?vue&type=style&index=0&scoped=febfac51&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/communities/request-reply-from-select.vue?vue&type=style&index=0&scoped=febfac51&lang.scss


[5:47:15 PM]  WARN  5:47:15 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/categories/category-list-flat.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/categories/category-list-flat.vue


[5:47:15 PM]  WARN  5:47:15 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:15 PM]  WARN  5:47:15 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:15 PM]  WARN  5:47:15 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/categories/category-list-flat.vue?vue&type=style&index=0&scoped=258beeb0&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/categories/category-list-flat.vue?vue&type=style&index=0&scoped=258beeb0&lang.scss


[5:47:15 PM]  WARN  5:47:15 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/leave-comment/insert-ai-question-modal.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/leave-comment/insert-ai-question-modal.vue


[5:47:15 PM]  WARN  5:47:15 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/leave-comment/edit-ai-question-form.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/leave-comment/edit-ai-question-form.vue


[5:47:15 PM]  WARN  5:47:15 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/tables/input-table/autocomplete/formula-autocomplete.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/tables/input-table/autocomplete/formula-autocomplete.vue


[5:47:16 PM]  WARN  5:47:16 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:16 PM]  WARN  5:47:16 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:16 PM]  WARN  5:47:16 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/tables/input-table/autocomplete/formula-autocomplete.vue?vue&type=style&index=0&scoped=1f366b4e&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/tables/input-table/autocomplete/formula-autocomplete.vue?vue&type=style&index=0&scoped=1f366b4e&lang.scss


[5:47:16 PM]  WARN  5:47:16 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:16 PM]  WARN  5:47:16 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:16 PM]  WARN  5:47:16 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/leave-comment/edit-ai-question-form.vue?vue&type=style&index=0&scoped=29e0c4b0&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/leave-comment/edit-ai-question-form.vue?vue&type=style&index=0&scoped=29e0c4b0&lang.scss


[5:47:17 PM]  WARN  5:47:17 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/leave-comment/knowledge-pile-modal.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/leave-comment/knowledge-pile-modal.vue


[5:47:17 PM]  WARN  5:47:17 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/checkbox-tree/checkbox-tree.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/checkbox-tree/checkbox-tree.vue


[5:47:17 PM]  WARN  5:47:17 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/checkbox-tree/checkbox-tree-item.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/checkbox-tree/checkbox-tree-item.vue


[5:47:17 PM]  WARN  5:47:17 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:17 PM]  WARN  5:47:17 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:17 PM]  WARN  5:47:17 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/leave-comment/knowledge-pile-modal.vue?vue&type=style&index=0&scoped=32373cd5&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/leave-comment/knowledge-pile-modal.vue?vue&type=style&index=0&scoped=32373cd5&lang.scss


[5:47:17 PM]  WARN  5:47:17 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:17 PM]  WARN  5:47:17 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:17 PM]  WARN  5:47:17 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/leave-comment/insert-ai-question-modal.vue?vue&type=style&index=0&scoped=da465d6e&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/leave-comment/insert-ai-question-modal.vue?vue&type=style&index=0&scoped=da465d6e&lang.scss


[5:47:18 PM]  WARN  5:47:18 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/common/source-links/source-links.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/common/source-links/source-links.vue


[5:47:18 PM]  WARN  5:47:18 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/common/source-links/source-links-item.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/common/source-links/source-links-item.vue


[5:47:18 PM]  WARN  5:47:18 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:18 PM]  WARN  5:47:18 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:18 PM]  WARN  5:47:18 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/common/source-links/source-links-item.vue?vue&type=style&index=0&scoped=8fd24002&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/common/source-links/source-links-item.vue?vue&type=style&index=0&scoped=8fd24002&lang.scss


[5:47:18 PM]  WARN  5:47:18 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:18 PM]  WARN  5:47:18 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:18 PM]  WARN  5:47:18 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/common/source-links/source-links.vue?vue&type=style&index=0&scoped=1e711cb3&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/common/source-links/source-links.vue?vue&type=style&index=0&scoped=1e711cb3&lang.scss


[5:47:19 PM]  WARN  5:47:19 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/common/source-links/source-documents.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/common/source-links/source-documents.vue


[5:47:19 PM]  WARN  5:47:19 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/common/source-links/source-documents-item.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/common/source-links/source-documents-item.vue


[5:47:19 PM]  WARN  5:47:19 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:19 PM]  WARN  5:47:19 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:19 PM]  WARN  5:47:19 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/common/source-links/source-documents-item.vue?vue&type=style&index=0&scoped=4e71b687&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/common/source-links/source-documents-item.vue?vue&type=style&index=0&scoped=4e71b687&lang.scss


[5:47:19 PM]  WARN  5:47:19 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:19 PM]  WARN  5:47:19 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:19 PM]  WARN  5:47:19 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/common/source-links/source-documents.vue?vue&type=style&index=0&scoped=445c551b&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/common/source-links/source-documents.vue?vue&type=style&index=0&scoped=445c551b&lang.scss


[5:47:20 PM]  WARN  5:47:20 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:20 PM]  WARN  5:47:20 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:20 PM]  WARN  5:47:20 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/leave-comment/leave-issue.vue?vue&type=style&index=0&scoped=5775cbf4&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/leave-comment/leave-issue.vue?vue&type=style&index=0&scoped=5775cbf4&lang.scss


[5:47:20 PM]  WARN  5:47:20 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/image-card.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/image-card.vue


[5:47:20 PM]  WARN  5:47:20 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:20 PM]  WARN  5:47:20 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:20 PM]  WARN  5:47:20 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/image-card.vue?vue&type=style&index=0&scoped=46d9aa4d&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/image-card.vue?vue&type=style&index=0&scoped=46d9aa4d&lang.scss


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/download-link.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/download-link.vue


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/post-card-communities.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/post-card-communities.vue


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/post-card-communities.vue?vue&type=style&index=0&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/post-card-communities.vue?vue&type=style&index=0&lang.scss


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/info/author-list.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/info/author-list.vue


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/share-block.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/share-block.vue


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/posts/info/alternative-list.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/posts/info/alternative-list.vue


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/filters/sort-option.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/filters/sort-option.vue


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/pages/mip.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/pages/mip.vue


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/filters/desktop-filter.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/filters/desktop-filter.vue


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/filters/community-filter.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/filters/community-filter.vue


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/communities/start-new-company-form.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/communities/start-new-company-form.vue


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:21 PM]  WARN  5:47:21 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:22 PM]  WARN  5:47:22 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/communities/start-new-company-form.vue?vue&type=style&index=0&scoped=254f423c&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/communities/start-new-company-form.vue?vue&type=style&index=0&scoped=254f423c&lang.scss


[5:47:22 PM]  WARN  5:47:22 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/filters/scenarios-research-filter.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/filters/scenarios-research-filter.vue


[5:47:22 PM]  WARN  5:47:22 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/common/form/app-checkbox-list.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/common/form/app-checkbox-list.vue


[5:47:22 PM]  WARN  5:47:22 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:22 PM]  WARN  5:47:22 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:22 PM]  WARN  5:47:22 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/filters/scenarios-research-filter.vue?vue&type=style&index=0&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/filters/scenarios-research-filter.vue?vue&type=style&index=0&lang.scss


[5:47:22 PM]  WARN  5:47:22 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/filters/request-reply-filter.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/filters/request-reply-filter.vue


[5:47:22 PM]  WARN  5:47:22 PM [vite] warning: rewrote swiper/swiper.scss to ./node_modules/swiper/swiper.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:22 PM]  WARN  5:47:22 PM [vite] warning: rewrote swiper/modules/pagination.scss to ./node_modules/swiper/modules/pagination.scss but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
  Plugin: alias


[5:47:22 PM]  WARN  5:47:22 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/filters/request-reply-filter.vue?vue&type=style&index=0&scoped=a088dcd5&lang.scss. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/filters/request-reply-filter.vue?vue&type=style&index=0&scoped=a088dcd5&lang.scss


[5:47:23 PM]  WARN  5:47:23 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/filters/date-range.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/filters/date-range.vue


[5:47:23 PM]  WARN  5:47:23 PM [vite] warning: rollup-plugin-inject: failed to parse /home/afterlogic/Desktop/website/components/filters/search-input.vue. Consider restricting the plugin to particular files via options.include
  Plugin: inject
  File: /home/afterlogic/Desktop/website/components/filters/search-input.vue

[nuxt] [request error] [unhandled] [500] _ is not defined
  at ./components/filters/search-input.vue:67:28  
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)  
  at async ViteNodeRunner.runModule (./node_modules/vite-node/dist/client.mjs:342:5)  
  at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:326:5)  
  at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:189:14)  
  at async ViteNodeRunner.dependencyRequest (./node_modules/vite-node/dist/client.mjs:223:12)  
  at async ./mixins/filters.js:10:31  
  at async ViteNodeRunner.runModule (./node_modules/vite-node/dist/client.mjs:342:5)  
  at async ViteNodeRunner.directRequest (./node_modules/vite-node/dist/client.mjs:326:5)  
  at async ViteNodeRunner.cachedRequest (./node_modules/vite-node/dist/client.mjs:189:14)
@Moxxxem Moxxxem changed the title Vite didn't see lodash and moment After migrate from webpack to vite, lodash and moment is not defined Dec 5, 2023
Copy link
Contributor

github-actions bot commented Dec 7, 2023

Would you be able to provide a reproduction? 🙏

More info

Why do I need to provide a reproduction?

Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.

What will happen?

If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect.

If needs reproduction labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.

How can I create a reproduction?

We have a couple of templates for starting with a minimal reproduction:

👉 https://stackblitz.com/github/nuxt/starter/tree/v2-bridge
👉 https://codesandbox.io/p/github/nuxt/starter/v2-bridge-codesandbox

A public GitHub repository is also perfect. 👌

Please ensure that the reproduction is as minimal as possible. See more details in our guide.

You might also find these other articles interesting and/or helpful:

Copy link
Contributor

This issue was closed because it was open for 7 days without a reproduction.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants