Comments (7)
`[at-loader] Checking finished with 11 errors
Version: webpack 3.11.0
Time: 2559ms
PublicPath: http://localhost:8080/
[20] ./src/app.cjson 891 bytes {0} [built]
[47] ./src/pages/logs/logs.cjson 0 bytes {0} [built]
[48] ./src/pages/logs/logs.scss 0 bytes {0} [built]
[49] ./src/pages/logs/logs.ts 1.6 kB {0} [built]
[51] ./src/pages/logs/logs.wxml 0 bytes {0} [built]
[52] ./src/app.scss 0 bytes {0} [built]
+ 49 hidden modules
ERROR in [at-loader] ./node_modules/@types/webpack/index.d.ts:19:10
TS2305: Module '"D:/works/zhiyan/test-project/minapp-ts-update/node_modules/@types/tapable/index"' has no exported member 'Tapable'.
ERROR in [at-loader] ./node_modules/@types/webpack/index.d.ts:19:19
TS2305: Module '"D:/works/zhiyan/test-project/minapp-ts-update/node_modules/@types/tapable/index"' has no exported member 'HookMap'.
ERROR in [at-loader] ./node_modules/@types/webpack/index.d.ts:20:10
TS2305: Module '"D:/works/zhiyan/test-project/minapp-ts-update/node_modules/@types/tapable/index"' has no exported member 'SyncBailHook'.
ERROR in [at-loader] ./node_modules/@types/webpack/index.d.ts:20:24
TS2305: Module '"D:/works/zhiyan/test-project/minapp-ts-update/node_modules/@types/tapable/index"' has no exported member 'SyncHook'.
ERROR in [at-loader] ./node_modules/@types/webpack/index.d.ts:20:34
TS2305: Module '"D:/works/zhiyan/test-project/minapp-ts-update/node_modules/@types/tapable/index"' has no exported member 'SyncLoopHook'.
ERROR in [at-loader] ./node_modules/@types/webpack/index.d.ts:20:48
TS2305: Module '"D:/works/zhiyan/test-project/minapp-ts-update/node_modules/@types/tapable/index"' has no exported member 'SyncWaterfallHook'.
ERROR in [at-loader] ./node_modules/@types/webpack/index.d.ts:21:10
TS2305: Module '"D:/works/zhiyan/test-project/minapp-ts-update/node_modules/@types/tapable/index"' has no exported member 'AsyncParallelBailHook'.
ERROR in [at-loader] ./node_modules/@types/webpack/index.d.ts:21:33
TS2305: Module '"D:/works/zhiyan/test-project/minapp-ts-update/node_modules/@types/tapable/index"' has no exported member 'AsyncParallelHook'.
ERROR in [at-loader] ./node_modules/@types/webpack/index.d.ts:21:52
TS2305: Module '"D:/works/zhiyan/test-project/minapp-ts-update/node_modules/@types/tapable/index"' has no exported member 'AsyncSeriesBailHook'.
ERROR in [at-loader] ./node_modules/@types/webpack/index.d.ts:21:73
TS2305: Module '"D:/works/zhiyan/test-project/minapp-ts-update/node_modules/@types/tapable/index"' has no exported member 'AsyncSeriesHook'.
ERROR in [at-loader] ./node_modules/@types/webpack/index.d.ts:21:90
TS2305: Module '"D:/works/zhiyan/test-project/minapp-ts-update/node_modules/@types/tapable/index"' has no exported member 'AsyncSeriesWaterfallHook'.`
from minapp.
方便把你项目给我看看么,看上去像是路径有问题,导致webpack找不到对应的文件
from minapp.
windows上面部署都会出现这个错误。。。
from minapp.
看上面错误好像是 webpack 中少了一些模块似的,要不你重装下 @minapp/cli
试试?
from minapp.
npm和cnpm两种方式都尝试过,构建项目都会报错。。。
from minapp.
找到原因了,好像是因为 @types/tapable
模块在 3.10 号升级了,导致 webpack 找不到它内部的模块,我发个版本把它的依赖去掉吧
@types/tapable
0.2.0 2016-11-04 01:43
0.2.1 2016-11-10 08:27
0.2.2 2016-11-30 08:20
0.2.3 2016-12-23 10:16
ts2.2 0.2.4 2017-08-22 06:05
latest 0.2.5 2018-03-10 10:21
ts2.8 1.0.0 2018-03-10 10:21
from minapp.
新版 1.0.2 已经发布,我在 windows 验证已经不出现此问题了,谢谢反馈!
from minapp.
Related Issues (20)
- 原生开发过程中如何使用wxp? HOT 3
- wx/wxp缺少拓展接口支持 HOT 2
- Interface 'BaseComponent<D, A>' cannot simultaneously extend types 'Component' and 'Options' HOT 1
- 接口“BaseComponent<D, A>”不能同时扩展类型“Component”和“Options”。“Component”和“Options”类型的命名属性“properties”不完全相同
- Promise<any>不存在finally属性 HOT 3
- <feature request> Page增加watch功能
- example 跑不起来 HOT 2
- 通过配置或者约定配置获取自定义组件描述配置 HOT 5
- Featuring minapp in Docusaurus HOT 1
- 初始化项目时,Style Lauguage选择less,会报错 HOT 2
- UglifyJsPlugin 造成WXS报错 HOT 1
- BaseApp获取不到新增page的URL HOT 1
- 可以增加不输入"<"都触发标签名的补全吗?
- 请教一些关于 webpack 问题~ HOT 2
- 引入vant-weapp 或其他外部组件
- 请教一下:导航栏 中文显示乱码的问题 HOT 2
- 已有项目如何安装
- 如何在mina里接入alt数据监控
- 为什么.vsvode/settings.json中的忽略了packages HOT 2
- 本地图片资源的问题 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minapp.