Tailwindcss-module: new `_tailwind` url issue when using another server framework

Created on 3 Dec 2020  Â·  2Comments  Â·  Source: nuxt-community/tailwindcss-module

Version

@nuxtjs/tailwindcss: 3.3.0
nuxt: 2.14.9

Reproduction Link

https://github.com/kreig303/nuxt-tailwindcss-3.3.0-bug

Steps to reproduce

https://github.com/kreig303/nuxt-tailwindcss-3.3.0-bug#how-do-i-use-you

What is Expected?

Server comes up with no issues.

What is actually happening?

> [email protected] dev /Users/kreig303/src/tailwind-test
> node index.js

ℹ Preparing project for development                                                                                                                                              06:47:15
ℹ Initial build may take a while                                                                                                                                                 06:47:15


 FATAL  Cannot read property 'url' of undefined                                                                                                                                  06:47:15

  at node_modules/@nuxtjs/tailwindcss/lib/module.js:89:68

✔ Builder initialized                                                                                                                                                            06:47:15
✔ Nuxt files generated           
 ERROR  Failed to compile with 1 errors                                                                                                                          friendly-errors 06:47:24

This dependency was not found:                                                                                                                                   friendly-errors 06:47:24
                                                                                                                                                                 friendly-errors 06:47:24
* ~tailwind.config in ./node_modules/babel-loader/lib??ref--2-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/@nuxtjs/tailwindcss/lib/ui/pages/index.vue?vue&type=script&lang=js&
                                                                                                                                                                 friendly-errors 06:47:24
To install it, you can run: npm install --save ~tailwind.config                                                                                                  friendly-errors 06:47:24
ℹ Waiting for file changes                                                                                                                                                       06:47:24

 READY  App running on http://localhost:3000/       
bug

Most helpful comment

+1 showing this error too.

nuxt : ^2.0.0
@nuxtjs/tailwindcss : ^3.0.0

All 2 comments

+1 showing this error too.

nuxt : ^2.0.0
@nuxtjs/tailwindcss : ^3.0.0

i am having the same issue in relation to storybook...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

duthanhduoc picture duthanhduoc  Â·  7Comments

thinguyennam4059605 picture thinguyennam4059605  Â·  5Comments

joffreyBerrier picture joffreyBerrier  Â·  8Comments

stevenho0811 picture stevenho0811  Â·  3Comments

othy54 picture othy54  Â·  6Comments