remix icon indicating copy to clipboard operation
remix copied to clipboard

npx create-remix@latest giving error

Open Daggron opened this issue 2 years ago • 4 comments

What version of Remix are you using?

NA

Steps to Reproduce

I am trying to create a remix application but when I am running the command npx create-remix@latest it is throwing an error.

run npx create-remix@latest

Node version 16 Npm version 8

Expected Behavior

A blank template app should be created.

Actual Behavior

Getting the below error

npm ERR! code ETARGET npm ERR! notarget No matching version found for @remix-run/[email protected]. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/abhay/.npm/_logs/2022-11-05T09_21_30_182Z-debug-0.log

Daggron avatar Nov 05 '22 09:11 Daggron

Weird, as @remix-run/dev 1.7.5 seems to be published.

Just tried the command without problems over here, see below. Can you cd into your app and try npm install there?

🍺  ~ $ npx create-remix@latest
Need to install the following packages:
  create-remix@latest
Ok to proceed? (y) y
? Where would you like to create your app? bug-4519
? What type of app do you want to create? Just the basics
? Where do you want to deploy? Choose Remix App Server if you're unsure; it's easy to change deployment targets. Remix App Server
? TypeScript or JavaScript? TypeScript
? Do you want me to run `npm install`? Yes
npm WARN deprecated @types/[email protected]: This is a stub types definition. keyv provides its own type definitions, so you do not need this installed.
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated

added 1047 packages, and audited 1048 packages in 1m

225 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
💿 That's it! `cd` into "/Users/didou/bug-4519" and check the README for development and deploy instructions!

machour avatar Nov 05 '22 10:11 machour

Weird, as @remix-run/dev 1.7.5 seems to be published.

Just tried the command without problems over here, see below. Can you cd into your app and try npm install there?

🍺  ~ $ npx create-remix@latest
Need to install the following packages:
  create-remix@latest
Ok to proceed? (y) y
? Where would you like to create your app? bug-4519
? What type of app do you want to create? Just the basics
? Where do you want to deploy? Choose Remix App Server if you're unsure; it's easy to change deployment targets. Remix App Server
? TypeScript or JavaScript? TypeScript
? Do you want me to run `npm install`? Yes
npm WARN deprecated @types/[email protected]: This is a stub types definition. keyv provides its own type definitions, so you do not need this installed.
npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated

added 1047 packages, and audited 1048 packages in 1m

225 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
💿 That's it! `cd` into "/Users/didou/bug-4519" and check the README for development and deploy instructions!

Can't do Cd or npm i as app is not generated

Daggron avatar Nov 05 '22 15:11 Daggron

Can you paste the whole installation log here please?

machour avatar Nov 05 '22 16:11 machour

Sure here is the entire log file 2022-11-05T09_21_30_182Z-debug-0.log

Daggron avatar Nov 06 '22 06:11 Daggron

Going to close this one as I just tried this locally & it's working like it should

MichaelDeBoey avatar Nov 10 '22 14:11 MichaelDeBoey

I'm getting this error locally as well.

0 verbose cli /Users/mbp/.nvm/versions/node/v16.18.1/bin/node /Users/mbp/.nvm/v$
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 0ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/Users/mbp/.nvm/versions/node/v16.18.1/lib/node_modul$
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 2ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/Users/mbp/Desktop/remix/.npmrc Completed in 1ms
10 timing config:load:project Completed in 3ms
11 timing config:load:file:/Users/mbp/.npmrc Completed in 3ms
12 timing config:load:user Completed in 3ms
13 timing config:load:file:/Users/mbp/.nvm/versions/node/v16.18.1/etc/npmrc Com$
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:credentials Completed in 0ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 13ms
19 timing npm:load:configload Completed in 14ms

MuddyBootsCode avatar Dec 08 '22 00:12 MuddyBootsCode

What error are you getting?

machour avatar Dec 08 '22 02:12 machour