Skip to content

Module not found: Error: Can't resolve #8

Description

@benwallis

Not sure when this started but getting these errors:

ERROR in ./node_modules/getaddress-api/lib/Index.js 10:0-229
Module not found: Error: Can't resolve './Types' in 'node_modules\getaddress-api\lib'
Did you mean 'Types.js'?
BREAKING CHANGE: The request './Types' 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.
 @ ./node_modules/getaddress-autocomplete/lib/Index.js 3:0-36 26:23-29
 @ ./js/components/get-address-lookup/index.js 2:0-55 36:6-18 50:6-18
 @ ./js/routes/woocommerce-checkout.js 1:0-64 7:8-24
 @ ./js/index.js 14:0-64 26:2-21

ERROR in ./node_modules/getaddress-autocomplete/lib/Index.js 1:0-42
Module not found: Error: Can't resolve './Autocomplete' in 'node_modules\getaddress-autocomplete\lib'
Did you mean 'Autocomplete.js'?
BREAKING CHANGE: The request './Autocomplete' 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.
 @ ./js/components/get-address-lookup/index.js 2:0-55 36:6-18 50:6-18
 @ ./js/routes/woocommerce-checkout.js 1:0-64 7:8-24
 @ ./js/index.js 14:0-64 26:2-21

ERROR in ./node_modules/getaddress-autocomplete/lib/Index.js 2:0-36
Module not found: Error: Can't resolve './Options' in 'node_modules\getaddress-autocomplete\lib'
Did you mean 'Options.js'?
BREAKING CHANGE: The request './Options' 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.
 @ ./js/components/get-address-lookup/index.js 2:0-55 36:6-18 50:6-18
 @ ./js/routes/woocommerce-checkout.js 1:0-64 7:8-24
 @ ./js/index.js 14:0-64 26:2-21

ERROR in ./node_modules/getaddress-autocomplete/lib/Index.js 4:0-46
Module not found: Error: Can't resolve './OutputFields' in 'node_modules\getaddress-autocomplete\lib'
Did you mean 'OutputFields.js'?
BREAKING CHANGE: The request './OutputFields' 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.
 @ ./js/components/get-address-lookup/index.js 2:0-55 36:6-18 50:6-18
 @ ./js/routes/woocommerce-checkout.js 1:0-64 7:8-24
 @ ./js/index.js 14:0-64 26:2-21

ERROR in ./node_modules/getaddress-autocomplete/lib/Index.js 5:0-28
Module not found: Error: Can't resolve './Style' in 'node_modules\getaddress-autocomplete\lib'
Did you mean 'Style.js'?
BREAKING CHANGE: The request './Style' 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.
 @ ./js/components/get-address-lookup/index.js 2:0-55 36:6-18 50:6-18
 @ ./js/routes/woocommerce-checkout.js 1:0-64 7:8-24
 @ ./js/index.js 14:0-64 26:2-21

ERROR in ./node_modules/getaddress-autocomplete/lib/Index.js 6:0-48
Module not found: Error: Can't resolve './AttributeValues' in 'node_modules\getaddress-autocomplete\lib'
Did you mean 'AttributeValues.js'?
BREAKING CHANGE: The request './AttributeValues' 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.
 @ ./js/components/get-address-lookup/index.js 2:0-55 36:6-18 50:6-18
 @ ./js/routes/woocommerce-checkout.js 1:0-64 7:8-24
 @ ./js/index.js 14:0-64 26:2-21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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