Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React example does not work #18

Open
andrew-goldie opened this issue Apr 25, 2023 · 3 comments
Open

React example does not work #18

andrew-goldie opened this issue Apr 25, 2023 · 3 comments

Comments

@andrew-goldie
Copy link

Following first part of React example using deno version 1.32.5 on MacOS Ventura 13.3.1.

deno run --allow-env --allow-read --allow-write npm:create-vite-extra

Selected deno-react template and TypeScript variant.

cd into newly scaffolded project and run

deno task dev

The following error is displayed:

Task dev deno run -A --node-modules-dir npm:vite
error: Uncaught Error: EPERM: operation not permitted, readdir
    at __node_internal_captureLargerStackTrace (ext:deno_node/internal/errors.ts:89:11)
    at __node_internal_uvException (ext:deno_node/internal/errors.ts:182:12)
    at denoErrorToNodeError (ext:deno_node/internal/errors.ts:1826:16)
    at ext:deno_node/_fs/_fs_readdir.ts:35:22
    at eventLoopTick (ext:core/01_core.js:165:11)
@r3alfar
Copy link

r3alfar commented Apr 26, 2023

got the same issue on windows 11

Task dev deno run -A --node-modules-dir npm:vite
error: Uncaught Error: EINVAL: invalid argument, stat
    at __node_internal_captureLargerStackTrace (ext:deno_node/internal/errors.ts:89:11)
    at __node_internal_uvException (ext:deno_node/internal/errors.ts:182:12)
    at denoErrorToNodeError (ext:deno_node/internal/errors.ts:1826:16)     
    at ext:deno_node/_fs/_fs_stat.ts:83:97
    at eventLoopTick (ext:core/01_core.js:165:11)

@timgoeller
Copy link

timgoeller commented Apr 30, 2023

Got the same issue as @r3alfar, also on Windows 11 and for the vue example

@RileySeaburg
Copy link

Same issue on windows 11.

I have to say the error isn't too helpful either.

As you can tell, the error is coming from the source of the recent node-deno configuration.

Task dev deno run -A --unstable --node-modules-dir npm:vite
error: Uncaught Error: EINVAL: invalid argument, stat
    at __node_internal_captureLargerStackTrace (ext:deno_node/internal/errors.ts:89:11)
    at __node_internal_uvException (ext:deno_node/internal/errors.ts:182:12)
    at denoErrorToNodeError (ext:deno_node/internal/errors.ts:1826:16)
    at ext:deno_node/_fs/_fs_stat.ts:83:97
    at eventLoopTick (ext:core/01_core.js:181:11)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants