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
In example/node_modules/ my library is actually a symbolic link instead of a real copied directory, therefore the script examples_postinstall(#75 ) removes example itself and my library's node_modules.
Workaround
Adding below codes works for me, but not sure for other situation.
if(fs.lstatSync(libraryNodeModulesPath).isSymbolicLink()){console.log('Symbolic link detected. End deleting');return;}
The text was updated successfully, but these errors were encountered:
Circumstance
Description
In
example/node_modules/
my library is actually a symbolic link instead of a real copied directory, therefore the scriptexamples_postinstall
(#75 ) removesexample
itself and my library'snode_modules
.Workaround
Adding below codes works for me, but not sure for other situation.
The text was updated successfully, but these errors were encountered: