question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

3.108.0 build error

See original GitHub issue

What

“version”: “3.108.0”, run yarn build

  polyfill-library git:(master) ✗ yarn build
yarn run v1.22.11
$ npm run clean && node tasks/updatesources && node tasks/buildsources/buildsources

> polyfill-library@3.108.0 clean
> rimraf ./polyfills/__dist && node tasks/clean

Cleaning polyfills...
.......
WebAnimations: New polyfill
  from node_modules/web-animations-js/web-animations.min.js
Polyfills updated successfully
Writing compiled polyfill sources to /Users/chenyulun390/github/polyfill-library/polyfills/__dist/...
{
  name: 'Build error',
  message: 'Error while building: HTMLTemplateElement',
  error: {
    message: 'Error minifying HTMLTemplateElement',
    error: {
      message: "Unexpected character '`'",
      filename: 0,
      line: 326,
      col: 17,
      pos: 11150
    }
  }
}
{"name":"Build error","message":"Error while building: HTMLTemplateElement","error":{"message":"Error minifying HTMLTemplateElement","error":{"message":"Unexpected character '`'","filename":0,"line":326,"col":17,"pos":11150}}}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Details

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
romainmenkecommented, Sep 9, 2021

That also works 😃 npm ci is kinda the equivalent of deleting node_modules + npm install

0reactions
chenyuluncommented, Sep 9, 2021

Consider upgrading your compression tools? uglify-js does not support advanced syntax It would be nice if the environment could support Node16.(The latest versions of Apicache do not support Node16)

➜  polyfill-library git:(master) yarn
yarn install v1.22.10
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/5] 🔍  Validating package.json...
[2/5] 🔍  Resolving packages...
warning mocha > json3@3.3.2: Please use the native JSON object instead of JSON 3
warning mocha > mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
warning proclaim > util-inspect > json3@3.3.0: Please use the native JSON object instead of JSON 3
warning sinon@10.0.1: Breaking change found in this patch version
warning spdx-licenses > debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
[3/5] 🚚  Fetching packages...
error apicache@1.6.2: The engine "node" is incompatible with this module. Expected version ">=8 <=15". Got "16.4.2"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Tycho build error: “… requires bundle … but it could not be ...
The problem is that the repository at http://download.eclipse.org/releases/neon/ indeed does not contain org.eclipse.ui in version 3.108.1 ...
Read more >
Eclipse Community Forums: Newcomers » Configuration error
Iam an error shown below while opening the eclipse.can someone please ... Require-Bundle: org.eclipse.ui; bundle-version="[3.108.0,4.0.0)"
Read more >
Authentication error while Deploying MTA Archive
I have successfully finished the step "Build MTA Project". ... https://api.cf.us10.hana.ondemand.com API version: 3.108.0 Not logged in.
Read more >
[package - 131amd64-quarterly][java/eclipse] Failed for eclipse-4.24 ...
Please investigate the failure and submit a PR to fix build. ... s] [INFO] org.eclipse.swt.examples.ole.win32 3.108.0-SNAPSHOT SUCCESS [ 0.295 s] [INFO] ...
Read more >
3.91.0 - Cloud Controller API Reference
App Sub-Resources; Starting Apps; Asynchronous Operations; Errors; Filtering ... error, string, A string describing errors during the build process.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found