Open itryapitsin2 opened 2 months ago
Hey, thanks for opening this. Just FYI, dince this code is community-maintained, things can go slower than expected because there is no SLA in place. If you have a support contract for any of the Liferay products use the official channels to report your issue. In any case, if you decide to file the issue here, remember that all information you can gather about the issue and the reason why it is happening will help a lot in its resolution because otherwise it involves a lot of effort just to find out if it is a bug or what can be causing it.
Issue type (mark with
x
)Description
When I try to use some libraries which has files with
.cjs
-extension as a NodeJS dependecy. For example,@reduxjs/toolkit
. Liferay throws the error in runtimeand
An example of my code in
testapp
I've tested another libraries. For example,
MobX
. It has the same problem when find.cjs
file.Other information (environment, versions etc): I verified this problem with:
Liferay 7.3 GA5
liferay-npm-bundler: 2.31.2
@reduxjs/toolkit 2.2.0
NodeJS 16.16.0
NPM 6.14.4
Other versions of NodeJS and npm have the problem also.