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

Yarn problem with WebpackEncore #179

Open
davidromani opened this issue Oct 26, 2022 · 0 comments
Open

Yarn problem with WebpackEncore #179

davidromani opened this issue Oct 26, 2022 · 0 comments

Comments

@davidromani
Copy link

After add and install this requirement "universal-analytics": "^0.5.3", with Yarn, into my package.json file, when I try to complie it shows this error:

% yarn dev  
yarn run v1.22.19
$ encore dev
Running webpack ...

 ERROR  Failed to compile with 4 errors

Module build failed: Module not found:
"./node_modules/universal-analytics/lib/index.js" contains a reference to the file "querystring".
This file can not be found, please check it for typos or update it if the file got moved.

"./node_modules/universal-analytics/lib/index.js" contains a reference to the file "url".
This file can not be found, please check it for typos or update it if the file got moved.

"./node_modules/universal-analytics/lib/request.js" contains a reference to the file "http".
This file can not be found, please check it for typos or update it if the file got moved.

"./node_modules/universal-analytics/lib/request.js" contains a reference to the file "https".
This file can not be found, please check it for typos or update it if the file got moved.

webpack compiled with 5 errors
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any hint, please? Thanks.

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