This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 445
Error with WebPack: 7:18-43 the request of a dependency is an expression #116
Comments
Getting this as well. |
Embarrassing indeed … |
There doesn't seem to be a resolution to this, did any of you get it figured out? I've tried installing the request package, I've tried forcing webpack's |
myersjustinc
added a commit
to myersjustinc/nicar18-suggestions
that referenced
this issue
Feb 12, 2018
Tabletop is being loaded as a global since it [doesn't work properly][0] under webpack. [0]: jsoma/tabletop#116
I was getting errors from webpack when using within an Angular CLI project, so I forked the repo and removed all references to Node https://github.com/darrenmothersele/tabletop I haven't submitted a pull request, as I'm sure a better solution exists that maintains compatibility with Node, but without the build issues. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Receiving and error when trying to use this in a Webpack / React project. From this line
var request = require('request'.trim());
The error is:
WARNING in ./~/tabletop/src/tabletop.js Critical dependencies: 7:18-43 the request of a dependency is an expression @ ./~/tabletop/src/tabletop.js 7:18-43
The text was updated successfully, but these errors were encountered: