pattern-lab / edition-node-gulp

ARCHIVED - The gulp wrapper around patternlab-node core, providing tasks to interact with the core library and move supporting frontend assets.
MIT License
279 stars 111 forks source link

no such file or directory, rename patternengine-node-underscore #123

Closed Isabellle closed 6 years ago

Isabellle commented 6 years ago

I am using Pattern Lab Node- Gulp latest 2.0.0-alpha.2 edition on Windows.

Expected Behavior

Npm to install all packages

Actual Behavior
npm ERR! path C:\Users\xx\Documents\xx\patternlab\node_modules\.staging\@pattern-lab\patternlab-node-3246eafa\node_modules\@pattern-lab\patternengine-node-underscore
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\xx\Documents\xx\patternlab\node_modules\.staging\@pattern-lab\patternlab-node-3246eafa\node_modules\@pattern-lab\patternengine-node-underscore' -> 'C:\Users\xx\Documents\xx\patternlab\node_modules\.staging\@pattern-lab\patternengine-node-underscore-810c51a0'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\xx\AppData\Roaming\npm-cache\_logs\2018-02-19T08_19_55_773Z-debug.log
Steps to Reproduce

npm install

elemk0vv commented 6 years ago

There we go:

git clone https://github.com/pattern-lab/edition-node-gulp.git cd edition-node-gulp rm -rf package-lock.json npm cache verify npm cache clear -- force [ npm install ] // useless, sorry

gulp patternlab:build gulp patternlab:serve

bmuenzenmeyer commented 6 years ago

@Isabellle thanks for the report and @elemk0vv thanks for the workaround

To me this is a symptom of a bad release - https://github.com/pattern-lab/edition-node-gulp/releases/tag/v2.0.0-alpha.3 should be cleaner

Isabellle commented 6 years ago

Thanks for your feedback @bmuenzenmeyer (and big thanks for this awesome initiative and for making workflows between teams much much better)