Ts Error when building Build/job/Core/job/OfflineInstaller v5.1.0 #688
Replies: 7 comments 18 replies
-
@santhosh-tg @gandham-santhosh can you please have a look into this |
Beta Was this translation helpful? Give feedback.
-
@samarthtrigyn is this happening in the local or in the server where you are trying to build the .exe file? |
Beta Was this translation helpful? Give feedback.
-
@santhosh-tg can you please have a look into this issue |
Beta Was this translation helpful? Give feedback.
-
@samarthtrigyn please refer the package.json for the node that is needed and can you please give the full error log so that we can see what is the issue you are getting |
Beta Was this translation helpful? Give feedback.
-
npm ERR! A complete log of this run can be found in:
internal/modules/cjs/loader.js:905 Error: Cannot find module '/offline/src/app/client/node_modules/@angular/cli/bin/ng' npm ERR! A complete log of this run can be found in:
internal/modules/cjs/loader.js:905 Error: Cannot find module 'properties'
npm ERR! A complete log of this run can be found in:
sh: 1: rimraf: not found npm ERR! A complete log of this run can be found in: npm ERR! A complete log of this run can be found in:
sh: 1: tsc: not found npm ERR! A complete log of this run can be found in:
Error: Cannot find module 'fs-extra'
[Pipeline] stage
[Pipeline] // ansiColor [Pipeline] stage
[Pipeline] // ansiColor 1... package .json of app |
Beta Was this translation helpful? Give feedback.
-
We hope your issues are resolved. If so, could you please close this thread from your end? |
Beta Was this translation helpful? Give feedback.
-
Just checking to see if you still want this discussion to be open. |
Beta Was this translation helpful? Give feedback.
-
Hi,
we are getting the below error while executing the pipeline for building the desktop app of the application.
node_modules/@types/jquery/misc.d.ts(6634,15): error TS2451: Cannot redeclare block-scoped variable '$'.
node_modules/@types/webdriverio/index.d.ts(1926,18): error TS2451: Cannot redeclare block-scoped variable '$'.
node_modules/@types/webdriverio/index.d.ts(1927,18): error TS2451: Cannot redeclare block-scoped variable '$'.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build-ts:
tsc
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build-ts script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
We've been making efforts to upgrade various dependencies such as Typescript, @types/lodash, @types/express, etc., to their latest versions. Also did some code changes to overcome the compilation errors. However, we've been encountering persistent errors.
We are requesting your assistance in resolving these issues. Additionally, we would be grateful if you could provide information on the versions of Node, Angular, and other dependencies required for building this offline application.
Currently we are using Node 14.x.x and Angular version 11.x.x while building this app.
cc @anandarup @vinukumar-vs
Beta Was this translation helpful? Give feedback.
All reactions