当前位置:网站首页>Solve NPM compilation times node_ modules/optipng-bin/vendor/optipng ENOENT
Solve NPM compilation times node_ modules/optipng-bin/vendor/optipng ENOENT
2022-06-12 20:01:00 【kainx】
The phenomenon
perform npm run build times node_modules/optipng-bin/vendor/optipng ENOENT This mistake
The log is as follows
15:02:26 events.js:183
15:02:26 throw er; // Unhandled 'error' event
15:02:26 ^
15:02:26 Error: spawn node_modules/[email protected]@optipng-bin/vendor/optipng ENOENT
15:02:26 at _errnoException (util.js:1024:11)
15:02:26 at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
15:02:26 at onErrorNT (internal/child_process.js:372:16)
15:02:26 at _combinedTickCallback (internal/process/next_tick.js:138:11)
15:02:26 at process._tickCallback (internal/process/next_tick.js:180:9)
15:02:26 npm ERR! code ELIFECYCLE
15:02:26 npm ERR! errno 1
15:02:26 npm ERR! [email protected] build: `export NODE_ENV=production && webpack --display-error-details --config webpack.config.js && gulp check-code && gulp build`
15:02:26 npm ERR! Exit status 1
15:02:26 npm ERR!
15:02:26 npm ERR! Failed at the [email protected] build script.
15:02:26 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
15:02:26
15:02:26 npm ERR! A complete log of this run can be found in:
terms of settlement
https://github.com/panteng/wechat-h5-boilerplate/issues/5
Execute the following command to uninstall and reinstall gulp-imagemin Rely on it , You need to pay attention to the difference between versions
npm install node-gyp
npm uninstall gulp-imagemin
npm install gulp-imagemin
My version is 4.1.0 Is executed npm install [email protected] install , npm rebuild Orders might help, too , Decide whether to delete according to your own situation node_modules
边栏推荐
- [games101] class note 8 - shading (shading frequency, graphics pipeline, texture mapping)
- Since using low code development, the development efficiency has been increased by 10 times
- Detailed explanation of SQL exists usage
- The difference between MySQL full table scanning and indexing
- Equipment management - borrowing / returning module interface code
- 登录mysql
- 4 R basic exercises
- [splishsplash] custom exporter
- Wechat e-book reading applet graduation design work (6) opening defense ppt
- Storage system overview
猜你喜欢

【GAMES101】课堂笔记8–着色(着色频率、图形管线、纹理映射)

Demand and business model analysis -6- five topics

When will the index fail

Process accounting, process time, daemon

7:00 tonight | application of PhD debate self supervised learning in Recommendation System
![[games101] class note 8 - shading (shading frequency, graphics pipeline, texture mapping)](/img/90/f23c3fd9386521ec9254943bff2a0d.png)
[games101] class note 8 - shading (shading frequency, graphics pipeline, texture mapping)

在 Traefik Proxy 2.5 中使用/开发私有插件(Traefik 官方博客)

Negative remainder problem

In 2022, 20 cities with the largest number of college students in China

负数取余问题
随机推荐
Hardware test - why not use grounding clip for ripple test
Explain
BannerViewPager
Stm8l51 sx1280 commissioning record
Compilation of programs
API call display, detailed API of Taobao, tmall and pinduoduo commodity pages, and return of APP side original data parameters
Microsoft Word tutorial, how to insert a header or footer in word?
在 Traefik Proxy 2.5 中使用/开发私有插件(Traefik 官方博客)
基于微信电子书阅读小程序毕业设计毕设作品(4)开题报告
[games101] class note 8 - shading (shading frequency, graphics pipeline, texture mapping)
What is the difference between union and union all
Reading small program based on wechat e-book graduation design (4) opening report
进程的创建fork()、消亡wait()
Continuously improve the overall performance of adaoracle Oracle Oracle
进程会计、进程时间、守护进程
Reading applet based on wechat e-book graduation design (2) applet function
简单理解防抖函数
2022年,中国大学生最多的20个城市
MySQL index classification
Microsoft Word 教程,如何在 Word 中插入页码、目录?