You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything worked fine before and I didn't upgrade any package.
Since yesterday (27 february), my ng build --prod fail with an error message from Preact :
Compiling ngx-cookie-service : es2015 as esm2015
Compiling @ngx-translate/http-loader : es2015 as esm2015
ERROR in node_modules/preact/src/jsx.d.ts:2138:24 - error TS2304: Cannot find name 'SVGMPathElement'.
2138 mpath: SVGAttributes<SVGMPathElement>;
~~~~~~~~~~~~~~~
node_modules/preact/src/jsx.d.ts:2145:22 - error TS2304: Cannot find name 'SVGSetElement'.
2145 set: SVGAttributes<SVGSetElement>;
~~~~~~~~~~~~~
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! optical-si-frontend@2.36.0 build:production: `ng build --prod`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the optical-si-frontend@2.36.0 build:production script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/.npm/_logs/2023-02-27T08_55_57_275Z-debug.log
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1
I found one framework using PREACT in my packagelock.json (I don't have PREACT in package.json) :
If I change PREACT version at the bottom of the file from 10.13.0 to 10.8.2 it fix the problem.
Any idea what can I do ?
I'm not sure if I should report thig bug to PREACT or FULLCALENDAR.
Issue from fullcalendar github : fullcalendar/fullcalendar#7228
Thank you.
The text was updated successfully, but these errors were encountered:
borisBelloc
changed the title
My build fail since yesterday, error message with preact
My build fail since yesterday, error message from preact
Feb 28, 2023
borisBelloc
changed the title
My build fail since yesterday, error message from preact
My build fail since yesterday with an error message from preact
Feb 28, 2023
if you lock your preact version manually in package.json like "preact": "10.0.5 - 10.12.1", it solves the issue for the project which are using TypeScript v < 4.4 and @fullcalendar v5. but if you don't want to preact manually to your package.json try adding the flag "skipLibCheck": true to compilerOption object in tsconfig.json
hello 👋
Describe the bug
Since yesterday (27 february), my
ng build --prod
fail with an error message from Preact :I found one framework using PREACT in my packagelock.json (I don't have PREACT in package.json) :
at the bottom of packagelock.json, I have :
If I change PREACT version at the bottom of the file from 10.13.0 to 10.8.2 it fix the problem.
Any idea what can I do ?
I'm not sure if I should report thig bug to PREACT or FULLCALENDAR.
Issue from fullcalendar github : fullcalendar/fullcalendar#7228
Thank you.
The text was updated successfully, but these errors were encountered: