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
PS C:\Users\kamra\OneDrive\Desktop\help-ndesks> npm run production
> help-ndesks@0.1.0 production
> cross-env NODE_ENV=production npm run build
> help-ndesks@0.1.0 build
> strapi build
✔ Compiling TS (4ms)
⠋ Building build context
C:\Users\kamra\OneDrive\Desktop\help-ndesks\node_modules\@strapi\typescript-utils\node_modules\typescript\lib\typescript.js:17850
return text.replace(/{(\d+)}/g, (_match, index) => "" + Debug.checkDefined(args[+index + baseIndex]));
^
Error: Debug Failure.
at C:\Users\kamra\OneDrive\Desktop\help-ndesks\node_modules\@strapi\typescript-utils\node_modules\typescript\lib\typescript.js:17850:67
at String.replace (<anonymous>)
at formatStringFromArgs (C:\Users\kamra\OneDrive\Desktop\help-ndesks\node_modules\@strapi\typescript-utils\node_modules\typescript\lib\typescript.js:17850:17)
at createCompilerDiagnostic (C:\Users\kamra\OneDrive\Desktop\help-ndesks\node_modules\@strapi\typescript-utils\node_modules\typescript\lib\typescript.js:17951:14)
at tryReadFile (C:\Users\kamra\OneDrive\Desktop\help-ndesks\node_modules\@strapi\typescript-utils\node_modules\typescript\lib\typescript.js:36199:30)
at Object.getParsedCommandLineOfConfigFile (C:\Users\kamra\OneDrive\Desktop\help-ndesks\node_modules\@strapi\typescript-utils\node_modules\typescript\lib\typescript.js:36149:28)
at module.exports (C:\Users\kamra\OneDrive\Desktop\help-ndesks\node_modules\@strapi\typescript-utils\lib\utils\resolve-config-options.js:9:43)
at Object.run (C:\Users\kamra\OneDrive\Desktop\help-ndesks\node_modules\@strapi\typescript-utils\lib\compilers\basic.js:21:55)
at module.exports (C:\Users\kamra\OneDrive\Desktop\help-ndesks\node_modules\@strapi\typescript-utils\lib\compile.js:9:19)
at Object.build (C:\Users\kamra\OneDrive\Desktop\help-ndesks\node_modules\@strapi\admin\dist\_chunks\index-sNH2VWbC.js:655:24)
Node.js v20.10.0
All i want is to make its successful build to deploy on production server
The text was updated successfully, but these errors were encountered:
We ask that you please follow the issue template.
A proper issue submission let's us better understand the origin of your bug and therefore help you. We will reopen your issue when we receive the issue following the template guidelines and properly fill out the template. You can see the template guidelines for bug reports here.
Please update the issue with the template and we can reopen this report.
Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce the behavior
Expected behavior
Following is my scripts and dependencies in package.json
On npm run production i am getting this
All i want is to make its successful build to deploy on production server
The text was updated successfully, but these errors were encountered: