-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
We are having an issue with Pathing on Windows. When we use something like
<twig:Button :buttonLabel="buttonLabel" :buttonType="buttonType" :buttonSize="buttonSize" />
in one of our Twig Templates it gives the following error on Windows alone:
(you can see its acting like the \ are escape characters)
`ERROR in C:GitKrackenReposeventCalendarDrexel emplatescomponentsButton.html.twig
Module build failed: UnhandledSchemeError: Reading from "C:GitKrackenReposeventCalendarDrexel emplatescomponentsButton.html.twig" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "c:" URIs.`
This is what i found in the bundle file
(self["webpackChunk"] = self["webpackChunk"] || []).push([["QuickAction-stories"],{
/***/ "C:GitKrackenReposeventCalendarDrexel\templatescomponentsButton.html.twig":
/*!*******************************************************************************!*\
!*** C:GitKrackenReposeventCalendarDrexel emplatescomponentsButton.html.twig ***!
\*******************************************************************************/
/***/ (() => {
throw new Error("Module build failed: UnhandledSchemeError: Reading from \"C:GitKrackenReposeventCalendarDrexel\templatescomponentsButton.html.twig\" is not handled by plugins (Unhandled scheme).\nWebpack supports \"data:\" and \"file:\" URIs by default.\nYou may need an additional plugin to handle \"c:\" URIs.\n at C:\\GitKrackenRepos\\eventCalendarDrexel\\node_modules\\webpack\\lib\\NormalModule.js:986:10\n at Hook.eval [as callAsync] (eval at create (C:\\GitKrackenRepos\\eventCalendarDrexel\\node_modules\\tapable\\lib\\HookCodeFactory.js:33:10), <anonymous>:6:1)\n at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (C:\\GitKrackenRepos\\eventCalendarDrexel\\node_modules\\tapable\\lib\\Hook.js:18:14)\n at Object.processResource (C:\\GitKrackenRepos\\eventCalendarDrexel\\node_modules\\webpack\\lib\\NormalModule.js:982:8)\n at processResource (C:\\GitKrackenRepos\\eventCalendarDrexel\\node_modules\\loader-runner\\lib\\LoaderRunner.js:222:11)\n at iteratePitchingLoaders (C:\\GitKrackenRepos\\eventCalendarDrexel\\node_modules\\loader-runner\\lib\\LoaderRunner.js:173:10)\n at runLoaders (C:\\GitKrackenRepos\\eventCalendarDrexel\\node_modules\\loader-runner\\lib\\LoaderRunner.js:402:2)\n at NormalModule._doBuild (C:\\GitKrackenRepos\\eventCalendarDrexel\\node_modules\\webpack\\lib\\NormalModule.js:964:3)\n at NormalModule.build (C:\\GitKrackenRepos\\eventCalendarDrexel\\node_modules\\webpack\\lib\\NormalModule.js:1157:15)\n at C:\\GitKrackenRepos\\eventCalendarDrexel\\node_modules\\webpack\\lib\\Compilation.js:1422:12");
I've tried a lot of solutions in the issues of this GitHub repo but to no avail.
Any ideas? Again, this is windows only and only when we insert a twig component into another Twig Component.
Full QuickAction.html.twig file
{# templates/components/QuickAction.html.twig #}
{% props
buttonLabel,
buttonType,
buttonSize
%}
{% set quickaction = cva({
args: {
buttonLabel: 'Click Here',
buttonType: "Approve",
buttonSize: "Normal"
},
})
%}
<div class="quick-action-buttons">
<twig:Button :buttonLabel="buttonLabel" :buttonType="buttonType" :buttonSize="buttonSize" />
</div>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels