Skip to content

Webpack cannot resolve module #403

Open
@stratdaz

Description

@stratdaz

After installing the module, Webpack is giving this error when I run "webpack --display-error-details" ...

ERROR in ./app/user/module.js
Module not found: Error: Cannot resolve module 'isteven-angular-multiselect' in F:\Development\Apps\Solutions\Necto\Necto.Webpack\app\user
resolve module isteven-angular-multiselect in F:\Development\Apps\Solutions\Necto\Necto.Webpack\app\user
looking for modules in F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules
resolve 'file' isteven-angular-multiselect in F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules
resolve file
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.webpack.js doesn't exist
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.js doesn't exist
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.web.js doesn't exist
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect is not a file
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.json doesn't exist
resolve 'file' or 'directory' F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect
resolve file
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect is not a file
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.webpack.js doesn't exist
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.web.js doesn't exist
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.js doesn't exist
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.json doesn't exist
resolve directory
directory default file index
resolve file index in F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect\index doesn't exist
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect\index.webpack.js doesn't exist
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect\index.web.js doesn't exist
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect\index.js doesn't exist
F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect\index.json doesn't exist
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.webpack.js]
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.js]
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.web.js]
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.webpack.js]
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.web.js]
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.js]
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.json]
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect.json]
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect\index]
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect\index.webpack.js]
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect\index.web.js]
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect\index.js]
[F:\Development\Apps\Solutions\Necto\Necto.Webpack\node_modules\isteven-angular-multiselect\index.json]
@ ./app/user/module.js 1:0-24:6

Seems like package.json is valid but Webpack is not looking there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions