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.

npx create-tailwind-rn throwing 404 error

See original GitHub issue

I’ve installed tailwind-rn and I’m trying to create the styles.json file using npx create-tailwind-rn but I get this error

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/create-tailwind-rn - Not found
npm ERR! 404 
npm ERR! 404  'create-tailwind-rn@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)  
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:9

github_iconTop GitHub Comments

7reactions
adscudcommented, Mar 3, 2021

The binary is named via package.json: https://github.com/vadimdemedes/tailwind-rn/blob/master/package.json#L13.

Using npx based on docs npx -p=tailwind-rn create-tailwind-rn still fails with:

npx: installed 79 in 4.619s
internal/modules/cjs/loader.js:883
  throw err;
  ^

Error: Cannot find module 'tailwindcss'
Require stack:
- /.npm/_npx/43168/lib/node_modules/tailwind-rn/cli.js

@sveisvei

This guide assumes that you already have Tailwind CSS and tailwind-rn installed.

npm install tailwindcss@latest postcss@latest autoprefixer@latest

1reaction
adscudcommented, May 13, 2021

@chinieer look above I have provided the solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

tailwind-rn - Bountysource
I've installed tailwind-rn and I'm trying to create the styles.json file using npx create-tailwind-rn but I get this error npm ERR! code E404...
Read more >
Why is my Tailwind ract native not changing anything?
I just follow the instructions on the documentation. Install the library run the following command on your terminal. npm install tailwind-rn.
Read more >
tailwind-rn - npm
Use Tailwind CSS in React Native projects. Latest version: 4.2.0, ... Start using tailwind-rn in your project by running `npm i tailwind-rn`.
Read more >
npx create-react-app could not determine executable to run
I am trying to use npx create-react app but i have errors that is shown below: npm ERR! ... 404 Not Found -...
Read more >
how to route unknown path to 404 page react Code Example
Error : Requiring module "node_modules\react-native-reanimated\src\Animated.js", which threw an exception: Error: Reanimated 2 failed to create a worklet, maybe ...
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