You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR in ./src/components/DocumentViewer/index.js 14:21-39
export 'DocViewerRenderers' (imported as 'DocViewerRenderers') was not found in '@cyntler/react-doc-viewer' (possible exports: default)
ERROR in ./node_modules/@cyntler/react-doc-viewer/dist/esm/index.js 1:0-36
Module not found: Error: Can't resolve './DocViewer' in 'D:\learning\test\node_modules@cyntler\react-doc-viewer\dist\esm'
Did you mean 'DocViewer.js'?
BREAKING CHANGE: The request './DocViewer' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
ERROR in ./node_modules/@cyntler/react-doc-viewer/dist/esm/index.js 3:0-49
Module not found: Error: Can't resolve './renderers' in 'D:\learning\test\node_modules@cyntler\react-doc-viewer\dist\esm'
Did you mean 'index.js'?
BREAKING CHANGE: The request './renderers' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
ERROR in ./node_modules/@cyntler/react-doc-viewer/dist/esm/index.js 4:0-25
Module not found: Error: Can't resolve './models' in 'D:\learning\test\node_modules@cyntler\react-doc-viewer\dist\esm'
Did you mean 'models.js'?
BREAKING CHANGE: The request './models' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
ERROR in ./node_modules/@cyntler/react-doc-viewer/dist/esm/index.js 5:0-36
Module not found: Error: Can't resolve './utils/fileLoaders' in 'D:\learning\test\node_modules@cyntler\react-doc-viewer\dist\esm'
Did you mean 'fileLoaders.js'?
BREAKING CHANGE: The request './utils/fileLoaders' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
webpack compiled with 5 errors and 1 warning
The text was updated successfully, but these errors were encountered:
mehranjillani786
changed the title
Issue ins upgradation
I encountered an installation issue when I attempted to install the package.
Jun 5, 2024
ERROR in ./src/components/DocumentViewer/index.js 14:21-39
export 'DocViewerRenderers' (imported as 'DocViewerRenderers') was not found in '@cyntler/react-doc-viewer' (possible exports: default)
ERROR in ./node_modules/@cyntler/react-doc-viewer/dist/esm/index.js 1:0-36
Module not found: Error: Can't resolve './DocViewer' in 'D:\learning\test\node_modules@cyntler\react-doc-viewer\dist\esm'
Did you mean 'DocViewer.js'?
BREAKING CHANGE: The request './DocViewer' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
ERROR in ./node_modules/@cyntler/react-doc-viewer/dist/esm/index.js 3:0-49
Module not found: Error: Can't resolve './renderers' in 'D:\learning\test\node_modules@cyntler\react-doc-viewer\dist\esm'
Did you mean 'index.js'?
BREAKING CHANGE: The request './renderers' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
ERROR in ./node_modules/@cyntler/react-doc-viewer/dist/esm/index.js 4:0-25
Module not found: Error: Can't resolve './models' in 'D:\learning\test\node_modules@cyntler\react-doc-viewer\dist\esm'
Did you mean 'models.js'?
BREAKING CHANGE: The request './models' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
ERROR in ./node_modules/@cyntler/react-doc-viewer/dist/esm/index.js 5:0-36
Module not found: Error: Can't resolve './utils/fileLoaders' in 'D:\learning\test\node_modules@cyntler\react-doc-viewer\dist\esm'
Did you mean 'fileLoaders.js'?
BREAKING CHANGE: The request './utils/fileLoaders' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
webpack compiled with 5 errors and 1 warning
The text was updated successfully, but these errors were encountered: