Skip to content

Bash or Windows, fails pull and npm install #201

@Pontiac76

Description

@Pontiac76

As documented the git clone does not work.

In Windows 10, I get the error:

error: invalid path 'presets/vcs/skeleton.remote:llvm-mos'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

It doesn't like colons in the filenames, so the pull fails, and the only directory I get is the .git directory in 8bitworkshop

I then tried with doing the clone with https instead of git/ssh, and still the same problem at the same point of interest.

Switching to WSL and Debian, I get further, but I fail with npm -i

npm error path \\wsl.localhost\Debian\home\stephen\git\8bitworkshop\node_modules\esbuild
npm error command failed
npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node install.js
npm error '\\wsl.localhost\Debian\home\stephen\git\8bitworkshop\node_modules\esbuild'
npm error CMD.EXE was started with the above path as the current directory.
npm error UNC paths are not supported.  Defaulting
to Windows directory.
npm error node:internal/modules/cjs/loader:1404
npm error   throw err;
npm error   ^
npm error
npm error Error: Cannot find module 'C:\Windows\install.js'
npm error     at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)
npm error     at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)
npm error     at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)
npm error     at Function._load (node:internal/modules/cjs/loader:1211:37)
npm error     at TracingChannel.traceSync (node:diagnostics_channel:322:14)
npm error     at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
npm error     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
npm error     at node:internal/main/run_main_module:36:49 {
npm error   code: 'MODULE_NOT_FOUND',
npm error   requireStack: []
npm error }

Where do I take it from here?

(Insta-bought the book after I saw this. Strong desire to get back into C)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions