Open zzacharo opened 4 years ago
Hi, Do You have a workaround for this issue? I still encounter it with the current version of invenio-rdm (https://github.com/inveniosoftware/invenio-app-rdm/releases/tag/v0.18.8).
@BalazsBago which version of less-loader
do you have locally installed? Maybe for more help, you could use the InvenioRDM discord channel :)
@zzacharo I have tried 6.2.0 (this is expected version based on the packages.json in invenio-assests#1.2.5), 6.1.0 and 7.2.1, but all of them produced the same error. Thanks for the tip, I am going to join the discord channel of InvenioRDM.
The latest version 6.1.2 breaks the assets build giving the error:
Hints
In the latest release, they changed the resolution logic and this might be the cause. Needs more investigation.
General thoughts
package-lock.json
so we don't have these incidents when a new release is out. Now, I see that if you do that, you don't test probably new releases, taking benefit of the^
symbol. But, I would say for when we build for production we need to lock the js dependencies otherwise we don't have a solid deployment.less-loader
is listed underdevDependencies
(See here). Shouldn't we install onlydependencies
when we build the project? If this is the desired behavior, then we "misuse" in a way how we declare dependencies.