FS#60610 - [eslint] Parsing error: acorn.Parser.extend is not a function

Attached to Project: Community Packages
Opened by surefire (surefire) - Saturday, 27 October 2018, 07:20 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 10 November 2018, 20:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
Systems package eslint v5.8.0 broken.
However, the instance is installed locally works as expected.

Additional info:
* package version(s) v5.8.0
* config and/or log files etc.

.eslintrc.js
```js
module.exports = {};
```

index.js
```js
'
```


Steps to reproduce:
=========================================
$ eslint --version
v5.8.0
$ eslint index,js

0:0 error Parsing error: acorn.Parser.extend is not a function

✖ 1 problem (1 error, 0 warnings)

========================================

$ node_modules/.bin/eslint --version
v5.8.0
$ node_modules/.bin/eslint index.js

1:1 error Parsing error: Unterminated string constant

✖ 1 problem (1 error, 0 warnings)
===========================================
This task depends upon

Closed by  Felix Yan (felixonmars)
Saturday, 10 November 2018, 20:55 GMT
Reason for closing:  Fixed
Comment by surefire (surefire) - Saturday, 10 November 2018, 19:33 GMT
I tried to update PKGBUILD of acorn package and rebuild.
It seems to have worked.
I flagged acorn as out-of-date in the repository.
Comment by Felix Yan (felixonmars) - Saturday, 10 November 2018, 20:54 GMT
Thanks. I have updated acorn.

Loading...