You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package is working fine when I was using babel-node to run it. But after bundling my project through webpack, I got this warning:
WARNING in ./node_modules/any-observable/register.js 15:14-37
Critical dependency: the request of a dependency is an expression
@ ./node_modules/any-observable/index.js
@ ./node_modules/@samverschueren/stream-to-observable/index.js
@ ./node_modules/listr/lib/task.js
@ ./node_modules/listr/index.js
@ ./src/index.js
Then after I ran the built bundle, with simple node dist/bundle.js, I got this error:
Error: Cannot find any-observable implementation nor global.Observable.
You must install polyfill or call require("any-observable/register") with your preferred implementation,
e.g. require("any-observable/register")('rxjs') on application load prior to any require("any-observable").
This package is working fine when I was using
babel-node
to run it. But after bundling my project through webpack, I got this warning:WARNING in ./node_modules/any-observable/register.js 15:14-37 Critical dependency: the request of a dependency is an expression @ ./node_modules/any-observable/index.js @ ./node_modules/@samverschueren/stream-to-observable/index.js @ ./node_modules/listr/lib/task.js @ ./node_modules/listr/index.js @ ./src/index.js
Then after I ran the built bundle, with simple
node dist/bundle.js
, I got this error:How can I get it running after webpack build?
Here is my
webpack.config.js
This is my
.babelrc
The text was updated successfully, but these errors were encountered: