-
Notifications
You must be signed in to change notification settings - Fork 44
Description
Current development environment on my computer:
- MacOS 12.3.1
- Nodejs v12.9.0
- Npm v6.10.2
- Stencil-cli v4.0.0
When I execute the command stencil start and the website is opened, an error appears in the browser's console:
index.js:170 Uncaught ReferenceError: exports is not defined
at Module../node_modules/@bigcommerce/stencil-utils/node_modules/query-string/index.js (index.js:170:1)
at webpack_require (bootstrap:63:1)
at Module../node_modules/@bigcommerce/stencil-utils/src/lib/utils.js (utils.js:2:21)
at webpack_require (bootstrap:63:1)
at Module../node_modules/@bigcommerce/stencil-utils/src/api/product-attributes.js (theme-bundle.main.js:5951:68)
at webpack_require (bootstrap:63:1)
at Module../node_modules/@bigcommerce/stencil-utils/src/api.js (api.js:1:1)
at webpack_require (bootstrap:63:1)
at Module. (main.js:1:1)
at Module../node_modules/@bigcommerce/stencil-utils/src/main.js (theme-bundle.main.js:6918:30)
./node_modules/@bigcommerce/stencil-utils/node_modules/query-string/index.js @ index.js:170
webpack_require @ bootstrap:63
./node_modules/@bigcommerce/stencil-utils/src/lib/utils.js @ utils.js:2
webpack_require @ bootstrap:63
./node_modules/@bigcommerce/stencil-utils/src/api/product-attributes.js @ theme-bundle.main.js:5951
webpack_require @ bootstrap:63
./node_modules/@bigcommerce/stencil-utils/src/api.js @ api.js:1
webpack_require @ bootstrap:63
(anonymous) @ main.js:1
./node_modules/@bigcommerce/stencil-utils/src/main.js @ theme-bundle.main.js:6918
webpack_require @ bootstrap:63
(anonymous) @ theme-bundle.main.js:4540
./assets/js/theme/global/quick-search.js @ theme-bundle.main.js:4608
webpack_require @ bootstrap:63
(anonymous) @ theme-bundle.main.js:1872
./assets/js/theme/global.js @ theme-bundle.main.js:1944
webpack_require @ bootstrap:63
(anonymous) @ bootstrap:196
./assets/js/app.js @ theme-bundle.main.js:368
webpack_require @ bootstrap:63
(anonymous) @ bootstrap:196
(anonymous) @ bootstrap:196
(index):8186 Uncaught TypeError: window.stencilBootstrap is not a function
at (index):8186:20
(anonymous) @ (index):8186
Is anyone having the same problem as me? Please give me your advice and solution to fix this issue. I am very appreciative of that.