3 ms·
I was trying to get this setup going the other day and found it a little fiddly with some of the Jetbrain’s documentation on Kotlin->JS being outdated it seemed
by jm547ster 9y ago
I was trying to get this setup going the other day and found it a little fiddly with some of the Jetbrain’s documentation on Kotlin->JS being outdated it seemed and the sample application they have supplied having some issues with missing dependencies, specifically missing package versions on NPM. I’ll be trying this out straightaway, so many thanks for this!
- specialist 9y agoWhat's the fix to config mgmt jitter, entropy? Every time I set aside a few hours to do a React tutorial, I'm defeated by the stack. I'm very late to docker. I always liked the idea, but didn't have the immediate need. But Python, trying to fix bugs in someone else's project, has now made that need urgent. After spending WAY TOO MUCH TIME getting the exact right constellation of stuff installed. Switching from macports to homebrew, preinstalling the native libs, wiping all the misc failed python runtimes and starting over, bootstrapping pip, oops I screwed up once with sudo and now a hidden cache under /var/private/root is borking dependency resolution. FFS. I really hated Java & maven until I got a nodejs gig. I really hated nodejs & npm until I had to fix someone else's python. When does it get better? Nix everywhere?
- bitL 9y agoI think Vagrant is for reproducible development environments.
- deleted 9y ago[deleted]
- hackerfromthefu 9y agoThat's the theory ..
- acemarke 9y agoCan you clarify what you mean by "defeated by the stack"? Are you having trouble setting up a React development environment? If you want to try using React without any build tooling or process at all, the main suggestions are: - Use an online IDE like https://codesandbox.io https://codesandbox.io , which is a complete online editor that lets you write React apps, view them in the browser, and even make use of NPM packages . CodePen and StackBlitz are other good choices for online editors. - Create an index.html file with three script tags for React, ReactDOM, and the Babel transformer. There's a pre-written example at https://raw.githubusercontent.com/reactjs/reactjs.org/master/static/html/single-file-example.html https://raw.githubusercontent.com/reactjs/reactjs.org/master... . If you do want a local project with the right build setup, the official Create-React-App tool will create projects with the build config abstracted away: https://reactjs.org/docs/installation.html https://reactjs.org/docs/installation.html So, while the recommended way to use React is with a full build process (which lets you use the JSX syntax for rendering components, other modern JS syntax, and produces a proper bundle for deployment), you don't have to learn Webpack or Babel as a prerequisite for learning React.
- specialist 9y agoBelated reply, sorry. I've bookmarked this for later. Great links, thanks.
- ptx 9y ago> But Python ... bootstrapping pip ... When does it get better? In Python 3. The pip and venv stuff is built-in and works much more smoothly. (But I realize that this doesn't help you on an old Python 2 project.)