Skip to content

Running into error: No template for dependency: ConstDependency #44

Answered by privatenumber
liuliangsir asked this question in Q&A
Discussion options

You must be logged in to vote

You're probably getting this error because when you npm link, requests from within webpack-localize-assets-plugin resolve its dependencies within its own node_modules ,which includes dev dependencies and a different version of Webpack from your application.

This is a debugging flaw in npm (link, specifically). Instead, try npm install <directory> to do a clean install of the local package without dev dependencies.

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by liuliangsir
Comment options

You must be logged in to vote
1 reply
@privatenumber
Comment options

Comment options

You must be logged in to vote
2 replies
@privatenumber
Comment options

@sebastianramirez-tributi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #43 on January 17, 2022 15:39.