mgechev / mgechev/angular-seed

SyntaxError: Invalid or unexpected token in node modules

Open
#2,338 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.5k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

1. tried removing node modules
2. tried cleaning the cache
3. tried installing again
Every time trying to run through npm or yarn i am getting this syntax error.
Sometimes it is unexpected number error, Invalid or unexpected token : and ,
![error](https://user-images.githubusercontent.com/18033749/45723380-9d09cb80-bb76-11e8-9b6e-274c3d80613e.PNG)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the install or run command through npm or yarn and inspect the attached error screenshot alongside the reported syntax errors. Identify the dependency or environment involved; the issue is resolved when the project installs and runs without the unexpected token or number errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, node.js, typescript
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.