Comments (5)
Sorry for the frustration, everybody! You should now be able to manually install microsite@next
with any package manager to fix this (and yarn
users can remove the resolutions
workaround.)
[email protected]
is still waiting on [email protected]
, but unfortunately there hasn't been a Snowpack release for about a month. As soon as that drops, Microsite is ready to go out the door.
from microsite.
microsite depends on snowpack@^3.0.0-rc.2
and resolves [email protected]
at the moment.
Snowpack changed createConfiguration
API.
from microsite.
Just downloaded, ran init
and then tried starting the dev server. This was the result:
(node:251078) UnhandledPromiseRejectionWarning: TypeError: (intermediate value) is not iterable
at dev (file:///home/andrew/.nvm/versions/node/v14.15.3/lib/node_modules/microsite/dist/cli/microsite-dev.js:54:28)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:251078) 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:251078) [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.
from microsite.
Did the same thing as above, same error with both node v12.9.1 and v14.15.4
yarn run v1.22.5
$ microsite
(node:20267) UnhandledPromiseRejectionWarning: TypeError: (intermediate value) is not iterable
at dev (file:///Users/nilskjellman/xxx/xxx/microjazz/node_modules/microsite/dist/cli/microsite-dev.js:53:28)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:20267) 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:20267) [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.
β¨ Done in 0.65s.
nilskjellman@Nilss-MBP-2 microjazz % node --version
v14.15.4```
from microsite.
Sorry about this, everybody!
As a silly workaround yarn
users could add the following to their package.json
.
"resolutions": {
"microsite/snowpack": "3.0.0-rc.2"
}
There are a few things happening here:
- I should have pinned the dependency to
[email protected]
exactly (for multiple reasons.) It was probably not a great idea to depend on anrc
anyway. - There were a number of breaking changes with
[email protected]
that didn't make it into anrc
ahead of time. Some pretty straightforward but others were more subtle. Without the advance warning, those caught me off guard. - I merged
1.1.0-next
into Microsite'smain
branch, so that blocked me from putting a quick patch out. Lesson learned!
Hoping to get v1.1.0
out the door very soon. Feel free to follow #94.
from microsite.
Related Issues (20)
- Remove defer from inline scripts HOT 3
- Move `microsite-templates` into this repo HOT 1
- Doesn't do the thing π HOT 3
- Partial hydration causes Preact to be fetched twice HOT 10
- production build fails when CSS module is imported on multiple pages HOT 2
- getStaticProps + node builtins + dev server fails HOT 1
- Preact import regex matches too much HOT 2
- Preact CDN lookup fails for non-hardcoded submodules HOT 1
- Enhancement: Support SSR-able components as props for hydrated components HOT 7
- getStaticPaths uses moduleβs path when returning params object HOT 1
- [RFC] Built-in Markdown/MDX Support HOT 2
- Dynamic routes won't work in dev mode HOT 4
- Hydrated component isn't initialized in prod builds when it is exported/imported under a name different from the name of the component it decorates HOT 6
- Make withHydrate a no-op when nested rather than an error
- Hydration fails with nested props arrays/objects HOT 7
- Build fails with "Error: You must supply options.input to rollup"
- import.meta.env.SSR is true on the client HOT 1
- Preact modules are loaded with `modulepreload` even if they're not used
- dev server fails to load fetch HOT 1
- Add SCSS/SASS support?
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 microsite.