-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with npm install #32
Comments
Yes, there certainly should; the way this project is laid out currently fights npm and requires significant manual rejiggering of the (Thank you for the PR, by the way!) |
I need to learn how to set up webpack for a different project. If it's all right with you, I could try and set up CascadeStudio to be bundled with Webpack, perhaps with Babel for TS support. I don't really know how to do it yet, but I'd love to give this a go. |
I was thinking about teaching myself the same thing a month ago, but that was when I learned that webpack is an absolute monstrosity, and probably the root of a lot of evil in modern web tech. You can see the half-baked carnage from such experimentation here in Once the trauma from that has worn off, my eventual hope is to come back and try Snowpack, which markets itself as a more humane webpack (that can also automatically convert pre-esm modules into esm modules!). Since several of the dependencies in CascadeStudio predate ECMAScript5 modules, this functionality could be a huge time-saver... |
Cool, I didn't know about Snowpack. |
Fine with me 👍 I'd recommend starting from either #15 or |
I started working on #15, by separating the service worker You can find it in my cloned repo on the separate-nod_modules branch. I included a npm script in When I run it locally with the node_modules from the cloned repository it runs OK, but when I try to install all dependencies from npm and then running my pre-processing script I hope I'm on the right track, and hope you can help me trace the bugs. Here are the error logs from Chrome's console:
|
If you're trying to do a fresh I have a mostly working embind port here: You'll notice I also patch out some lines (and patch in some debug/error reporting functionality). |
First of all, I found this project through Hackady, and I think it's really great! Thank you!
I tried to add a library (newtype-ts, as described in PR #31), but running
npm install newtype-ts
scrambles all my localnode-modules
libraries.I think there should be a better / more robust way for adding, changing, or upgrading npm modules.
The text was updated successfully, but these errors were encountered: