Skip to content

Installing plugin with npm (missing modules errors) #48

Closed
@tiagogm

Description

@tiagogm

Hi, I just pulled a fresh skeleton from the aurelia navigation skeleton (es6+webpack)
I tried installing the plugin but webpack is throwing missing module errors.

All I did was npm install aurelia-ui-virtualization --save

I have not included the plugin yet, I've only installed the package.
After this, if you I npm run dev I get this:

ERROR in ./~/aurelia-ui-virtualization/dist/commonjs/utilities.js
Module not found: Error: Cannot resolve module 'aurelia-templating-resources/repeat-utilities' in /Users/tiagomorais/Development/aurelia/skeleton-es2016-webpack/node_modules/aurelia-ui-virtualization/dist/commonjs
 @ ./~/aurelia-ui-virtualization/dist/commonjs/utilities.js 14:23-79

ERROR in ./~/aurelia-ui-virtualization/dist/commonjs/array-virtual-repeat-strategy.js
Module not found: Error: Cannot resolve module 'aurelia-templating-resources/repeat-utilities' in /Users/tiagomorais/Development/aurelia/skeleton-es2016-webpack/node_modules/aurelia-ui-virtualization/dist/commonjs
 @ ./~/aurelia-ui-virtualization/dist/commonjs/array-virtual-repeat-strategy.js 10:23-79

ERROR in ./~/aurelia-ui-virtualization/dist/commonjs/virtual-repeat.js
Module not found: Error: Cannot resolve module 'aurelia-templating-resources/repeat-utilities' in /Users/tiagomorais/Development/aurelia/skeleton-es2016-webpack/node_modules/aurelia-ui-virtualization/dist/commonjs
 @ ./~/aurelia-ui-virtualization/dist/commonjs/virtual-repeat.js 18:23-79

ERROR in ./~/aurelia-ui-virtualization/dist/commonjs/array-virtual-repeat-strategy.js
Module not found: Error: Cannot resolve module 'aurelia-templating-resources/array-repeat-strategy' in /Users/tiagomorais/Development/aurelia/skeleton-es2016-webpack/node_modules/aurelia-ui-virtualization/dist/commonjs
 @ ./~/aurelia-ui-virtualization/dist/commonjs/array-virtual-repeat-strategy.js 8:27-88

ERROR in ./~/aurelia-ui-virtualization/dist/commonjs/virtual-repeat.js
Module not found: Error: Cannot resolve module 'aurelia-templating-resources/analyze-view-factory' in /Users/tiagomorais/Development/aurelia/skeleton-es2016-webpack/node_modules/aurelia-ui-virtualization/dist/commonjs
 @ ./~/aurelia-ui-virtualization/dist/commonjs/virtual-repeat.js 20:26-86

ERROR in ./~/aurelia-ui-virtualization/dist/commonjs/virtual-repeat-strategy-locator.js
Module not found: Error: Cannot resolve module 'aurelia-templating-resources/repeat-strategy-locator' in /Users/tiagomorais/Development/aurelia/skeleton-es2016-webpack/node_modules/aurelia-ui-virtualization/dist/commonjs
 @ ./~/aurelia-ui-virtualization/dist/commonjs/virtual-repeat-strategy-locator.js 8:29-92

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions