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

FAL_KEY is set but it exits with error #90

Open
romanr opened this issue Sep 22, 2024 · 0 comments
Open

FAL_KEY is set but it exits with error #90

romanr opened this issue Sep 22, 2024 · 0 comments

Comments

@romanr
Copy link

romanr commented Sep 22, 2024

.env is created with FAL_KEY=….

I'm not sure what the issue is, deprecation warning or not finding the token?

npx nx serve demo-nextjs-page-router --verbose

 >  NX   No access token found

   Nx will continue running, but nothing will be written or read from the remote cache.
   Run details will also not be available in the Nx Cloud UI.


> nx run demo-nextjs-page-router:serve:development

(node:80489) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
node:events:498
      throw er; // Unhandled 'error' event
      ^
Error: spawn /opt/homebrew/Cellar/node/22.7.0/bin/node ENOENT
    at ChildProcess._handle.onexit (node:internal/child_process:286:19)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
Emitted 'error' event on ChildProcess instance at:
    at ChildProcess._handle.onexit (node:internal/child_process:292:12)
    at onErrorNT (node:internal/child_process:484:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn /opt/homebrew/Cellar/node/22.7.0/bin/node',
  path: '/opt/homebrew/Cellar/node/22.7.0/bin/node',
  spawnargs: [
    '/Users/user/Projects/fal-js/node_modules/next/dist/bin/next',
    'dev',
    '--port=4200',
    ''
  ]
}
Node.js v22.7.0

 ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  NX   Running target serve for project demo-nextjs-page-router failed

   Failed tasks:
   
   - demo-nextjs-page-router:serve:development
   
   Hint: run the command with --verbose for more details.
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