Comments (11)
assets:precompile
is only used for production. You need to run bin/dev
for development.
from jumpstart.
Appreciate you Chris
interesting, I cant get jumpstart not to error on my local system without it.
from jumpstart.
cssbundling-rails and jsbundling-rails use separate processes to build assets, so you can no longer run just the rails server.
from jumpstart.
so when starting a rails server i have forman running, and I have bin/dev what else do i need to run to not have to precompile?
from jumpstart.
You probably need to clear out those precompiled files if you ran that.
from jumpstart.
ok, maybe a better question is... when you start a local with jumpstart, whats your process?
from jumpstart.
I just run bin/dev
from jumpstart.
Yeah cool, i will have to do some more research, but when you google error starting jumpstart its a thing, and its always the css. https://gorails.com/forum/error-starting-new-jumpstart-app
from jumpstart.
Well if nothing else hopefully this is a great spot for it.... dont start your server with rails s or rails start. simply replace it with bin/dev for applications using cssbundling-rails and jsbundling-rails.
from jumpstart.
That's why I included it in the instructions here:
Just tried it on a brand new app and works fine for me.
from jumpstart.
I get it now, and it makes complete sense.
The issue i had was that when i first ran it it failed.
I had to watch your https://gorails.com/episodes/esbuild-jsbundling-rails to understand why and add the "build": "node esbuild.config.js" to the package.json... so by the time I got there...
sounds pretty dumb but - bin/dev didnt really play into my mind as the way i was starting the server.
I am not sure how often you get this, but adding "- to start the server", might save you time and a-lot of people a-lot of heart ache.
Regardless, i appreciate your work, and you are a big part of my rails journey.
from jumpstart.
Related Issues (20)
- Vips::Error - Missing resize option
- Uninitialized constant HomeController on Rails 7.0.1 fresh install HOT 9
- Duplicate `Gemfile` entry for `cssbundling-rails` when creating a new app HOT 7
- New app fails to boot, `Could not resolve "./application"` HOT 7
- Jumpstart Install is current broken at esbuild HOT 5
- Rails 6.1.0 - Jumpstart Install is currently broken at esbuild
- Gem image_processing mentioned twice in the Gemfile HOT 1
- NameError in Madmin::Users#new HOT 3
- Pretender button in MADMIN
- Fails at add_esbuild_script set-script deprecated in npm v9 HOT 2
- x
- Error updating avatar HOT 1
- Various errors with a new project HOT 2
- Rails 6.1 errors HOT 3
- Error: Can't find stylesheet to import
- How to broadcast without logged in user
- bin/dev does not exist HOT 3
- Omit `config.action_mailer.default_url_options` in next release of Rails HOT 3
- Non-english chars in "jumpstart.yml" break the app HOT 1
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 jumpstart.