Skip to content

@rollup/plugin-typescript TS2307: Cannot find module 'framework7/lite' #4055

@kayazinc

Description

@kayazinc
  • Framework7 version: 7.0.5
  • Svelte version: 7.0.5
  • Platform and Target: desktop, nodejs, chrome

Describe the bug

I cannot reproduce using CodeSandbox. tbh i have no idea what is wrong since i have issue trying to import Framework7 module:

import Framework7 from 'framework7/lite' <--- does not work
import Framework7 from 'framework7' <--- it works

Please advise me, thanks.

Below are the error messages:

[0] rollup-plugin-svelte: The following packages did not export their package.json file so we could not check the svelte field. If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file.
[0] - framework7
[0] - framework7-svelte

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions