Created
November 6, 2020 23:42
-
-
Save diegonvs/fe75d337b9bf36c14fd5fca53701a1eb to your computer and use it in GitHub Desktop.
When a `npmscripts.config.js` file is contained on `data-engine-taglib` importing `dynamic-data-mapping-form-builder` things for making some imports from form-build run without errors on de-taglib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling soy | |
Error in plugin 'metal-tools-soy' | |
Message: | |
Compile error: | |
WARNING: An illegal reflective access operation has occurred | |
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/Users/diegonascimento/workspace/liferay-portal/modules/node_modules/metal-tools-soy/jar/soy-2017-04-23-SoyToIncrementalDomSrcCompiler.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) | |
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1 | |
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations | |
WARNING: All illegal access operations will be denied in a future release | |
errors during Soy compilation | |
/Users/diegonascimento/workspace/liferay-portal/modules/node_modules/dynamic-data-mapping-form-builder/src/main/resources/META-INF/resources/js/components/RuleEditor/RuleEditor.soy:542: error: Illegal call to 'CalculatorReactAdapter.render', because according to the dependency graph, src/main/resources/META-INF/resources/data_layout_builder/js/components/rule-builder/Calculator/CalculatorReactAdapter.soy depends on /Users/diegonascimento/workspace/liferay-portal/modules/node_modules/dynamic-data-mapping-form-builder/src/main/resources/META-INF/resources/js/components/RuleEditor/RuleEditor.soy, not the other way around. | |
{call CalculatorReactAdapter.render} | |
^ | |
1 error | |
Finished compiling soy | |
babel: | |
build/npmscripts/soy does not exist | |
Command /Users/diegonascimento/workspace/liferay-portal/modules/node_modules/@liferay/npm-scripts/node_modules/.bin/babel --no-babelrc --config-file /Users/diegonascimento/workspace/liferay-portal/modules/apps/data-engine/data-engine-taglib/build/npmscripts/tmp/.babelrc build/npmscripts/soy --out-dir build/node/packageRunBuild/resources --source-maps exited with code 2 | |
error Command failed with exit code 1. | |
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment