Giter VIP home page Giter VIP logo

Comments (5)

natemoo-re avatar natemoo-re commented on April 29, 2024 2

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.

KoharaKazuya avatar KoharaKazuya commented on April 29, 2024 1

microsite depends on snowpack@^3.0.0-rc.2 and resolves [email protected] at the moment.
Snowpack changed createConfiguration API.

from microsite.

AndiLavera avatar AndiLavera commented on April 29, 2024

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.

nilskjQL avatar nilskjQL commented on April 29, 2024

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.

natemoo-re avatar natemoo-re commented on April 29, 2024

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 an rc anyway.
  • There were a number of breaking changes with [email protected] that didn't make it into an rc 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's main 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.