Skip to content

Instantly share code, notes, and snippets.

@ljmotta
Created December 21, 2021 14:57
Show Gist options
  • Save ljmotta/5de604d85676393c4ee936f09aaeb86c to your computer and use it in GitHub Desktop.
Save ljmotta/5de604d85676393c4ee936f09aaeb86c to your computer and use it in GitHub Desktop.
octokit error
Module not found: Error: Can't resolve '@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types' in '/home/lmotta/Documents/redhat/kogito-tooling/packages/online-editor/src/editor'
resolve '@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types' in '/home/lmotta/Documents/redhat/kogito-tooling/packages/online-editor/src/editor'
Parsed request is a module
using description file: /home/lmotta/Documents/redhat/kogito-tooling/packages/online-editor/package.json (relative path: ./src/editor)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
looking for modules in /home/lmotta/Documents/redhat/kogito-tooling/node_modules
existing directory /home/lmotta/Documents/redhat/kogito-tooling/node_modules/@octokit/plugin-rest-endpoint-methods
using description file: /home/lmotta/Documents/redhat/kogito-tooling/node_modules/@octokit/plugin-rest-endpoint-methods/package.json (relative path: .)
using description file: /home/lmotta/Documents/redhat/kogito-tooling/node_modules/@octokit/plugin-rest-endpoint-methods/package.json (relative path: ./dist-types/generated/parameters-and-response-types)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/lmotta/Documents/redhat/kogito-tooling/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/home/lmotta/Documents/redhat/kogito-tooling/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.tsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/lmotta/Documents/redhat/kogito-tooling/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/lmotta/Documents/redhat/kogito-tooling/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.js doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/home/lmotta/Documents/redhat/kogito-tooling/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types.jsx doesn't exist
as directory
/home/lmotta/Documents/redhat/kogito-tooling/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/parameters-and-response-types doesn't exist
looking for modules in /home/lmotta/Documents/redhat/kogito-tooling/packages/online-editor/node_modules
/home/lmotta/Documents/redhat/kogito-tooling/packages/online-editor/node_modules/@octokit/plugin-rest-endpoint-methods doesn't exist
looking for modules in /home/lmotta/Documents/redhat/kogito-tooling/packages/online-editor/src
/home/lmotta/Documents/redhat/kogito-tooling/packages/online-editor/src/@octokit/plugin-rest-endpoint-methods doesn't exist
@ ./src/editor/EditorPage.tsx 15:0-48 197:431-444
@ ./src/App.tsx 7:0-49 39:54-64
@ ./src/index.tsx 6:0-28 8:21-24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment