Title: unable to resolve dependency tree · Issue #20 · stackbit/sourcebit · GitHub
Open Graph Title: unable to resolve dependency tree · Issue #20 · stackbit/sourcebit
X Title: unable to resolve dependency tree · Issue #20 · stackbit/sourcebit
Description: Hi I tried to run npx create-sourcebit with the options: contentful, transform-assets, and next and get the following error: Error: Command failed: npm install sourcebit sourcebit-source-contentful sourcebit-transform-assets sourcebit-ta...
Open Graph Description: Hi I tried to run npx create-sourcebit with the options: contentful, transform-assets, and next and get the following error: Error: Command failed: npm install sourcebit sourcebit-source-contentful...
X Description: Hi I tried to run npx create-sourcebit with the options: contentful, transform-assets, and next and get the following error: Error: Command failed: npm install sourcebit sourcebit-source-contentful...
Opengraph URL: https://github.com/stackbit/sourcebit/issues/20
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"unable to resolve dependency tree","articleBody":"Hi I tried to run npx create-sourcebit with the options: contentful, transform-assets, and next and get the following error:\r\n\r\nError: Command failed: npm install sourcebit sourcebit-source-contentful sourcebit-transform-assets sourcebit-target-next --save\r\nnpm ERR! code ERESOLVE\r\nnpm ERR! ERESOLVE unable to resolve dependency tree\r\nnpm ERR! \r\nnpm ERR! While resolving: blog3@0.1.0\r\nnpm ERR! Found: next@10.1.3\r\nnpm ERR! node_modules/next\r\nnpm ERR! next@\"10.1.3\" from the root project\r\nnpm ERR! \r\nnpm ERR! Could not resolve dependency:\r\nnpm ERR! peer next@\"^9.3.0\" from sourcebit-target-next@0.5.2\r\nnpm ERR! node_modules/sourcebit-target-next\r\nnpm ERR! sourcebit-target-next@\"*\" from the root project\r\nnpm ERR! \r\nnpm ERR! Fix the upstream dependency conflict, or retry\r\nnpm ERR! this command with --force, or --legacy-peer-deps\r\nnpm ERR! to accept an incorrect (and potentially broken) dependency resolution.\r\nnpm ERR! \r\nnpm ERR! See /Users/andrewnjoo/.npm/eresolve-report.txt for a full report.\r\n\r\nnpm ERR! A complete log of this run can be found in:\r\nnpm ERR! /Users/andrewnjoo/.npm/_logs/2021-04-15T16_01_31_041Z-debug.log\r\n\r\n at ChildProcess.exithandler (child_process.js:308:12)\r\n at ChildProcess.emit (events.js:315:20)\r\n at maybeClose (internal/child_process.js:1048:16)\r\n at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) {\r\n killed: false,\r\n code: 1,\r\n signal: null,\r\n cmd: 'npm install sourcebit sourcebit-source-contentful sourcebit-transform-assets sourcebit-target-next --save'\r\n}\r\n(node:21239) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property 'errors' of '(intermediate value)' as it is undefined.\r\n at /Users/andrewnjoo/.npm/_npx/dd234b8c5ef95e98/node_modules/create-sourcebit/index.js:23:13\r\n at processTicksAndRejections (internal/process/task_queues.js:93:5)\r\n(Use `node --trace-warnings ...` to show where the warning was created)\r\n(node:21239) 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)\r\n(node:21239) [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.","author":{"url":"https://github.com/adnjoo","@type":"Person","name":"adnjoo"},"datePublished":"2021-04-15T16:04:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/20/sourcebit/issues/20"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:038c517b-aba8-e8e1-4560-e5ad9cec9471 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E636:1258FA:5B334A:74F967:69905922 |
| html-safe-nonce | a158bf8bd914400366a033ad4c4659c48f921add194ef2450220ef08ba7c3f69 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjM2OjEyNThGQTo1QjMzNEE6NzRGOTY3OjY5OTA1OTIyIiwidmlzaXRvcl9pZCI6IjI3MzMxMjQ5MjQ3MzQ0NjIyNDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c673ed09570dc85f4c0f0a852d8899bbd0d3a9336d2ec7856238f91ee40e439f |
| hovercard-subject-tag | issue:859029813 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stackbit/sourcebit/20/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f622a8f71dfd79f598b90bbd597f1ca465956670db13fa7f3deacbc0978f57df/stackbit/sourcebit/issues/20 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f622a8f71dfd79f598b90bbd597f1ca465956670db13fa7f3deacbc0978f57df/stackbit/sourcebit/issues/20 |
| og:image:alt | Hi I tried to run npx create-sourcebit with the options: contentful, transform-assets, and next and get the following error: Error: Command failed: npm install sourcebit sourcebit-source-contentful... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adnjoo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/stackbit/sourcebit git https://github.com/stackbit/sourcebit.git |
| octolytics-dimension-user_id | 38996451 |
| octolytics-dimension-user_login | stackbit |
| octolytics-dimension-repository_id | 232136536 |
| octolytics-dimension-repository_nwo | stackbit/sourcebit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 232136536 |
| octolytics-dimension-repository_network_root_nwo | stackbit/sourcebit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width