while npm run dev:serve-ssr
Am getting this error.
how to fix?
Compiled successfully.
C:\Users\Nirali\Documents\marketsmojo\technical-repo-gui\mojotechnicals\dist\mojotechnicals\server\main.js:56687
b=b?b._modules:{};g(b,"Series/HollowCandlestick/HollowCandlestickPoint.js",[b["Core/Series/SeriesRegistry.js"]],function(b){var c=this&&this.__extends||function(){var b=function(a,e){b=Object.setPrototypeOf||{proto:[]}instanceof Array&&function(b,a){b.proto=a}||function(b,a){for(var e in a)a.hasOwnProperty(e)&&(b[e]=a[e])};return b(a,e)};return function(a,e){function c(){this.constructor=a}b(a,e);a.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}();return function(b){function a(){var a=
^
TypeError: Cannot read properties of undefined (reading 'Core/Series/SeriesRegistry.js')
at C:\Users\Nirali\Documents\marketsmojo\technical-repo-gui\mojotechnicals\dist\mojotechnicals\server\main.js:56687:78
at Module.5758 (C:\Users\Nirali\Documents\marketsmojo\technical-repo-gui\mojotechnicals\dist\mojotechnicals\server\main.js:6175:76)
at webpack_require (C:\Users\Nirali\Documents\marketsmojo\technical-repo-gui\mojotechnicals\dist\mojotechnicals\server\main.js:247176:42)
at Module.90158 (C:\Users\Nirali\Documents\marketsmojo\technical-repo-gui\mojotechnicals\dist\mojotechnicals\server\main.js:1610:80)
at webpack_require (C:\Users\Nirali\Documents\marketsmojo\technical-repo-gui\mojotechnicals\dist\mojotechnicals\server\main.js:247176:42)
at Module.36747 (C:\Users\Nirali\Documents\marketsmojo\technical-repo-gui\mojotechnicals\dist\mojotechnicals\server\main.js:1731:77)
at webpack_require (C:\Users\Nirali\Documents\marketsmojo\technical-repo-gui\mojotechnicals\dist\mojotechnicals\server\main.js:247176:42)
at Module.28061 (C:\Users\Nirali\Documents\marketsmojo\technical-repo-gui\mojotechnicals\dist\mojotechnicals\server\main.js:1868:69)
at webpack_require (C:\Users\Nirali\Documents\marketsmojo\techn
Related
I am trying to use this package https://github.com/asantibanez/livewire-charts but get this error when trying to see my chart, I just copy and paste it from docs:
Uncaught TypeError: Cannot read properties of undefined (reading 'get')
at Proxy.drawChart (app.js:3:472873)
at app.js:3:472785
To Reproduce
Steps to reproduce the behavior:
$columnChartModel =
(new ColumnChartModel())
->setTitle('Expenses by Type')
->addColumn('Food', 100, '#f6ad55')
->addColumn('Shopping', 200, '#fc8181')
->addColumn('Travel', 300, '#90cdf4')
;
<livewire:livewire-column-chart
:column-chart-model="$columnChartModel"
/>
Uncaught TypeError: Cannot read properties of undefined (reading 'get')
at Proxy.drawChart (app.js:3:472873)
at app.js:3:472785
Is here anybody who have experience with it?
check the requirement must be like that
requirement
In laravel 9/Inertiajs 3/vuejs 3 app I add ckeditor5 (with Composition API)
reading https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/frameworks/vuejs-v3.html with code :
<ckeditor
:editor="editor"
v-model="editorData"
:config="editorConfig"
></ckeditor>
...
let editorData = ref(' editorData init text')
let editor = ref(ClassicEditor)
let editorConfig = ref({})
I have error :
ckeditor.js?fbec:5 TypeError: Cannot read properties of undefined (reading 'model')
at Proxy.$_setUpEditorEvents (ckeditor.js?fbec:5:4617)
at eval (ckeditor.js?fbec:5:4054)
Searching in net I found branch : TypeError: Cannot read properties of undefined (reading 'model') at Proxy.$_setUpEditorEvents
I upgrated vuejs to the latest version :
$ npm -v
6.14.15
$ node -v
v14.18.3
npm list vue
/ProjectPath/
├── vue#3.2.31
└─┬ vue3-colorpicker#2.0.4
└─┬ vue3-normal-library#0.1.6
└── vue#3.2.31 deduped
What I see in debugging vue :
https://prnt.sc/vrlktjNrlNIM
but I still have the same error
Any ideas ?
Thanks in advance!
I noticed that sass build fails on color substraction after update to laravel-mix#4.0.12
My code in app.scss
.footer {
background-color: #fefefe - #a0a0a0
}
My webpack.mix.js
const mix = require('laravel-mix');
const resourcesAssets = 'resources/assets/';
const dest = 'public/assets/';
mix
.sass(`${resourcesAssets}scss/app.scss`, `${dest}css`);
On laravel-mix#1.7.2 running npm run prod works properly, but now I got next error
ERROR Failed to compile with 2 errors22:16:34
error in ./resources/sass/app.scss
Module build failed (from ./node_modules/css-loader/index.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js):
undefined
^
Undefined operation "#fefefe - #a0a0a0".
background-color: #fefefe - #a0a0a0
^^^^^^^^^^^^^^^^^
stdin 2:23 root stylesheet
in C:\xampp\htdocs\laravel-test-mix\resources\sass\app.scss (line 2, column 23)
at runLoaders (C:\xampp\htdocs\laravel-test-mix\node_modules\webpack\lib\NormalModule.js:301:20)
at C:\xampp\htdocs\laravel-test-mix\node_modules\loader-runner\lib\LoaderRunner.js:364:11
at C:\xampp\htdocs\laravel-test-mix\node_modules\loader-runner\lib\LoaderRunner.js:230:18
at context.callback (C:\xampp\htdocs\laravel-test-mix\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at render (C:\xampp\htdocs\laravel-test-mix\node_modules\sass-loader\lib\loader.js:52:13)
at Function.$2 (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:25378:48)
at vB.$2 (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:16223:16)
at tz.ve (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:9275:42)
at tz.vd (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:9277:32)
at ic.uo (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8583:46)
at t6.$0 (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8728:7)
at Object.eu (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:1569:80)
at aj.bd (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8646:3)
at is.bd (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8576:25)
at is.cF (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8563:6)
at oy.cF (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8350:35)
at Object.o (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:1442:19)
at C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:5284:51
at w0.a (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:1453:71)
at w0.$2 (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8365:23)
at uC.$2 (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8360:25)
at tz.ve (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:9275:42)
at tz.vd (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:9277:32)
at ic.uo (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8583:46)
at t6.$0 (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8728:7)
at Object.eu (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:1569:80)
at aj.bd (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8646:3)
at is.bd (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8576:25)
at is.cF (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8563:6)
at oy.cF (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8350:35)
at Object.o (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:1442:19)
at C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:5835:52
at w0.a (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:1453:71)
at w0.$2 (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8365:23)
at uC.$2 (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:8360:25)
at tz.ve (C:\xampp\htdocs\laravel-test-mix\node_modules\sass\sass.dart.js:9275:42)
How can I fix this problem without setting up previously calculated value?
Color arithmetic was deprecated in dart-sass 4.
They recommend you (in a harsh way) to use color functions.
I rather like this color functions visual summary. You are probably looking for darken(color,%) in your code.
I create a test project in MVC with kendo grid with popup edit. In
this scenario I have 3 relational tables. but when I add the third
table, I getting this Error:
> VM1362:1 Uncaught SyntaxError: Unexpected identifier
> at eval (<anonymous>)
at (https://kendo.cdn.telerik.com/2017.3.1018/js/jquery.min.js:2:2651)
at `Function.globalEval` (https://kendo.cdn.telerik.com/2017.3.1018/js/jquery.min.js:2:2662)
at Ha (https://kendo.cdn.telerik.com/2017.3.1018/js/jquery.min.js:3:21262)
at `n.fn.init.append` (https://kendo.cdn.telerik.com/2017.3.1018/js/jquery.min.js:3:22791)
at `I.fn.init.n.fn.(anonymous function) [as appendTo]` (https://kendo.cdn.telerik.com/2017.3.1018/js/jquery.min.js:3:24510)
at `init._createPopupEditor` (https://kendo.cdn.telerik.com/2017.3.1018/js/kendo.all.min.js:52:4953)
at `init.editRow` (https://kendo.cdn.telerik.com/2017.3.1018/js/kendo.all.min.js:52:2129)
at `HTMLAnchorElement.<anonymous>`
if I comment bellow line, project run correctly:
#{Html.RenderAction("AgreementExpertsIndex", new { xAgreementID = Model.xID });}
Can anyone say what is the problem?
The source code is here:
source file
thanks
Try a lowercase M in Model:
#{Html.RenderAction("AgreementExpertsIndex", new { xAgreementID = model.xID });}
I cannot edit anything in admin panel.
I have magento site ,i logged into the admin panel after that i clicked
cms->page then the pages listed but i cant to edit the page .
When i clicked on the page menu itd displays error in fire bug:
TypeError: hash.__properties is undefined
[Break On This Error]
if (current.length == hash.__properties.length)
33027d...e309.js (line 8281)
TypeError: Fieldset is undefined
[Break On This Error]
Fieldset.addToPrefix(1);
/bc/in...3a06aa/ (line 41)
TypeError: Translate is not a constructor
[Break On This Error]
...ease use only letters (a-z or A-Z), numbers (0-9) or underscore(_) in this field...
/bc/in...3a06aa/ (line 44)
ReferenceError: Calendar is not defined
[Break On This Error]
...= ["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]; // f...
/bc/in...3a06aa/ (line 49)
ReferenceError: Calendar is not defined
[Break On This Error]
Calendar.setup({
/bc/in...3a06aa/ (line 539)
ReferenceError: Calendar is not defined
[Break On This Error]
Calendar.setup({
/bc/in...3a06aa/ (line 565)
TypeError: varienGrid is not a constructor
[Break On This Error]
...d', 'http://localhost/bc/index.php/admin/cms_page/index/key/0681afc112b37ec174e8...
And nothing can be loaded correctly displays errors in bug.
And cannot edit anything in admin panel.
So verify if your javascript files are even included: view source and see if they are accessible directly. Sometime it can happen if you mistype the nonsecure_base_url