You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I fixed an apparent bug in composing a file path on Windows OS 8.
######################
How to fix the apparent bug
######################
Open the file, pkg/functions_lib.js
Replace, line 162 with:
let __dirname = path.dirname(new URL(import.meta.url).pathname);
__dirname=__dirname.substr(1);
console.log(__dirname);
########################
How to make the apparent bug to occur
########################
Run
$ deno run --allow-read --allow-net --allow-env --unstable deno/server.ts
error: Uncaught Error: ファイル名、ディレクトリ名、またはボリューム ラベルの構文が間違っています。 (os error 123)
at processResponse (core.js:224:13)
at Object.jsonOpSync (core.js:248:12)
at Object.readDirSync (deno:cli/rt/30_fs.js:109:12)
at new Context (snapshot_preview1.ts:310:41)
at file:///O:/OneDrive/Git/IT/ProgramFiles_/rust/deno/ssvm-deno-starter-master/pkg/functions_lib.js:164:14
The text was updated successfully, but these errors were encountered:
I fixed an apparent bug in composing a file path on Windows OS 8.
######################
How to fix the apparent bug
######################
Open the file, pkg/functions_lib.js
Replace, line 162 with:
########################
How to make the apparent bug to occur
########################
Run
The text was updated successfully, but these errors were encountered: