Closed skrzepij closed 2 years ago
The correct fix for this is to exclude the test folder from the package in the .npmignore file.
PRs welcome else we'll get to this next time we have a moment.
I believe this was solved in https://github.com/TryGhost/gscan/commit/af9ff3eb2d75b472f614df1336b74d0e402b8cee so I'm closing this issue 🙂
Hi. I have a problem with installing
gscan
on my hosting (ubuntu) via Yarn.yarn add gscan
returns an error with missing file:
Same issue occurs when I'm trying to install ghost by CLI.
I've tried already to use
--network-concurrency 1
flag andyarn cache clean
but that didn't help.gscan
can be installed through npm without any issue, but Ghost CLI is using yarn to install this dependency under the hood..Don't know why, but when I've downloaded
gscan@4.1.0
to my PC and deleted this030-assets
directory, I was able to install it using Yarn as well (by passing the local path to the library).