Describe the bug
A project we upgraded from 15 -> 16 uses javascript add-ins and we use node.js to handle our web development portion of this. The new compiler throws many errors when trying to compile and there is no way to ignore specific files/folders. I would consider this a bug because the alc.exe was previously working and is no longer working with no code changes at all.
The below error is one of hundreds because of the xml files inside of the node_modules folder.
warning AL1026: A warning occurred during XML validation: 'Cannot load the web service at the specified location, c:\ALProjectFolder\node_modules\selenium-webdriver\lib\test\data\transformable.xml, due to the following error: For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.'.
error AL1061: An error occurred during file validation: 'It is only allowed to have a migration file, with target 'OnPrem''
To Reproduce
- start new project
- run the command
npm install on the AL project folder(you must have node.js installed)
- try to compile the project - this will fail because the node_modules folder is a development folder for web projects and contains hundreds of xml documents.
N/A
Expected behavior
We should be able to define an ignore pattern. For example, you would not commit node_modules into source control, so you place a .gitignore file at the root of the project and include the node_modules folder. A similar pattern with .alignore would be excellent. It would not have any breaking changes and would be source control safe.
Screenshots
5. Versions:
- Business Central: 16.1.12629.12805
Describe the bug
A project we upgraded from 15 -> 16 uses javascript add-ins and we use node.js to handle our web development portion of this. The new compiler throws many errors when trying to compile and there is no way to ignore specific files/folders. I would consider this a bug because the alc.exe was previously working and is no longer working with no code changes at all.
The below error is one of hundreds because of the xml files inside of the node_modules folder.
To Reproduce
npm installon the AL project folder(you must have node.js installed)N/AExpected behavior
We should be able to define an ignore pattern. For example, you would not commit node_modules into source control, so you place a .gitignore file at the root of the project and include the node_modules folder. A similar pattern with .alignore would be excellent. It would not have any breaking changes and would be source control safe.
Screenshots
5. Versions: