Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[labs/motion] ENOENT node_modules/@lit-labs/motion/flip-controller.js #1796

Closed
1 of 6 tasks
CICCIOSGAMINO opened this issue Apr 22, 2021 · 1 comment · Fixed by #1799
Closed
1 of 6 tasks

[labs/motion] ENOENT node_modules/@lit-labs/motion/flip-controller.js #1796

CICCIOSGAMINO opened this issue Apr 22, 2021 · 1 comment · Fixed by #1799
Assignees

Comments

@CICCIOSGAMINO
Copy link

Description

I'm just try to use the motion flip directive, i'm using the latest version of @web/dev-server but seems missing the file flip-controller.js following the error i get from server:

Error while handling server request.
[Error: ENOENT: no such file or directory, stat '/home/c-k/Web/LIT/@lit-labs/node_modules/@lit-labs/motion/flip-controller.js'] {
errno: -2,
code: 'ENOENT',
syscall: 'stat',
path: '/home/c-k/Web/LIT/@lit-labs/node_modules/@lit-labs/motion/flip-controller.js',
expose: true,
statusCode: 404,
status: 404
}

Steps to Reproduce

  1. Write this code
// works
import { classMap } from 'lit/directives/class-map.js'
// raise error
import { flip } from '@lit-labs/motion'

Browsers Affected

  • Chrome
  • Firefox
  • Edge
  • Safari 11
  • Safari 10
  • IE 11
@sorvell
Copy link
Member

sorvell commented Apr 22, 2021

Thanks, this was an oversight. We'll fix it asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants