Comments (2)
You sure you checked in those files into git? Almost looks like vendor/javascript might not be under version control, so the files only exist locally?
from importmap-rails.
Did a full folder copy rather than a git pull. Are you saying the bin/importmap json will not list pinned import maps (under env production) if the url is invalid? That seems odd. Would be better to still list them and indicate a missing/invalid url.
In the production logs when the page is generate it does say there is a missing path
W, [2024-01-03T16:12:22.889593 #82460] WARN -- : [543fb42e-5175-4bdd-b4e2-584650283f4b] Importmap skipped missing path: uikit/dist/js/uikit
W, [2024-01-03T16:12:22.889656 #82460] WARN -- : [543fb42e-5175-4bdd-b4e2-584650283f4b] Importmap skipped missing path: uikit/dist/js/uikit-icons
I'm pulling the files from node_modules (the folder in question is file copied rather than yarn loaded on production; maybe that's it)
This is the manifest.js
//= link_tree ../images
//= link_directory ../stylesheets .css
//= link_tree ../../javascript .js
//= link_tree ../../../vendor/javascript .js
//= link_tree ../builds
//= link_directory ../../../node_modules/uikit/dist/js .js
This is the node _modules directory:
And this shows the public asset directory. Fingerprints seemed to match up to the urls in the development env json listing. Assets were created with RAILS_ENV=production rails assets:precompile
from importmap-rails.
Related Issues (20)
- asset_path('es-module-shims.min') does not work in production HOT 1
- files ending in `_index.js` have `index` replaced with an empty string HOT 3
- Unpin command causing net error HOT 3
- Confusing message on 'update'
- Unable to unpin HOT 1
- Persistent 404 error when pinning HOT 11
- Package works when pinned from JSPM but not when downloaded HOT 2
- Break in iOS 16.2 when upgrading from 1.2.3 to 2.0.1 HOT 4
- turbo:load event not fired anymore in test environment after upgrade from 1.2.3 to 2.0.1 HOT 3
- Feature suggestion: optional `process.env` polyfill
- Multiple importmaps HOT 6
- Importmap update removes pins via http HOT 1
- importmap pin/update removes preload: false
- ga.jspm.io never updates HOT 3
- ./bin/importmap outdated command fails with undefined method `dig' for an instance of String HOT 6
- Add option to `bin/importmap pin URL` to create direct/remote link without downloading
- Option to 're-sync' vendor folder HOT 2
- How to add jquery in importmaps rails 7 HOT 2
- `update` does not update a package even when `outdated` shows the new version 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 importmap-rails.