Comments (4)
You're right though, now I can also reproduce that exclude issue. In Snowpack we really try to talk people out of mounting node_modules
directories (and should instead just treat the package using our normal package install flow). But, now this actually feels like a real use-case for mounting something from node_modules...
Maybe it's time to revisit the idea of always excluding node_modules if the mounted directory is explicitly inside of your node_modules.
1 approach to solve: https://github.com/snowpackjs/snowpack/compare/node-modules-exclude
from astro.
Just fixed and published a new version under that tag, can you let us know if that fixes things for you as well?
It's working for me now!
from astro.
Thanks for filing! Yup, looks like there were a couple of issues hidden by the fact that our examples ran astro with all dev dependencies installed.
We added instructions to install astro from npm to the readme: npm install astro@shhhhh
Just fixed and published a new version under that tag, can you let us know if that fixes things for you as well?
from astro.
Also fixed permissions, gave you write permissions to create PRs on the repo.
from astro.
Related Issues (20)
- assetsInlineLimit doesn't work for client-only scripts HOT 1
- `define:vars` not working with `is:inline` directive in `<style>` tags HOT 1
- sitemap integration generates incorrect location path
- [WARN] [vite] Sourcemap for ".../node_modules/.pnpm/[email protected][email protected]..." points to missing source files HOT 8
- Type is not available when we use select query with relationship HOT 1
- Type Errors in `examples/framework-react` on init in VS Code HOT 2
- When integrating Svelte, certain styles and scripts are injected into the `<body>` rather than the `<head>` tag. HOT 1
- Error when importing vue components from a library in astro component HOT 1
- Query Params get deleted
- Astro 4.5 creates severe problems and side effects for environmentals, potentially other configs - with resolution HOT 15
- πRoot field ignored by integrations, widespread, monorepos HOT 3
- Astro Image doesn't take `build.assetsPrefix` into account HOT 2
- [postcss] Cannot read properties of undefined (reading '__isOptionsFunction')
- Astro Preact Not Replacing Parent Component During client:load SSR-dependant Component HOT 5
- Module '"astro:i18n"' has no exported member 'getRelativeLocaleUrl' HOT 11
- Astro MDX fails to render framework components and components defined with MDX file, when explicit `null` or `undefined` prop passed in HOT 1
- When using the development server versus distributing static build artifacts, the behavior of redirects differs. HOT 1
- Simple usage of `Polymorphic` type results in TypeScript error HOT 2
- Creating a new Response with a Status Code of 404 leads to an infinite loop when the /404.astro page is absent. HOT 1
- Type Error when returning 404 response with dynamic route segments 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 astro.