todomvc icon indicating copy to clipboard operation
todomvc copied to clipboard

Cannot install - ENOENT: node_modules/vulcanize/dom-serializer@git:/github.com/azakus/dom-serializer.git#0d41a71761704338bece9d1af6b9c4f18cf571e6/package.json

Open Domiii opened this issue 4 years ago • 3 comments

Looks like latest npm is unhappy...

  1. either with cheerio's internally used dom-serializer
  2. or maybe it's supposed to be part of gulp-vulcanize which is one of your dev-dependencies (and also long been deprecated)?

Steps

  1. Did a fresh git clone
  2. cd todomvc
  3. npm install

Log

Install fails with this error (copied from NPM install log file):

21 verbose stack Error: ENOENT: no such file or directory, open '/Users/myuser/code/myproject/projects/todomvc/node_modules/vulcanize/dom-serializer@git:/github.com/azakus/dom-serializer.git#0d41a71761704338bece9d1af6b9c4f18cf571e6/package.json' 22 verbose cwd /Users/myuser/code/myproject/projects/todomvc 23 verbose Darwin 18.7.0 24 verbose argv "/Users/myuser/.nvm/versions/node/v13.2.0/bin/node" "/Users/myuser/.nvm/versions/node/v13.2.0/bin/npm" "install" 25 verbose node v13.2.0 26 verbose npm v6.13.1 27 error code ENOLOCAL 28 error Could not install from "node_modules/vulcanize/dom-serializer@git:/github.com/azakus/dom-serializer.git#0d41a71761704338bece9d1af6b9c4f18cf571e6" as it does not contain a package.json file. 29 verbose exit [ 1, true ]

Domiii avatar Dec 21 '19 09:12 Domiii

I had the same issue. building with yarn instead got around it.

My npm version is 6.12.1

gregmalcolm avatar Jan 09 '20 15:01 gregmalcolm

Same here:

C:\Users\lloy0\Documents\Programming\Personal\WebStorm\todomvc>npm info

[email protected] | Proprietary | deps: 1 | versions: 2

Helping you select an MV* framework

dist .tarball: https://registry.npmjs.org/todomvc/-/todomvc-0.1.1.tgz .shasum: df27b3d3025df676facc5540cdbc342e1c9d9660

NPM version 6.14.

Yarn fails for a different reason.

lloy0076 avatar Apr 20 '20 22:04 lloy0076

Delete package-lock.json and try it again.

rachel-kwak avatar May 21 '21 08:05 rachel-kwak