Not sure what I am doing wrong. Any help would be appreciated.
C:\imprs-sw-portal-9.2\9.2>npx create-windowless-app ws-relay-app --no-typescript --icon C:\imprs-sw-portal-9.2\9.2\WEBMI\basic\images\favicon.ico
Creating a new windowless app in C:\imprs-sw-portal-9.2\9.2\ws-relay-app.
Installing dependencies.
+ [email protected]
+ [email protected]
added 40 packages from 25 contributors and audited 40 packages in 5.248s
3 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Installing dev dependencies.
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
+ [email protected]
added 615 packages from 382 contributors and audited 656 packages in 44.893s
57 packages are looking for funding
run `npm fund` for details
found 1 moderate severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
Using latest nexe release: windows-x64-14.15.3
Building project files.
Building project launcher.
Building launcher with icon: C:\imprs-sw-portal-9.2\9.2\WEBMI\basic\images\favicon.ico.
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 2/17/2022 9:43:56 AM.
Project "C:\imprs-sw-portal-9.2\9.2\ws-relay-app\launcher\launcher.csproj" on node 1 (default targets).
Compile:
C:\Program Files (x86)\MSBuild\14.0\bin\csc.exe /out:../resources/bin/ws-relay-app-launcher.exe /target:winexe /win32icon:./launc
her.ico ./launcher.cs
The output file is ../resources/bin/ws-relay-app-launcher.exe
Done Building Project "C:\imprs-sw-portal-9.2\9.2\ws-relay-app\launcher\launcher.csproj" (default targets).
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:07.93
Done
C:\imprs-sw-portal-9.2\9.2\ws-relay-app>npm run build
> [email protected] build C:\imprs-sw-portal-9.2\9.2\ws-relay-app
> npm run webpack && npm run nexe
> [email protected] prewebpack C:\imprs-sw-portal-9.2\9.2\ws-relay-app
> rimraf build && rimraf dist
> [email protected] webpack C:\imprs-sw-portal-9.2\9.2\ws-relay-app
> webpack
(node:7540) ExperimentalWarning: The ESM module loader is experimental.
[webpack-cli] HookWebpackError: Only file and data URLs are supported by the default ESM loader
at makeWebpackError (C:\imprs-sw-portal-9.2\9.2\ws-relay-app\node_modules\webpack\lib\HookWebpackError.js:48:9)
at C:\imprs-sw-portal-9.2\9.2\ws-relay-app\node_modules\webpack\lib\Compilation.js:3058:12
at eval (eval at create (C:\imprs-sw-portal-9.2\9.2\ws-relay-app\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:48:1)
at C:\imprs-sw-portal-9.2\9.2\ws-relay-app\node_modules\webpack\lib\Compilation.js:509:26
at C:\imprs-sw-portal-9.2\9.2\ws-relay-app\node_modules\copy-webpack-plugin\dist\index.js:708:13
-- inner error --
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:727:11)
at Loader.resolve (internal/modules/esm/loader.js:97:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:243:28)
at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:46:40)
at link (internal/modules/esm/module_job.js:45:36) caused by plugins in Compilation.hooks.processAssets
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:727:11)
at Loader.resolve (internal/modules/esm/loader.js:97:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:243:28)
at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:46:40)
at link (internal/modules/esm/module_job.js:45:36)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] webpack: `webpack`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] webpack script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator.WIN2012DEV\AppData\Roaming\npm-cache\_logs\2022-02-17T15_17_57_318Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `npm run webpack && npm run nexe`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator.WIN2012DEV\AppData\Roaming\npm-cache\_logs\2022-02-17T15_17_57_355Z-debug.log