I recently ran into an issue building an OWA that was scaffolded using the OWA generator in an old dev environment running NodeJS 4.x. This line in webpack.config.js
seemed to be the source of the issue, and resulted in the following stacktrace: https://hastebin.com/arudetufij.rb
Upgrading to NodeJS 6.x fixed the issue, but a few questions:
- Is NodeJS 4.x still widely used, and if so, has anyone run into similar issues?
- If the issue is confirmed, is the preferred approach to update the code (and ensure any new code doesn’t cause similar issues), or end support for NodeJS 4.x (noting that 4.x is now ‘end of life’ as of April 2018)? If NodeJS 4.x is no longer supported/recommended, this should be updated in the owa generator README template, OWA workflow wiki page, and possibly other files/pages.