[ 
https://issues.apache.org/jira/browse/OFBIZ-12789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17714000#comment-17714000
 ] 

Daniel Watford commented on OFBIZ-12789:
----------------------------------------

Hi [~jleroux] ,

Per the Vite getting started guide (https://vitejs.dev/guide/), you need to be 
able to run at least node 14.18 or 16. It may be the case that the typescript 
template I used needs an even later version of Node, but I haven't checked this.

The NODE_VERISON environment variable mentioned appears to relate to tool 
selection when building software on CloudFlare, so I don't think is relevant 
here.

I think sticking with Windows 7 is going to cause you more difficulties as 
development approaches and tools continue to evolve, particularly since Windows 
7 supported ended in 2020. I assume you have some legacy software/hardware to 
maintain that is keeping you on Win7.

Once solution is that we remove vite and downgrade the version of node used by 
OFBiz to 13.14.0, but we would be pegging ourselves to an unsupported version 
of node too.

I don't have a solution that works for everyone here. [~jleroux] , you are a 
major force driving OFBiz so it is important that you can build and run all 
OFBiz components, but keeping the project on supported build tools will make 
development more difficult and hamper attempts to modernise OFBiz.

Are you interested in trying out dual booting Windows 7 and a Linux distro? 
That would keep Windows 7 while making more recent develop tools available 
through Linux.

Another alternative might be running Linux through VMWare or Virtual Box 
(although virtual box only supports back to Windows 8.1 
-[https://www.virtualbox.org/manual/ch01.html#hostossupport)]

 

> Explore further use of npm modules to reduce bugs reported by sonarcloud
> ------------------------------------------------------------------------
>
>                 Key: OFBIZ-12789
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12789
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: themes
>    Affects Versions: Upcoming Branch
>            Reporter: Daniel Watford
>            Assignee: Daniel Watford
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> Sonarcloud reports 10 bugs in ofbiz sources:
> [https://sonarcloud.io/project/issues?resolved=false&types=BUG&id=apache_ofbiz-framework]
> We tend to only notice bugs in new code as they will be highlighted during 
> pull request checking.
> The majority of these bugs are related to javascript/css files under 
> themes/common-theme/webapp/common-theme not authored by the OFBiz project.
> Explore whether suitable replacements are available for these files as npm 
> modules. If so, remove those files from ofbiz-framework and replace with a 
> corresponding dependency in 
> themes/common-theme/webapp/common-theme/js/package.json.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to