Hello,
I want to publish the demo2025 project.
I have ANM 2025.4 (registered); database created successfully, but I get this error during project generation:
Copying js (folder)...
js (folder) generated
Copying js (folder)...
js (folder) generated
node:path:478
validateString(arg, 'path');
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at Object.join (node:path:478:7)
at global.GenerateFile (C:\Users\user\AppData\Roaming\ASPNETMaker2025\node_modules\@aspnetmaker\core\aspnetmaker.js:8:302541)
at C:\Users\user\AppData\Roaming\ASPNETMaker2025\node_modules\@aspnetmaker\core\aspnetmaker.js:8:333885
at Array.map (<anonymous>)
at main (C:\Users\user\AppData\Roaming\ASPNETMaker2025\node_modules\@aspnetmaker\core\aspnetmaker.js:8:333870)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v22.15.1
Error: Generation completed with error(s), please scroll up (if necessary) to check error(s).
I have removed from advanced settings examples with SAML, external auth provider examples, etc.
Make sure that you have downloaded and installed the latest version of Node.js
installed latest LTS, 22.18; same error …
node:path:508
validateString(arg, 'path');
^
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at Object.join (node:path:508:7)
at global.GenerateFile (C:\Users\user\AppData\Roaming\ASPNETMaker2025\node_modules\@aspnetmaker\core\aspnetmaker.js:8:302541)
at C:\Users\user\AppData\Roaming\ASPNETMaker2025\node_modules\@aspnetmaker\core\aspnetmaker.js:8:333885
at Array.map (<anonymous>)
at main (C:\Users\user\AppData\Roaming\ASPNETMaker2025\node_modules\@aspnetmaker\core\aspnetmaker.js:8:333870)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v22.18.0
Error: Generation completed with error(s), please scroll up (if necessary) to check error(s).
Can you generate with another project file (or a new project file)?
If it is specific to this project file, you may need to send your project file to the support email for checking.
Yes we have other projects started from scratch.
Actually only demo2025.agx project fails this way
No problem in generating the demo project. Make sure that you have specified a correct destination folder.