apache / apache/age-viewer

start frontend error:BREAKING CHANGE: The request './nonIterableRest' failed to resolve only because it was resolved as fully specified

Open
#160 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
387
Forks
268
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
ERROR in ./node_modules/@uiw/react-codemirror/node_modules/@babel/runtime/helpers/esm/objectSpread2.js 1:0-46
Module not found: Error: Can't resolve './defineProperty' in 'D:\project\age\age-viewer\frontend\node_modules\@uiw\react-codemirror\node_modules\@babel\runtime\helpers\esm'
Did you mean 'defineProperty.js'?
BREAKING CHANGE: The request './defineProperty' 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/@uiw/react-codemirror/node_modules/@babel/runtime/helpers/esm/slicedToArray.js 1:0-46
Module not found: Error: Can't resolve './arrayWithHoles' in 'D:\project\age\age-viewer\frontend\node_modules\@uiw\react-codemirror\node_modules\@babel\runtime\helpers\esm'
Did you mean 'arrayWithHoles.js'?
BREAKING CHANGE: The request './arrayWithHoles' 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/@uiw/react-codemirror/node_modules/@babel/runtime/helpers/esm/slicedToArray.js 2:0-58
Module not found: Error: Can't resolve './iterableToArrayLimit' in 'D:\project\age\age-viewer\frontend\node_modules\@uiw\react-codemirror\node_modules\@babel\runtime\helpers\esm'
Did you mean 'iterableToArrayLimit.js'?
BREAKING CHANGE: The request './iterableToArrayLimit' 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/@uiw/react-codemirror/node_modules/@babel/runtime/helpers/esm/slicedToArray.js 3:0-70
Module not found: Error: Can't resolve './unsupportedIterableToArray' in 'D:\project\age\age-viewer\frontend\node_modules\@uiw\react-codemirror\node_modules\@babel\runtime\helpers\esm'
Did you mean 'unsupportedIterableToArray.js'?
BREAKING CHANGE: The request './unsupportedIterableToArray' 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/@uiw/react-codemirror/node_modules/@babel/runtime/helpers/esm/slicedToArray.js 4:0-48
Module not found: Error: Can't resolve './nonIterableRest' in 'D:\project\age\age-viewer\frontend\node_modules\@uiw\react-codemirror\node_modules\@babel\runtime\helpers\esm'
Did you mean 'nonIterableRest.js'?
BREAKING CHANGE: The request './nonIterableRest' 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 5 warnings

**Screenshots**
![image](https://github.com/apache/age-viewer/assets/123437240/99cb53aa-ae44-4d51-8831-8649f09157f1)

**Desktop (please complete the following information):**
- OS: Windows 10
- Browser:chrome
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.