Skip to content

got error "Uncaught Error: Cannot find module './geometry/GeometryData'"  #5

@hopezh

Description

@hopezh

I got the following error after using import { CityJSONLoader, CityJSONWorkerParser } from "cityjson-threejs-loader"; in script.js.

The module was installed via npm i cityjson-threejs-loader.

May I ask what the error means, and how to fix it?

Thanks.

Uncaught Error: Cannot find module './geometry/GeometryData'
    webpackMissingModule bundle.9478a3eba0cd7458.js:56419
    js bundle.9478a3eba0cd7458.js:56419
    Webpack 6
        __webpack_require__
        js
        __webpack_require__
        <anonymous>
        <anonymous>
        <anonymous>
[bundle.9478a3eba0cd7458.js:56419:50](http://192.168.50.92:8080/bundle.9478a3eba0cd7458.js)
    webpackMissingModule bundle.9478a3eba0cd7458.js:56419
    js bundle.9478a3eba0cd7458.js:56419
    Webpack 6
        __webpack_require__
        js
        __webpack_require__
        <anonymous>
        <anonymous>
        <anonymous>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions