natemoo-re / microsite

Do more with less JavaScript. Microsite is a smarter, performance-obsessed static site generator powered by Preact and Snowpack.

Home Page:https://npm.im/microsite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't do the thing 🙃

spences10 opened this issue · comments

Hi, thought I'd try this

Followed the README, npm init microsite test-microsite then npm run start got the following error:

(node:11635) UnhandledPromiseRejectionWarning: TypeError: (intermediate value) is not iterable
    at dev (file:///home/scott/repos/microsite-test/node_modules/microsite/dist/cli/microsite-dev.js:53:28)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:11635) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:11635) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I'm on Windows WSL fedora using node 14.15.4

thanks

Hiya! This is a duplicate of #87. There’s a current workaround for Yarn users using Yarn Resolutions. Otherwise, we’re waiting on Microsite 1.1.0. to drop.

Thanks @tylerbrostrom! You can also manually install microsite@next to get things working, but that's still a prerelase.

Unfortunately, microsite@1.1.0 is blocked by a few upstream Snowpack issues, which will hopefully be released in snowpack@3.0.12 or the next minor version. It's been about a month since the last Snowpack release, so I'm hopeful it will happen soon! In fairness, the Skypack/Snowpack team has been quite busy—they just hired me! 🎉

Saw that by way of Twitter; congrats!