GithubHelp home page GithubHelp logo

jfinity / managed-attrs Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 4.12 MB

Utilities aiming to normalize and simplify state management (in React)

License: MIT License

JavaScript 98.06% HTML 1.60% CSS 0.34%

managed-attrs's People

Contributors

dependabot[bot] avatar jcmoore avatar jfinity avatar

Watchers

 avatar  avatar

Forkers

jcmoore

managed-attrs's Issues

Run script seems broken

Tried running the slides with both npm and yarn and have run into a few errors:

  1. Looks like @emotion/core, gatsby-theme-mdx-deck, and theme-ui are dependencies, but are not listed
  2. Even after adding them as dependencies (as well as gatsby), I'm still getting an error with gatsby-theme-mdx-deck

OS: MacOS 10.15.6
npm: 6.14.7
yarn: 1.22.4
node: 12.18.3

Thanks in advance for any suggestions about what I'm missing!

Logs related to Issue 1 above

 ERROR

[BABEL] Note: The code generator has deoptimised the styling of /Users/stephen.weiss/code/temp/managed-attrs/node_modules/mdx-deck/node_modules/react-dom/cjs/react-dom.development.js as it exceeds the max of 500KB.


 ERROR #98124  WEBPACK

Generating SSR bundle failed

Can't resolve '@emotion/core' in '/Users/stephen.weiss/code/temp/managed-attrs/docs/slides/controlled'

If you're trying to use a package make sure that '@emotion/core' is installed. If you're trying to use a local file make sure that the path is correct.

File: ../../docs/slides/controlled/widgets.js


 ERROR #98124  WEBPACK

Generating SSR bundle failed

Can't resolve '@emotion/core' in '/Users/stephen.weiss/code/temp/managed-attrs/node_modules/@mdx-deck/themes'

If you're trying to use a package make sure that '@emotion/core' is installed. If you're trying to use a local file make sure that the path is correct.

File: ../@mdx-deck/themes/syntax-highlighter.js


 ERROR #98124  WEBPACK

Generating SSR bundle failed

Can't resolve '@emotion/core' in '/Users/stephen.weiss/code/temp/managed-attrs/node_modules/@mdx-deck/themes'

If you're trying to use a package make sure that '@emotion/core' is installed. If you're trying to use a local file make sure that the path is correct.

File: ../@mdx-deck/themes/syntax-highlighter-prism.js


 ERROR #98124  WEBPACK

Generating SSR bundle failed

Can't resolve '@emotion/core' in '/Users/stephen.weiss/code/temp/managed-attrs/node_modules/@mdx-deck/themes'

If you're trying to use a package make sure that '@emotion/core' is installed. If you're trying to use a local file make sure that the path is correct.

File: ../@mdx-deck/themes/dots.js


 ERROR #98124  WEBPACK

Generating SSR bundle failed

Can't resolve '@emotion/core' in '/Users/stephen.weiss/code/temp/managed-attrs/node_modules/gatsby-plugin-mdx'

If you're trying to use a package make sure that '@emotion/core' is installed. If you're trying to use a local file make sure that the path is correct.

File: ../gatsby-plugin-mdx/wrap-root-element.js


 ERROR #98124  WEBPACK

Generating SSR bundle failed

Can't resolve 'gatsby-theme-mdx-deck' in '/Users/stephen.weiss/code/temp/managed-attrs/node_modules/@mdx-deck/themes'

If you're trying to use a package make sure that 'gatsby-theme-mdx-deck' is installed. If you're trying to use a local file make sure that the path is correct.

File: ../@mdx-deck/themes/dots.js


 ERROR #98124  WEBPACK

Generating SSR bundle failed

Can't resolve 'theme-ui' in '/Users/stephen.weiss/code/temp/managed-attrs/node_modules/@code-surfer/themes/dist'

If you're trying to use a package make sure that 'theme-ui' is installed. If you're trying to use a local file make sure that the path is correct.

File: ../@code-surfer/themes/dist/themes.esm.js


 ERROR #98124  WEBPACK

Generating SSR bundle failed

Can't resolve 'theme-ui' in '/Users/stephen.weiss/code/temp/managed-attrs/node_modules/@mdx-deck/themes'

If you're trying to use a package make sure that 'theme-ui' is installed. If you're trying to use a local file make sure that the path is correct.

File: ../@mdx-deck/themes/dots.js

Error: Command failed with exit code 1 (EPERM): gatsby develop --host localhost --port 8000 --open
    at makeError (/Users/stephen.weiss/code/temp/managed-attrs/node_modules/mdx-deck/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/Users/stephen.weiss/code/temp/managed-attrs/node_modules/mdx-deck/node_modules/execa/index.js:112:26)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
error Command failed with exit code 1.

Logs related to 2 above

yarn && yarn keyframe && yarn templit && yarn deck
yarn install v1.22.4
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] ๐Ÿ”  Resolving packages...
success Already up-to-date.
โœจ  Done in 0.82s.
yarn run v1.22.4
$ node docs/slides/code-keyframer.js docs/slides/controlled/keyframes/ ../snippets/
/Users/stephen.weiss/code/temp/managed-attrs/docs/slides/controlled/snippets/004-refactor/02-LineItem.js 8
/Users/stephen.weiss/code/temp/managed-attrs/docs/slides/controlled/snippets/003-compare/01-ValueInput.js 9
/Users/stephen.weiss/code/temp/managed-attrs/docs/slides/controlled/snippets/004-refactor/03-CodecField.js 18
/Users/stephen.weiss/code/temp/managed-attrs/docs/slides/controlled/snippets/002-structure/01-ValueInput.js 18
/Users/stephen.weiss/code/temp/managed-attrs/docs/slides/controlled/snippets/006-compose/03-ItemList.js 35
/Users/stephen.weiss/code/temp/managed-attrs/docs/slides/controlled/snippets/003-compare/02-BasicButton.js 44
/Users/stephen.weiss/code/temp/managed-attrs/docs/slides/controlled/snippets/003-compare/02-LineItem.js 49
/Users/stephen.weiss/code/temp/managed-attrs/docs/slides/controlled/snippets/004-refactor/02-BasicButton.js 56
/Users/stephen.weiss/code/temp/managed-attrs/docs/slides/controlled/snippets/005-conform/02-LineItem.js 56

done
โœจ  Done in 0.34s.
yarn run v1.22.4
$ node docs/slides/templit-filer.js docs/slides/controlled/
/Users/stephen.weiss/code/temp/managed-attrs/docs/slides/controlled/deck.mdx.templit.js

done
โœจ  Done in 0.18s.
yarn run v1.22.4
$ mdx-deck docs/slides/controlled/deck.mdx
info Deleting .cache, public, /Users/stephen.weiss/code/temp/managed-attrs/node_modules/mdx-deck/node_modules/.cache/babel-loader,
info Successfully deleted directories
Debugger listening on ws://127.0.0.1:9229/15f33a6c-7ffb-422b-bbd3-763b24eedf67
For help, see: https://nodejs.org/en/docs/inspector
success open and validate gatsby-configs - 0.074s
success load plugins - 1.582s
success onPreInit - 0.036s
success initialize cache - 0.008s
success copy gatsby files - 0.044s
success onPreBootstrap - 0.014s
success createSchemaCustomization - 0.008s
success Checking for changed pages - 0.002s
success source and transform nodes - 1.468s
success building schema - 0.224s
success createPages - 1.629s
success Checking for changed pages - 0.001s
success createPagesStatefully - 0.039s
success update schema - 0.024s
success write out redirect data - 0.002s
success onPostBootstrap - 0.002s
info bootstrap finished - 8.664s
success onPreExtractQueries - 0.001s
success extract queries from components - 0.181s
success write out requires - 0.024s
success run page queries - 0.030s - 3/3 100.07/s

 ERROR #98123  WEBPACK

Generating SSR bundle failed

Unexpected token (4:48)

File: ../gatsby-theme-mdx-deck/src/index.js:4:48

Error: Command failed with exit code 1 (EPERM): gatsby develop --host localhost --port 8000 --open
    at makeError (/Users/stephen.weiss/code/temp/managed-attrs/node_modules/mdx-deck/node_modules/execa/lib/error.js:59:11)
    at handlePromise (/Users/stephen.weiss/code/temp/managed-attrs/node_modules/mdx-deck/node_modules/execa/index.js:112:26)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

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.