Open ArcherThompson opened 1 year ago
Hi @ArcherThompson
thanks for reporting this issue. We can reproduce it.
You can fix this when you replace:
package_name=$(npm -s run env echo '$npm_package_name')
with
package_name=$(npm pkg get name | tr -d '"')
in the snapcraft.yaml.
Thank you Best Regards Johannes
Last few lines when building any of the examples on two different virtual build environments (ctrlx works) is the following:
The
++ npm -s run env echo '$npm_package_name'
seems to be the line that is returning '$npm_package_name' instead of npm which is the directory name