node-java-caller icon indicating copy to clipboard operation
node-java-caller copied to clipboard

in ./node_modules/java-caller/lib/cli.js Module parse failed: Unexpected character '#' (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders > #! /usr/bin/env node

Open ArbifyFun opened this issue 3 years ago • 4 comments

I get build error.

in ./node_modules/java-caller/lib/cli.js

Module parse failed: Unexpected character '#' (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders

#! /usr/bin/env node

ArbifyFun avatar Apr 18 '22 08:04 ArbifyFun

What is your node.js version ?

You can type node -v in command line

nvuillam avatar Apr 18 '22 15:04 nvuillam

If it is a webpack issue, I think there is a solution here -> https://stackoverflow.com/a/50102672/7113625

nvuillam avatar Apr 18 '22 15:04 nvuillam

this can support electron ?

ArbifyFun avatar Apr 20 '22 08:04 ArbifyFun

I have not heard of a use of node-java-caller within electron... but maybe this shebang is not really useful... I'll have a look

nvuillam avatar Apr 20 '22 08:04 nvuillam

If you still have the issue, please reopen :)

nvuillam avatar Aug 20 '24 20:08 nvuillam