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
{{ message }}
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
pkg/prelude/bootstrap.js:776
if (entity[STORE_BLOB] || entity[STORE_CONTENT]) return new Dirent(entry, 1);
^
TypeError: Cannot read property '0' of undefined
at pkg/prelude/bootstrap.js:776:17
at Array.map (<anonymous>)
at getFileTypes (pkg/prelude/bootstrap.js:773:20)
at Object.fs.readdirSync (pkg/prelude/bootstrap.js:841:42)
at Object.<anonymous> (/snapshot/test_program/index.js:1:90)
at Module._compile (pkg/prelude/bootstrap.js:1320:22)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Function.Module.runMain (pkg/prelude/bootstrap.js:1375:12)
I looked at this commit from the pending pull request, and deduced that the problem is specific to reading root paths. Indeed, c:\ breaks but c:\test is ok.
Reviewing and merging the pull request would be greatly appreciated, it seems to provide a very straightforward fix.
To clarify, we are looking for maintainers of this package! I'm helping answer things in my free time. If you'd be interested in helping maintain, please message me!
Activity
hjyssg commentedon Dec 20, 2020
This bug happened on windows as well.
May I ask when this will be fixed?
albanm commentedon Feb 4, 2021
I looked at this commit from the pending pull request, and deduced that the problem is specific to reading root paths. Indeed, c:\ breaks but c:\test is ok.
Reviewing and merging the pull request would be greatly appreciated, it seems to provide a very straightforward fix.
dverzolla commentedon Mar 12, 2021
@albanm having the same trouble here on Windows.
When reading from
c:\the error is trigged, when reading fromc:\windowsworks smoothly.I know the guys from vercel are freaking busy, however, would some one take attention for this bug?
@igorklopov @leo @robertsLando
Just to mention:
fs.readdir()is buggy as well.fs.promises.readdir()is working fine.robertsLando commentedon Mar 12, 2021
@dverzolla I'm not a maintainer, @leerob could you give a look at #992
leerob commentedon Mar 12, 2021
Thanks, I've just merged the PR. #992
To clarify, we are looking for maintainers of this package! I'm helping answer things in my free time. If you'd be interested in helping maintain, please message me!