Skip to content
This repository has been archived by the owner on Apr 18, 2020. It is now read-only.

Critical dependency: the request of a dependency is an expression #38

Open
chris-gunawardena opened this issue Mar 28, 2020 · 1 comment

Comments

@chris-gunawardena
Copy link

chris-gunawardena commented Mar 28, 2020

Compiled with warnings.

./node_modules/@linways/table-to-excel/dist/tableToExcel.js
Critical dependency: the request of a dependency is an expression

I get the above warning when including as import TableToExcel from "@linways/table-to-excel", I'm using this in react with create-react-app.

I have also tried const TableToExcel = require("@linways/table-to-excel"); and import TableToExcel from "@linways/table-to-excel/dist/tableToExcel"; but get the same error.

@ndianabasi
Copy link

I'm having same error.
Node v13.9.0

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

No branches or pull requests

2 participants