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
{{ message }}
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.
I'm trying to use places.js with a project I've been updated. Unfortunatly, it doesn't work with my updated webpack config, and I get the "process is not defined" error.
Here are the details.
Code run that caused the issue - Console Output
_AlgoliaSearchCore.js:13 Uncaught ReferenceError: process is not defined
at Object../node_modules/algoliasearch/src/AlgoliaSearchCore.js (AlgoliaSearchCore.js:13)
at __webpack_require__ (bootstrap:21)
at fn (hot module replacement:61)
at Object../node_modules/algoliasearch/src/browser/builds/algoliasearchLite.js (algoliasearchLite.js:3)
at __webpack_require__ (bootstrap:21)
at fn (hot module replacement:61)
at Object../node_modules/places.js/src/places.js (places.js:10)
at __webpack_require__ (bootstrap:21)
at fn (hot module replacement:61)
at Object../node_modules/places.js/index.js_
Do you want to request a feature or report a bug?
BUG
What is the current behavior?
Webpack can't compile the project in DEV Mode.
**If the current behavior is a bug, please provide all the steps to reproduce and a minimal
The value you want is likely { "process.env": JSON.stringify({NODE_ENV: "production})} to avoid bundling the whole process package (which isn't needed). You can also use EnvironmentPlugin as I linked earlier.
In the mean time you have a solution though, and this issue can be closed!
Hola guys,
I know this bugs has been already raised with Angular but mine occured with Vanilla JavaScript.
I'm trying to use places.js with a project I've been updated. Unfortunatly, it doesn't work with my updated webpack config, and I get the "process is not defined" error.
Here are the details.
Do you want to request a feature or report a bug?
BUG
What is the current behavior?
Webpack can't compile the project in DEV Mode.
**If the current behavior is a bug, please provide all the steps to reproduce and a minimal
Do anyone have some idea or work-around ?
Thank you really much
The text was updated successfully, but these errors were encountered: