Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resolve 'module' #12

Open
AMerkuri opened this issue Jan 7, 2019 · 0 comments
Open

Can't resolve 'module' #12

AMerkuri opened this issue Jan 7, 2019 · 0 comments

Comments

@AMerkuri
Copy link

AMerkuri commented Jan 7, 2019

Getting following error when importing package:
const nodesecurity = require('@matthaywardwebdesign/node-security');

[0] ERROR in ./node_modules/@matthaywardwebdesign/node-security/dist/ModuleLoader.js
[0] Module not found: Error: Can't resolve 'module' in 'C:\Users\Dev\Source\Repos\TTM\app\node_modules\@matthaywardwebdesign\node-security\dist'
[0]  @ ./node_modules/@matthaywardwebdesign/node-security/dist/ModuleLoader.js 9:14-31
[0]  @ ./node_modules/@matthaywardwebdesign/node-security/dist/NodeSecurity.js
[0]  @ ./node_modules/@matthaywardwebdesign/node-security/dist/index.js
[0]  @ ./src/main.ts
[0]  @ multi (webpack)-dev-server/client?http://localhost:8080 (webpack)/hot/dev-server.js ./src/main.ts

Using Webpack 4, Vue 2, Typescript 3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant