Comments (5)
vou está analisando
from nullstack.
In the mean time if anyone has issues you can use this script to auto restart it
const { spawn } = require('child_process') let child const startScript = () => { child = spawn('npm', ['run', 'start']) child.stdout.on('data', (data) => { console.log(
stdout: ${data}) if (data.includes('error')) { child.kill() startScript() } }) child.stderr.on('data', (data) => { console.error(
stderr: ${data}) child.kill() startScript() }) child.on('close', (code) => { console.log(
child process exited with code ${code}) }) } startScript()
from nullstack.
Also full dependencies
"dependencies": { "@analytics/google-tag-manager": "^0.5.2", "@auth0/auth0-spa-js": "^1.22.2", "@faker-js/faker": "^7.3.0", "@sentry/browser": "^7.28.0", "@sentry/integrations": "^7.28.1", "@sentry/tracing": "^7.28.0", "@stripe/stripe-js": "^1.38.1", "@tailwindcss/line-clamp": "^0.4.2", "@tailwindcss/typography": "^0.5.8", "analytics": "^0.8.1", "aws-sdk": "^2.1248.0", "browser-image-resizer": "^2.4.1", "buffer": "^6.0.3", "canvas": "^2.10.2", "chart.js": "^3.9.1", "cors": "^2.8.5", "currency-codes": "^2.1.0", "currency-symbol-map": "^5.1.0", "dayjs": "^1.11.4", "jsonwebtoken": "^8.5.1", "jwt-decode": "^3.1.2", "papaparse": "^5.3.2", "stripe": "^10.13.0", "timers": "^0.1.1", "xml2js": "^0.4.23" }, "devDependencies": { "@sentry/webpack-plugin": "^1.20.0", "@tailwindcss/forms": "^0.5.3", "@trivago/prettier-plugin-sort-imports": "^3.4.0", "autoprefixer": "^10.4.13", "cypress": "^10.11.0", "eslint": "^8.20.0", "eslint-plugin-local": "^1.0.0", "husky": "^8.0.1", "lint-staged": "^13.0.3", "nullstack": "^0.16.4", "postcss": "^8.4.19", "postcss-loader": "^7.0.1", "prettier": "^2.7.1", "prettier-plugin-tailwindcss": "^0.1.12", "query-string": "^7.1.1", "tailwind-merge": "^1.4.0", "tailwindcss": "^3.2.4" },
from nullstack.
It seems the problem is related to Webpack, I found a similar issue happening with Gatsby. The solution was strictly defining the folders using Tailwind instead of setting it to the entire src
folder. Here's an example:
module.exports = {
content: [
// './src/**/*.jsx', <- this was the problem
'./src/pages/*.jsx',
'./src/components/*.jsx'
]
}
from nullstack.
Closing for now as it seems to be a tailwind related thing and not nullstack, but it might disappear anyway in the next version with the new loaders. Pls, reopen if it happens again!
from nullstack.
Related Issues (20)
- M1 Mac issue with node v16 fiber HOT 3
- this.renderNullstack returning undefined HOT 1
- Does support a vite template? HOT 1
- Typescript error: Not export *.d.ts types HOT 2
- onfocus/onblur don't work together on production mode HOT 2
- textarea attribute "disabled" won't update it's value when tied to nullstack state HOT 1
- meta tag description is no longer updated HOT 1
- Textarea doesn't accept bind as undefined HOT 2
- Description header not be apply HOT 5
- .env variables not be referenced as a value HOT 2
- Using spread operator in combination with onclick on tag prop breaks the build HOT 3
- 🐛 Error thrown when using exposed server function with HTTP POST method HOT 1
- Output folder is not being cleaned up with --disk flag HOT 1
- The `onerror` event in `img` elements isn't being triggered correctly when SSR is involved HOT 3
- Comments not being respected by sass-loader HOT 1
- Refs are not properly typed HOT 1
- 0.18+ not reloading function components HOT 2
- Fix conflict with invokerHash and boundHash separator HOT 1
- Please help HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nullstack.