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.

npm ERR! Invalid name: "@gulp-sourcemaps/map-sources"

See original GitHub issue

I am getting invalid name error when i run below command to install gulp-sourcemap. Command:-

 $  npm install gulp-sourcemaps --save
screen shot 2017-04-03 at 2 03 43 pm

For more information, I have mentioned below npm and & node version installed on the mac.

software version
node 6.10.1
npm 3.10.10

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Sarajendrancommented, Apr 3, 2017

I have mentioned below package.json using in the application

{
  "name": "core",
  "version": "0.0.2",
  "description": "Core Library (Typescript Version) for mobile application",
  "author": "MA",
  "main": "./src/index.ts",
  "license": "MIT",
  "repository": "",
  "publishConfig": {
    "registry": ""
  },
  "keywords": [
    "core"
  ],
  "scripts": {
    "gulp": "gulp",
    "start": "npm install && gulp build-package",
    "karmatest": "karma start karma.conf.js",
    "package": "npm install && gulp npm-package"
  },
  "dependencies": {
    "rxjs": "5.0.0-beta.6",
    "zone.js": "^0.6.12",
    "es6-promise": "^4.0.5",
    "es6-shim": "^0.35.1",
    "reflect-metadata": "^0.1.8"
  },
  "devDependencies": {
    "browserify": "^13.1.1",
    "del": "^2.2.1",
    "gulp": "^3.9.1",
    "gulp-load-plugins": "^1.2.4",
    "gulp-rename": "^1.2.2",
    "gulp-sass": "^2.3.2",
    "gulp-sourcemaps": "^1.6.0",
    "gulp-tslint": "5.0.0",
    "gulp-typedoc": "^2.0.0",
    "gulp-typescript": "2.13.0",
    "gulp-uglify": "^2.0.0",
    "gulp-util": "^3.0.7",
    "gulp-watch": "^4.3.10",
    "jasmine-core": "2.4.1",
    "karma": "1.2.0",
    "karma-chrome-launcher": "^0.2.3",
    "karma-coverage": "^1.1.0",
    "karma-htmlfile-reporter": "^0.2.2",
    "karma-jasmine": "^0.3.8",
    "karma-junit-reporter": "1.1.0",
    "karma-phantomjs-launcher": "1.0.1",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-verbose-reporter": "^0.0.3",
    "merge2": "1.0.2",
    "phantomjs-polyfill": "0.0.2",
    "remap-istanbul": "^0.6.4",
    "require-dir": "0.3.0",
    "run-sequence": "1.2.2",
    "shelljs": "0.7.3",
    "systemjs": "^0.19.39",
    "tsify": "^2.0.2",
    "tslint": "^3.15.1",
    "typedoc": "0.5.0",
    "typescript": "2.0.2",
    "typings": "^1.3.2",
    "vinyl-buffer": "^1.0.0",
    "vinyl-source-stream": "^1.1.0"
  }
}

0reactions
phatedcommented, Apr 4, 2017

@Sarajendran I know your problem and this is a duplicate. I’m sorry you don’t understand semver but this is not a place for me to teach it to you. Locking this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm ERR! Invalid name: "Hello World" · Issue #6860 - GitHub
Thank you very much, but i got a new problem. $ npm install exec-sync npm WARN package.json Comparator@0.0.1 No description npm WARN package....
Read more >
npm init error: Invalid name: "donn&jul" - Stack Overflow
From the official NPM reference: The name ends up being part of a URL, an argument on the command line, and a folder...
Read more >
[Resolved] npm ERR! Invalid name In Terminal - YouTube
In this video, we'll show you how to resolve the npm ERR ! Invalid name error. This is a common error that can...
Read more >
Common errors | npm Docs
If the error persists, perhaps the published package is corrupt. Contact the package owner and have them publish a new version of the...
Read more >
npm WARN Invalid name: | Tips &Tricks
Have you received below error while doing npm install? npm install npm notice created a lockfile as package-lock.json.
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