jupe / puml2code

PlantUML code generator
MIT License
100 stars 19 forks source link

Authentication failed. Please check the API token on https://snyk.io #133

Open itsniuqiang opened 1 week ago

itsniuqiang commented 1 week ago

Description


Bug | Question

enviroment

Macbook: Apple M1 Pro MacOS Sonoma: 14.5

puml2code version

v0.7.0-19-g08a1f51

Expected Behavior

npm i success to install

Actual Behavior

npm i

> puml2code@0.8.0 install
> node node_modules/pegjs/bin/pegjs src/parser/plantuml.pegjs

> puml2code@0.8.0 prepare
> npm run snyk-protect

> puml2code@0.8.0 snyk-protect
> snyk protect

Authentication failed. Please check the API token on https://snyk.io

npm error code 2
npm error path /Users/niuqiang/3rdparty/puml2code
npm error command failed
npm error command sh -c npm run snyk-protect
npm error A complete log of this run can be found in: /Users/niuqiang/.npm/_logs/2024-06-27T02_38_23_280Z-debug-0.log

Steps to Reproduce

  1. git clone https://github.com/jupe/puml2code.git
  2. cd puml2code
  3. npm i