Comments (9)
Hey @EyalDelarea,
You are correct in that I've not set installCommand
in frogbot-config.yml
.
However I've set the GitLab CI/CD variable JF_INSTALL_DEPS_CMD: npm i
which I thought would be enough but I might be wrong.
I've done as much config as possible via GitLab CI/CD variables but added the frogbot-config.yml
the frogbot commands were not working without it. Might be missing some other mandatory config in there.
My full frogbot-config.yml
:
- params:
git:
repoName: demo-app
branches:
- main
Nice to hear about the about not needing to set installCommand
!
from frogbot.
For a quick fix you could add the following line to your config file:
- params:
git:
repoName: demo-app
branches:
- main
scan:
projects:
- installCommand: "npm i"
Or wait for the release.
Either way waiting to hear how it worked out for you !
from frogbot.
Hey @FredrikLiindgren , that's great to hear!
We will definitely update the docs so it won't be missleading :)
Thank you for your feedback!
from frogbot.
Hi @eyalbe4 - Any reason for instantly closing this? I'd be happy to provide further details if necessary.
Kind Regards,
Fredrik
from frogbot.
It was mistakenly closed @FredrikLiindgren
We are looking into it and will let you know very soon.
from frogbot.
@sverdlov93 alright, thanks for taking a look!
from frogbot.
Hey @FredrikLiindgren,
Thank you for using Frogbot!
The cause of the the missing node_modules folder could be because the installCommand
inside
your frogbot-config.yml
(line 30) file is not set.
Could you provide us with your configuration ?
And i'm just about to release a new version of Frogbot which will not require to set the installCommand
for npm packages anymore, so hope you won't encounter this problem in the future.
from frogbot.
Hi that worked great,
However this makes me think the docs about that is quite missleading as this
# [Mandatory if the two conditions below are met]
# 1. The project uses npm, yarn 2, NuGet or .NET to download its dependencies
# 2. The `installCommand` variable isn't set in your frogbot-config.yml file.
#
# The command that installs the project dependencies (e.g "npm i", "nuget restore" or "dotnet restore")
JF_INSTALL_DEPS_CMD: ""
Makes me think I do not have to define the installCommand
in the frogbot-config.yml
file if I've defined JF_INSTALL_DEPS_CMD
:)
from frogbot.
Great @EyalDelarea - Thanks for your helpful & timely responses!
from frogbot.
Related Issues (20)
- add scanned csproj name or string to frogbot comment
- GH Runner going out of memory with frogbot 2.8.4 release HOT 5
- Any chance of supporting conan package manager? HOT 2
- lodash 4.17.21 showing as Critical but Github advisory shows Low severiy HOT 4
- Add an option to avoid posting "No issues" banners to PR comments HOT 2
- Python PEP 517/518 support HOT 9
- frogbot-scan-pr with on "pull_request" instead of "pull_request_target" does not find frogbot-config.yml HOT 14
- Frogbot not displaying license violations HOT 1
- Passing multiple dir name while calling action from main workflow HOT 3
- Add a property to specify the tool version by repo
- Test
- panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xdcf2fd] HOT 2
- Error while scanning gradle project using frogbot GitHub Reusable workflow 'panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xdcf2fd]' HOT 3
- Maven - Frogbot updates non-vulnerable direct packages that were found as a vulnerable indirect dependencies
- Java - dismiss fixing snapshots
- Incorrect request made to Bitbucket Server API HOT 2
- frogbot scan-pull-request fails HOT 4
- Regression for "scan-and-fix-repos" in Azure DevOps server since version 2.11.5 HOT 3
- frogbot scan-pull-requests is scanning all the active pull requests but i wanted to scan only the based on the source branch and buildid is it possible to do that HOT 2
- frogbot scan pull request issue in Azure devops HOT 32
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frogbot.