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.

Error when adding to project.

See original GitHub issue

I get this error:

SyntaxError: Unexpected token )

/Users/....../node_modules/eslint-plugin-jest/rules/prefer_to_have_length.js:27
            );
            ^
SyntaxError: Unexpected token )
    at Object.exports.runInThisContext (vm.js:78:16)
    at Module._compile (module.js:545:28)
    at Object.Module._extensions..js (module.js:582:10)
    at Module.load (module.js:490:32)
    at tryModuleLoad (module.js:449:12)
    at Function.Module._load (module.js:441:3)
    at Module.require (module.js:500:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/..../node_modules/eslint-plugin-jest/index.js:6:28)
    at Module._compile (module.js:573:32)
Process finished with exit code -1

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
SimenBcommented, Nov 9, 2017

Oh, there’s a trailing comma, there! Sorry

1reaction
Ionut-Milascommented, Nov 9, 2017

@SimenB Works now. Thank you !!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error adding existing project to solution fails - MSDN - Microsoft
I have a 59 project solution in VS2010 sp1. When I attempt to add a specific / existing project to my solution, I...
Read more >
error when adding existing project in solution - Stack Overflow
In my solution I have currently 2 projects, and I want to add a third. This is the same as on my current...
Read more >
Error adding files to shared items project
The file is created on the disk, but not added to the project. I closed Visual Studio and reopened it again, but is...
Read more >
Error when trying to add a new Project task or move current ...
When in Project, if a new Project task is added or if tasks are moved, a generic error is seen: Unexpected error encountered....
Read more >
The member a does not exist in the Project dimension for the ...
When attempting to add a new project, get error: A method called by the script failed on line: 236, with error: The member...
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