Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"npx nwlink" fails on last versions (I tried 0.0.17 to 0.0.12) #4

Open
Naereen opened this issue Oct 20, 2024 · 1 comment
Open

"npx nwlink" fails on last versions (I tried 0.0.17 to 0.0.12) #4

Naereen opened this issue Oct 20, 2024 · 1 comment

Comments

@Naereen
Copy link

Naereen commented Oct 20, 2024

Hi there,
Thanks for this interesting demo! I wanted to work on it. However...
I failed to compile it, on Ubuntu 22.04 Linux, using

$ npx --version
8.5.1
$ node --version
v12.22.9

The compilation fails because in the Makefile, the npx --yes -- [email protected] command is used, but it fails:

$ npx --yes -- [email protected]
/home/USER/.npm/_npx/6d991536f923a4f6/node_modules/nwlink/dist/index.js:1
(()=>{var t={7481:(t,e,r)=>{var n,o=(n=(n="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0)||__filename,function(t);

SyntaxError: Unexpected token '='
    at wrapSafe (internal/modules/cjs/loader.js:915:16)
    at Module._compile (internal/modules/cjs/loader.js:963:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:85:18)
    at Object.<anonymous> (/home/lilian/.npm/_npx/6d991536f923a4f6/node_modules/nwlink/bin/nwlink:2:13)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

I tried from versions 0.0.17 to 0.0.12, each giving the same issue.

Could you @Ecco, @EmilieNumworks (and other authors maybe) help me here, please?
Thanks and regards from France as well ;-)
@Naereen

@Naereen
Copy link
Author

Naereen commented Oct 20, 2024

Apparently, this has been opened also on the epsilon-sample-app-cpp project: numworks/epsilon-sample-app-cpp#29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant