Page 1 of 1

Atlantis theme

Posted: 23 May 2022, 10:39
by vigreen
1) Which node and angular-Cli version is suitable for Atlantis theme?
2) When i compile atlantis theme on Node 8.5 version with angular-cli 1.4.2, it shows an error in menudemo.ts file for megaMenuItems variable on line 138, which shows that "items" field inside the megaMenuItems has "items []" but it is using [[]] (array of array) which is right. But with the different version of node and cli, it is not showing. However i have resolve that error but the confusion is why different node version works differently.

3) I am working on 5 different PC with Atlantis theme, and they are not working as expected.
Following are the different error comes up when i change the node version.
- "Error: You have to be inside angular-cli directory."
- "Error: Cannot read property "config" of null"
And project works when i install Node > 7 and < 8 without changing anything in the project structure or coding.

Re: Atlantis theme

Posted: 23 May 2022, 15:21
by cetincakiroglu
Hi,

I'm happy to hear that you've solved the problem. There is a high probability that the problem is caused by your Angular CLI version. Since it's v1.4.2 and pretty old it may not work as expected with node v8+. (Atlantis built upon Angular v10+)

Regards.