npm error when trying to publish to github #447
Unanswered
jamcgee313
asked this question in
Q&A
Replies: 5 comments 11 replies
|
Can you describe your steps? E.g. Are you using the jdeploy desktop app? Or did you install jdeploy with npm, and you're using jdeploy CLI? Or something else? |
1 reply
|
The issue appears to be with the jdeploy maven plugin. It's trying to dynamically set the jar path. I thought I had removed that plugin dependency from all the templates, but I guess I missed a couple. What you can do to fix this is:
If you still run into problems, please share the package.json file, and I'll take a look. |
6 replies
1 reply
|
Oh. Thanks for letting me know. Was just replying that it might have been
a file name encoding issue... but network issue is better.
The samples seem to be loading ok for me. Is this the part you're
referring to?
[image: image.png]
…On Fri, Jul 3, 2026 at 1:23 PM Jeff Martin ***@***.***> wrote:
Looks like my network issue cleared up and it's working fine now.
Unrelated: I notice that some of the icons in the samples area of the
front page at jdeploy.com have broken links (including SnapCode).
—
Reply to this email directly, view it on GitHub
<#447?email_source=notifications&email_token=AAUNWORCHD43557XFJNZCO35DAB2XA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZVGI3DKOBTUZZGKYLTN5XKOY3PNVWWK3TUUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-17526583>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAUNWOVOSUHDSKRGKOB6LIT5DAB2XAVCNFSNUABGKJSXA33TNF2G64TZHM3TMNZXGAYTAMB3IRUXGY3VONZWS33OHM4TOMZUGYYDFILWAI>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Steve Hannah
Web Lite Solutions Corp.
|
2 replies
|
It uses the "npm pack" command to produce the tarball that gets published.
I did that to keep parity between github and npm publishing. It could
mostly just be replaced with a tar command , but it does a little
validation too.
It uses an npm that jdeploy bundles itself. Not your system npm.
Steve Hannah
Web Lite Solutions Corp.
…On Fri, Jul 3, 2026 at 1:31 PM Jeff Martin ***@***.***> wrote:
But why does the publish to GitHub error mention npm?
—
Reply to this email directly, view it on GitHub
<#447?email_source=notifications&email_token=AAUNWOQVEXIOZE6H4NCFIIT5DACZPA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZVGI3DMMZRUZZGKYLTN5XKOY3PNVWWK3TUUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-17526631>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAUNWOUVY4I2XMU26NUUJH35DACZPAVCNFSNUABGKJSXA33TNF2G64TZHM3TMNZXGAYTAMB3IRUXGY3VONZWS33OHM4TOMZUGYYDFILWAI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I'm a very novice user who is running into the following error when trying to publish the swing-maven template to a github repository. From what I read, I shouldn't need to worry about having npm on my machine as it's included in jdeploy. Am I missing something?
Here's the output of the error message.
log.txt
All reactions