microsoft / Oryx

Build your repo automatically.
Other
755 stars 174 forks source link

Circular reference is generated in `/node_modules` #499

Closed ghost closed 4 years ago

ghost commented 4 years ago

Bug Report

image

This causes unexpected behavior on applications which follow all symlink. e.g. Angular application which is set preserveSymlink to true.

And this causes Maximum call stack size exceeded error on executing npm ls. image

As a result, /node_modules includes the symlink which links to itself.

A current workaround is to execute following command in a script specified as startup command

unlink /node_modules/node_modules &>/dev/null

Could you please look into this?

Regards,

arroyc commented 4 years ago

@hihorika Thank you for reporting in detail, we will try to repro it and if possible a fix at our earliest.

ghost commented 4 years ago

Hi @arroyc Could you repro this behavior? Please let me know if you cannot repro this.

arroyc commented 4 years ago

@hihorika can't repro this .. lets chat over teams and show me if you can still repro this

ghost commented 4 years ago

We shared repro steps. Thanks @arroyc

arroyc commented 4 years ago

@hihorika just waiting for ant-88 deployments, once that completes hopefully this issue will be resolved. Tagging it as tracking for now.

arroyc commented 4 years ago

should be available in the coming deployment of ant-88 ..