polymer - Origami 使用 Polymer v3.3.1 准备命令抛出错误
问题描述
Polymer大约一周前发布了v3.3.1 ,并且Origami prepare 命令在最新版本的 Polymer 中引发错误。请在下面找到错误消息。
Origami: Error: ENOENT: no such file or directory, scandir '/Users/nagarajh/repos/bitbucket/angular7-polymer3/node_modules/@polymer/polymer/_origami-es5'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! angular7-polymer3@0.0.0 prepare:es5: `origami prepare es5 node_modules/{nd-ui-components/,paper-collapse-item/,paper-range-slider/,@polymer/*,@vaadin/*,@webcomponents/shadycss}`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular7-polymer3@0.0.0 prepare:es5 script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/nagarajh/.npm/_logs/2019-11-15T06_19_23_238Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! angular7-polymer3@0.0.0 start: `npm run prepare:es5 && ng serve angular7-polymer3 --host 0.0.0.0`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular7-polymer3@0.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/nagarajh/.npm/_logs/2019-11-15T06_19_23_257Z-debug.log
解决方案
Origami 发布了 v3.1.2 修复了这个问题https://github.com/hotforfeature/origami/releases/tag/v3.1.2
推荐阅读
- pdf - PDF 到 Postscript 的转换如何工作?
- html - 为什么 localstorage 必须是字符串?
- javascript - textarea中的HTML代码,弹出结果预览的按钮
- javascript - react-navigation navigationOptions 如何设置功能?
- python - 使用基于多个百分位条件的数据在熊猫中创建新列
- go - 单例实例不断在 Go 中创建新实例
- css - 如何根据子级高度调整固定高度的父级 div?
- matlab - 如何在 Matlab 中使用带有棋盘图像的相机校准来获得以毫米为单位的像素大小?
- jekyll - Jekyll 站点帖子和液体命令连接错误
- socket.io - 套接字 io CORS 被阻止