-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Bug]: During postinstall, "remix is not recognized as a command" error #1233
Comments
@skitterm Could you provide the version of npm? I'm on Windows 10 Home, build 19042.1415, and using version of node 17.3.0 the same but cannot reproduce. |
@luffy84217 thanks for reaching out. I'm on NPM v |
@skitterm Have you ever tried running |
I ran into a similar error ('remix: not found') when docker-izing a remix express app. I haven't run into the issue outside of docker (I'm running on MacOs) The solution I found was to move the @remix-run/dev entry in package.json from devDependencies over into dependencies https://github.com/ssisk/create-remix-docker has a repro of the issue (see debug-notes.md for a bit more discussion of how I set the repro up and what else I tried) |
I am having the same issue, and I think the issue is related to having this So basically running install command with I hope that helps. For the time being, for those impacted, moving |
What version of Remix are you using?
1.1.1
What version of Node are you using? Minimum supported version is 14.
17.3.0
Steps to Reproduce
When attempting to setup a project as part of the Blog tutorial instructions, things fail on the
postinstall
step, preventing me from continuing on with the project.To reproduce:
npx create-remix@latest
postinstall
step by the looks of it), with the following error:I'm on Windows 10, build 19043.1415. I'm wondering if this is OS/OS-version-specific since no-one else has run across the same issue.
I also tried using v1.0.6 instead, but same result.
Expected Behavior
The
postinstall
script should run successfully.Actual Behavior
The
npx create-remix
command fails. Full console error below:The text was updated successfully, but these errors were encountered: