question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fastify cli does not work in windows 10 and windows 10 professional

See original GitHub issue

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Fastify version

2.15.0

Plugin version

none

Node.js version

14.16.0

Operating system

Windows

Operating system version (i.e. 20.04, 11.3, 10)

19044.1566

Description

Fastify cli does not work in windows 10 and windows 10 professional, it works on mac OS fine, but I have tried on different windows 10 machines, and it gives the same behavior. image

Steps to Reproduce

npm install fastify-cli --global

fastify

Expected Behavior

fastify cli should work on windows as it does on mac OS.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
darkgl0wcommented, Mar 1, 2022

node internal syntax (e.g.: node:<core_module_name>) is not supported by Node.js 14.16.0

you need at least Node.js v.14.18.0

1reaction
waqastanolicommented, May 9, 2022

Hi, I just removed all nodejs versions to try to fix error with fastify-cli and installed both 16.15.0 and 14.18.3 with nvm. No matter when I run npm install or yarn add I get the following error

D:\devel\htmx-fastify\my-app fastify ‘fastify’ is not recognized as an internal or external command, operable program or batch file.

my ennvionment Edition Windows 10 Home Version 21H1 Installed on ‎2/‎15/‎2021 OS build 19043.1645 Experience Windows Feature Experience Pack 120.2212.4170.0

@johntom did you insall fastify cli globally? npm install fastify-cli --global https://github.com/fastify/fastify-cli#install

Read more comments on GitHub >

github_iconTop Results From Across the Web

There are 9 help pages that matches the given result ... - GitHub
Ive installed fastify on windows 10 over git bash using yarn . When typing fastify command the following is printed: There are 9...
Read more >
Getting-Started - Fastify
A classic problem when you are building a new application is how to handle multiple files, asynchronous bootstrapping, and the architecture of your...
Read more >
fastify - npm
Fastify is a web framework highly focused on providing the best developer experience with the least overhead and a powerful plugin architecture.
Read more >
Fastify Error: ERR_AVVIO_PLUGIN_TIMEOUT: Plugin did not ...
Turns out that by creating the project with fastify-cli I was using fastify-autoload which prevented this from working.
Read more >
Create a Complete Web API set from scratch, with Fastify ...
Creating a new Fastify Project. Now that we have installed Fastify CLI, let's create a new Fastify project! Open your terminal in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found