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

Error: No such file or directory (os error 2) #9

Open
konsumer opened this issue Jun 8, 2021 · 2 comments
Open

Error: No such file or directory (os error 2) #9

konsumer opened this issue Jun 8, 2021 · 2 comments

Comments

@konsumer
Copy link

konsumer commented Jun 8, 2021

OSX: 11.4 (Big Sur)
wrangler: 1.17.0
node: 14.15.2
npm: 7.15.1

I am starting with directions:

wrangler generate my-project https://github.com/flareact/flareact-template
cd my-project
npm i

I update wrangler.toml with the account_id it mentioned. When I run npm run dev I get this error:

> [email protected] dev
> flareact dev

🚀 Starting Flareact dev server on http://localhost:8080 ...

[worker] 🌀  Using namespace for Workers Site "__my-project-workers_sites_assets_preview"
[worker] Error: No such file or directory (os error 2)
[worker] wrangler dev exited with code 1
--> Sending SIGTERM to other processes..
[client] webpack-dev-server --config node_modules/flareact/configs/webpack.client.config.js --mode development --port 8080 exited with code 0
[
  {
    command: {
      command: 'wrangler dev',
      name: 'worker',
      prefixColor: '',
      env: [Object]
    },
    index: 0,
    exitCode: 1
  },
  {
    command: {
      command: 'webpack-dev-server --config node_modules/flareact/configs/webpack.client.config.js --mode development --port 8080',
      name: 'client',
      prefixColor: '',
      env: [Object]
    },
    index: 1,
    exitCode: 0
  }
]
@konsumer
Copy link
Author

konsumer commented Jun 8, 2021

I tried it on Linux (Pop!OS 20.10) and got similar:

npm run dev

> [email protected] dev
> flareact dev

🚀 Starting Flareact dev server on http://localhost:8080 ...

[worker] ⬇️   Installing wranglerjs v1.17.0...
[client] node: ../src/coroutine.cc:134: void* find_thread_id_key(void*): Assertion `thread_id_key != 0x7777' failed.
[client] Aborted (core dumped)
[client] webpack-dev-server --config node_modules/flareact/configs/webpack.client.config.js --mode development --port 8080 exited with code 134
--> Sending SIGTERM to other processes..
[worker] wrangler dev exited with code SIGTERM
[
  {
    command: {
      command: 'webpack-dev-server --config node_modules/flareact/configs/webpack.client.config.js --mode development --port 8080',
      name: 'client',
      prefixColor: '',
      env: [Object]
    },
    index: 1,
    exitCode: 134
  },
  {
    command: {
      command: 'wrangler dev',
      name: 'worker',
      prefixColor: '',
      env: [Object]
    },
    index: 0,
    exitCode: 'SIGTERM'
  }
]
wrangler: 1.17.0
node: 16.2.0
npm: 7.13.0

Are people still using flareact?

@konsumer
Copy link
Author

konsumer commented Jun 8, 2021

Looks like this specific issue on Linux is related to node-fibers#451, but on OSX I am using node 14.15.2, so it shouldn't be the problem.

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

1 participant