npm jspdf报错
137073 warn optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.2 (node_modules\chokidar\node_modules\fsevents):
137074 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
137075 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin
137075 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any
137075 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: win32
137075 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x64
137076 verbose stack Error: canvas@1.6.13 install: `node-gyp rebuild`
137076 verbose stack Exit status 1
137076 verbose stack at EventEmitter.<anonymous> (D:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:255:16)
137076 verbose stack at emitTwo (events.js:106:13)
137076 verbose stack at EventEmitter.emit (events.js:191:7)
137076 verbose stack at ChildProcess.<anonymous> (D:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
137076 verbose stack at emitTwo (events.js:106:13)
137076 verbose stack at ChildProcess.emit (events.js:191:7)
137076 verbose stack at maybeClose (internal/child_process.js:920:16)
137076 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
137077 verbose pkgid canvas@1.6.13
137078 verbose cwd E:\wamp64\www\edu-ue\稳定版\实训南网-稳定标准版\backend
137079 error Windows_NT 6.1.7601
137080 error argv "D:\\Program Files\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
137081 error node v6.11.3
137082 error npm v3.10.10
137083 error code ELIFECYCLE
137084 error canvas@1.6.13 install: `node-gyp rebuild`
137084 error Exit status 1
137085 error Failed at the canvas@1.6.13 install script 'node-gyp rebuild'.
137085 error Make sure you have the latest version of node.js and npm installed.
137085 error If you do, this is most likely a problem with the canvas package,
137085 error not with npm itself.
137085 error Tell the author that this fails on your system:
137085 error node-gyp rebuild
137085 error You can get information on how to open an issue for this project with:
137085 error npm bugs canvas
137085 error Or if that isn't available, you can get their info via:
137085 error npm owner ls canvas
137085 error There is likely additional logging output above.
或者提示让你安装jspdf
解决办法:
首先安装python
npm yarn -g
如果上面那条运行不了则试下这条 npm install -g yarn
yarn install
cnpm install
npm run dev
参考文档路径,但是没用他的第二个错误
npm jspdf报错的更多相关文章
- 执行npm install报错:npm ERR! code EINTEGRITY
命令行执行npm install报错如下: D:\frontend\viewsdev>npm install npm ERR! code EINTEGRITY npm ERR! sha512-8 ...
- npm install 报错:node-pre-gyp ERR! 问题解决
npm install报错问题解决 问题: E:\CodeSpace\GitlabTest\desktop>npm install > lifeccp-desktop@1.1.9 post ...
- vuejs npm chromedriver 报错
vuejs npm chromedriver 报错 # 全局安装 vue-cli$ npm install -g vue-cli# 创建一个基于 "webpack" 模板的新项 ...
- npm install 报错 error Unexpected end of JSON input while parsing near '...sShrinkwrap":false,"d' 解决办法
npm install 报错 : error Unexpected end of JSON input while parsing near '...sShrinkwrap":false,& ...
- 执行命令npm publish报错:403 Forbidden - PUT https://registry.npmjs.org/kunmomotest2 - You cannot publish over the previously published versions: 0.0.1.
前言 执行命令npm publish报错:403 Forbidden - PUT https://registry.npmjs.org/kunmomotest2 - You cannot publis ...
- 执行npm publish 报错:403 Forbidden - PUT https://registry.npmjs.org/kunmomotest - you must verify your email before publishing a new package: https://www.npmjs.com/email-edit
前言 执行npm publish 报错:403 Forbidden - PUT https://registry.npmjs.org/kunmomotest - you must verify you ...
- 执行npm publish 报错:401 Unauthorized - PUT https://registry.npmjs.org/kunmomotest - You must be logged in to publish packages.
前言 执行npm publish 报错:401 Unauthorized - PUT https://registry.npmjs.org/kunmomotest - You must be logg ...
- npm启动报错
npm 启动报错 event.js 160 报错原因: 端口号被占用 解决方法: 1.重新定义一个端口号. 2.任务管理器关掉node进程,重新运行npm.
- npm -v 报错:Error: EPERM: operation not permitted, mkdir 'C:\soft\nodejs'
npm -v 报错:Error: EPERM: operation not permitted, mkdir 'C:\soft\nodejs' 起因:原本安装node在C盘soft文件夹下,按node ...
随机推荐
- Mysql 导入导出表结构与数据
1.导出整个数据库 mysqldump -u用户名 -p密码 数据库名 > 导出的文件名 C:\Users\jack> mysqldump -uroot -pmysql account ...
- IPC rtsp转发服务器搭建
sudo apt-get install libmoose-perl liburi-perl libmoosex-getopt-perl libsocket6-perl libanyevent-per ...
- ProcessingElement.h
processing element模块 #ifndef __NOXIMPROCESSINGELEMENT_H__ #define __NOXIMPROCESSINGELEMENT_H__ #incl ...
- windows 10 安装可视化mycat
前提: 1.安装配置好JDK环境 2.安装配置好mysql 3.安装配置好Navicat 一.下载mycat git:https://github.com/MyCATApache/Mycat-down ...
- Python3学习(1)——初步了解
Python是解析性语言,Python解释器将源程序解释并执行. 基本语法 print() --打印字符串 -直接打印 print("hello world") 结果: hel ...
- Linux运行模式
查看运行模式 cat /etc/inittab 0.表示关机模式,不要把默认模式设置成0 1.表示单用户模式 2.表示多用户模式 3.表示命令行模式 4.表示暂未被使用的模式,以后有可能会被使用 5. ...
- python3安装scrapy--记录
1.pip install wheel 2.url=http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml 搜索 下载对应的twiset和scrapy版本到本地 ...
- Unity3D在移动平台下加载AssetBundle导致Shader效果不正确的问题
这个问题,主要还是在移动平台下开发导致的. 在编辑器里调试加载AB时会导致Shader效果不正确的原因,主要还是编辑器下加载以IOS或是ANDROID平台打包的AB它所使用的shader已经编译成对应 ...
- jquery跨域方法
$.ajax({ type: 'get', dataType: "jsonp",//支持跨域 jsonp: "callback", jsonpCallback: ...
- Python OR & AND
These are the Boolean operations, ordered by ascending priority: Operation Result Notes x or y if x ...