todomvc
todomvc copied to clipboard
Cannot install - ENOENT: node_modules/vulcanize/dom-serializer@git:/github.com/azakus/dom-serializer.git#0d41a71761704338bece9d1af6b9c4f18cf571e6/package.json
Looks like latest npm
is unhappy...
- either with
cheerio
's internally useddom-serializer
- or maybe it's supposed to be part of
gulp-vulcanize
which is one of yourdev-dependencies
(and also long been deprecated)?
Steps
- Did a fresh
git clone
-
cd todomvc
-
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 ]
I had the same issue. building with yarn
instead got around it.
My npm version is 6.12.1
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.
Delete package-lock.json
and try it again.