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
Why does dash_generate_components create a copy of the package.json file and cannot use the one in the main directory? dash-generate-components ./dist webviz_core_components -p ../package.json =>
File "/home/ruben/.local/bin/dash-generate-components", line 8, in <module>
sys.exit(cli())
File "/home/ruben/.local/lib/python3.8/site-packages/dash/development/component_generator.py", line 204, in cli
generate_components(
File "/home/ruben/.local/lib/python3.8/site-packages/dash/development/component_generator.py", line 71, in generate_components
shutil.copyfile(
File "/usr/lib/python3.8/shutil.py", line 241, in copyfile
raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
shutil.SameFileError: 'package.json' and 'webviz_core_components/../package.json' are the same file
The text was updated successfully, but these errors were encountered:
Another thing: E.g. dash-generate-components ./dist ../webviz_core_components
would not work. The build step will pass, but during Dash app running the browser console will say it can't find namespace ../webviz_core_components. I.e. it looks like the second argument is assumed to be both a folder and what is used by Dash internally as namespace.
dash_generate_components
create a copy of the package.json file and cannot use the one in the main directory?dash-generate-components ./dist webviz_core_components -p ../package.json
=>The text was updated successfully, but these errors were encountered: