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
No other files except for index.html (see below). Running parcel by npm start.
馃 Expected Behavior
I should see a page in my browser.
馃槸 Current Behavior
Server fails with error message:
Server running at http://localhost:1234
馃毃 /path_to_my_repo/node_modules/parcel-bundler/src/builtins/css-loader.js: api.caller is not a function
at /path_to_my_repo/node_modules/@babel/preset-env/lib/index.js:237:35
at Object.default (/path_to_my_repo/node_modules/@babel/helper-plugin-utils/lib/index.js:19:12)
at getEnvPlugins (/path_to_my_repo/node_modules/parcel-bundler/src/transforms/babel/env.js:62:34)
at getEnvConfig (/path_to_my_repo/node_modules/parcel-bundler/src/transforms/babel/env.js:12:25)
at async getBabelConfig (/path_to_my_repo/node_modules/parcel-bundler/src/transforms/babel/config.js:32:19)
at async babelTransform (/path_to_my_repo/node_modules/parcel-bundler/src/transforms/babel/transform.js:6:16)
at async JSAsset.pretransform (/path_to_my_repo/node_modules/parcel-bundler/src/assets/JSAsset.js:83:5)
at async JSAsset.process (/path_to_my_repo/node_modules/parcel-bundler/src/Asset.js:214:7)
at async Pipeline.processAsset (/path_to_my_repo/node_modules/parcel-bundler/src/Pipeline.js:46:7)
at async Pipeline.process (/path_to_my_repo/node_modules/parcel-bundler/src/Pipeline.js:24:23)
馃悰 bug report
parcel v1.12.4 fails with "api.caller is not a function" when bundling an HTML file with a
<style>
tag.馃帥 Configuration (.babelrc, package.json, cli command)
package.json:
No other files except for index.html (see below). Running parcel by
npm start
.馃 Expected Behavior
I should see a page in my browser.
馃槸 Current Behavior
Server fails with error message:
馃拋 Possible Solution
Removing the
<style>
tag fixes the problem.馃捇 Code Sample
index.html:
馃實 Your Environment
The text was updated successfully, but these errors were encountered: