Skip to content

Cannot get to run on Windows 10 #338

@orinwalker

Description

@orinwalker

Information

https://whatismybrowser.com/w/384LKK4

Help request

Problem

Getting error when trying to build:

Fetching Community Tools template from www.digitalocean.com...
...fetching & conversion completed, saved to build/base.html

nginxconfig.io@1.0.0 build:prism D:\IaaProjects\Sandbox\Nginx\nginxconfig.io
node src/nginxconfig/build/prism.js

nginxconfig.io@1.0.0 build:static D:\IaaProjects\Sandbox\Nginx\nginxconfig.io
copyfiles --up 2 src/static/{,**/} dist

nginxconfig.io@1.0.0 build:tool D:\IaaProjects\Sandbox\Nginx\nginxconfig.io
vue-cli-service build src/nginxconfig/mount.js --no-clean

ERROR Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader. On Windows, absolute paths must be valid file:// URLs. Received protocol 'd:'
at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:791:11)
at Loader.resolve (internal/modules/esm/loader.js:89:40)
at Loader.getModuleJob (internal/modules/esm/loader.js:242:28)
at Loader.import (internal/modules/esm/loader.js:177:28)
at importModuleDynamically (internal/modules/cjs/loader.js:1015:27)
at exports.importModuleDynamicallyCallback (internal/process/esm_loader.js:30:14)
at loadFileConfig (D:\IaaProjects\Sandbox\Nginx\nginxconfig.io\node_modules@vue\cli-service\lib\util\loadFileConfig.js:28:7)
at Service.loadUserOptions (D:\IaaProjects\Sandbox\Nginx\nginxconfig.io\node_modules@vue\cli-service\lib\Service.js:323:44)
at Service.init (D:\IaaProjects\Sandbox\Nginx\nginxconfig.io\node_modules@vue\cli-service\lib\Service.js:73:30)
at Service.run (D:\IaaProjects\Sandbox\Nginx\nginxconfig.io\node_modules@vue\cli-service\lib\Service.js:231:16)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nginxconfig.io@1.0.0 build:tool: vue-cli-service build src/nginxconfig/mount.js --no-clean
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nginxconfig.io@1.0.0 build:tool 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\orinw_t1xyplb\AppData\Roaming\npm-cache_logs\2022-03-15T13_30_10_213Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nginxconfig.io@1.0.0 build: npm run build:clean && npm run build:template && npm run build:prism && npm run build:static && npm run build:tool
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nginxconfig.io@1.0.0 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\orinw_t1xyplb\AppData\Roaming\npm-cache_logs\2022-03-15T13_30_10_239Z-debug.log

What I have tried

Tried running in Git Bash, Powershell, and Ubuntu 20.04 using WSL2. All of these give the same error. Have tried cloning to a fresh folder, but get the same error.

Screenshots

N/A

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghacktoberfestIssues folks can work on for Hacktoberfesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions