Comments (5)
from jdeploy.
If I would have not have npm on my path, I could not even install/run jdeploy.
λ npm link
C:\Users\thatsIch\AppData\Roaming\npm\sublime-rainmeter-image-smoother -> C:\Users\thatsIch\AppData\Roaming\npm\node_modules\sublime-rainmeter-image-smoother\jdeploy-bundle\jdeploy.js
C:\Users\thatsIch\AppData\Roaming\npm\node_modules\sublime-rainmeter-image-smoother -> D:\Work\Rainmeter\RainmeterImageSmoother
jdeploy init
works, install
not:
λ jdeploy install
Executing copy rule CopyRule{dir=target, includes=[sublime-rainmeter-image-smoother-1.3.0-jar-with-dependencies.jar], excludes=null}
target\archive-tmp does not match any patterns.
target\classes does not match any patterns.
target\generated-sources does not match any patterns.
target\maven-archiver does not match any patterns.
target\maven-status does not match any patterns.
target\sublime-rainmeter-image-smoother-1.3.0-jar-with-dependencies.jar does not match any patterns.
target\sublime-rainmeter-image-smoother-1.3.0.jar does not match any patterns.
target\test-classes does not match any patterns.
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Cannot run program "npm": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
at ca.weblite.jdeploy.JDeploy.main(JDeploy.java:1252)
Caused by: java.io.IOException: Cannot run program "npm": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at ca.weblite.jdeploy.JDeploy.install(JDeploy.java:1146)
at ca.weblite.jdeploy.JDeploy.main(JDeploy.java:1239)
Caused by: java.io.IOException: CreateProcess error=2, Das System kann die angegebene Datei nicht finden
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 2 more
Why is
Executing copy rule CopyRule{dir=target, includes=[sublime-rainmeter-image-smoother-1.3.0-jar-with-dependencies.jar], excludes=null}
not matching with
target\sublime-rainmeter-image-smoother-1.3.0-jar-with-dependencies.jar does not match any patterns.
is this a windows issue using \
?
from jdeploy.
from jdeploy.
I found the problem
http://stackoverflow.com/questions/40503074/how-to-run-npm-command-in-java-using-process-builder
€:
you are just susing "npm", "link"
which will fail on windows because the ProcessBuilder
will not use the path extensions (upon npm
it will add extensions and tries to execute them like .bat
or .cmd
)
€€:
I just tried it with npm.cmd
and it works in a toy project
from jdeploy.
Thanks. I have fixed this issue and tested/verified on my Windows 10 box. I have updated it on NPM. Version 1.0.18 includes the fix. You should update your jdeploy with
npm update -g jdeploy
from jdeploy.
Related Issues (20)
- Error making desktop alias HOT 4
- I ask to immediately open the app after the installation then it makes several windows of other hidden apps visible again. HOT 2
- Can't get 'Verify Ownership' working HOT 2
- JDeply does not initialize correctly when one of the detected JAR files is corrupted HOT 3
- Self signing the installer HOT 1
- Github action has wrong action name in readme
- Cannot load app info because app.xml file could not be found, despite it existing HOT 2
- On newer versions of node executing `jdeploy.js` fails with a syntax error: "Octal literals are not allowed" HOT 1
- (node:64182) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
- ARM Linux installers (Raspberry Pi) HOT 6
- Update only after answering question to do so?
- zsh permission denied or Mac Sonoma 14.4.1 HOT 4
- For all jDeploy users - Help ask NPM to increase payload size HOT 9
- Handling native dependencies HOT 6
- Github action was working but now it is not HOT 4
- one repo builds packages and one fails HOT 3
- Trojan in Windows Installer? HOT 5
- Creating Github release to public repo fails due to "jDeploy" tag already exists in public repo HOT 2
- Github workflow installer package not producing desired application icon HOT 11
- Application will not run if not connected to the internet HOT 3
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 jdeploy.