Autodesk-Forge / forge-configurator-inventor

[DEPRECATED] Demo for Autodesk Forge Design Automation for Inventor
http://inventor-config-demo.autodesk.io
MIT License
44 stars 34 forks source link

if I change something I cannot publish #483

Closed Gena-developer closed 1 year ago

Gena-developer commented 1 year ago

Hi, I have an issue, if I change something from folder components, I cannot publish. I have this. Can help me somebody?

Screenshot 2023-06-30 144049

mivasi commented 1 year ago

It seems like there is something wrong with your javascript build. Can you send here the whole build log?

Gena-developer commented 1 year ago

Sure it is here log.txt

mivasi commented 1 year ago

It seems like you changed src\components\toolbar.js And he is complaining you no longer use these imports: Line 34:3: 'NavAction' is defined but never used no-unused-vars Line 35:3: 'Separator' is defined but never used no-unused-vars Line 40:10: 'Service24' is defined but never used no-unused-vars

It should be enough to remove them, since they are not used.

You can try to show your version after changes, so I can make sure if it can be anything else.

Gena-developer commented 1 year ago

Thanks I will check it

Gena-developer commented 1 year ago

unfortunately it didn't help, which version are you talking about?

Gena-developer commented 1 year ago

I updated visual studio and everything started working, thank you for your help.

Gena-developer commented 1 year ago

Unfortunately, the error has returned and I do not know how to fix it, if you have an idea, please send me, I tried to run a command npm run build, I have this Screenshot 2023-07-05 111136 image

2023-07-05T16_11_14_063Z-debug-0.log

mivasi commented 1 year ago

It is because your CreditCost variable is not used. Build fails in case of violating coding guideline policy. @Gena-developer

Gena-developer commented 1 year ago

All good, thank your help.

On Fri, Jul 7, 2023 at 4:22 AM Michal Vašíček @.***> wrote:

It is because you CreditCost variable is not used. Build fails in case of violating coding guideline policy. @Gena-developer https://github.com/Gena-developer

— Reply to this email directly, view it on GitHub https://github.com/Autodesk-Forge/forge-configurator-inventor/issues/483#issuecomment-1625119873, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3I5RI3THUCIXTX7NZZQOTDXO7IMXANCNFSM6AAAAAAZ2HTPDY . You are receiving this because you were mentioned.Message ID: @.*** com>