You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The postinstall script seems to be broken on implementing this lib in our rest service. I added the issue we get at the bottom.
I think the main reason could be, since about three month there is a new major release of cpy-cli@5 which is not working for your script. There is IMO no way to workaround this issue from the app side when we build the app in a docker container. It is always trying to use cpy-cli@5 and no way to downgrade it to cpy-cli@4.
Can you have a look on it? One solution could be you adapt your script to force using the old version doing like npx cpy-cli@4 ../smart-contracts-core/config/smart-contracts-core.js config/ ...........
If I'm wrong, can you maybe give as some advices?
thx
#10 182.8 > npx cpy-cli ../smart-contracts-core/config/smart-contracts-core.js config/ && npx mkdirp node_modules/@evan.network && cd node_modules/\@evan.network && npx lnk-cli ../../../smart-contracts-core smart-contracts-core
#10 182.8
#10 192.1 npx: installed 40 in 9.255s
#10 192.3 file:///root/.npm/_npx/1009/lib/node_modules/cpy-cli/cli.js:62
#10 192.3 if (rename?.includes(stringTemplate)) {
#10 192.3 ^
#10 192.3
#10 192.3 SyntaxError: Unexpected token '.'
#10 192.3 at Loader.moduleStrategy (internal/modules/esm/translators.js:140:18)
#10 192.3 at async link (internal/modules/esm/module_job.js:42:21)
#10 197.6 npm WARN [email protected] No repository field.
The
postinstall
script seems to be broken on implementing this lib in our rest service. I added the issue we get at the bottom.I think the main reason could be, since about three month there is a new major release of
cpy-cli@5
which is not working for your script. There is IMO no way to workaround this issue from the app side when we build the app in a docker container. It is always trying to usecpy-cli@5
and no way to downgrade it tocpy-cli@4
.Can you have a look on it? One solution could be you adapt your script to force using the old version doing like
npx cpy-cli@4 ../smart-contracts-core/config/smart-contracts-core.js config/ ...........
If I'm wrong, can you maybe give as some advices?
thx
@S3bb1 @wulfraem @Tschuck
The text was updated successfully, but these errors were encountered: