Cannot find module '.tmp/Rx.min.js'
来源:互联网 发布:收割机无人机知乎 编辑:程序博客网 时间:2024/06/07 07:09
使用mgechev/angular-seed时, npm start
报错:
[21:22:01] 'build.dev' errored after 7.24 s[21:22:01] Error in plugin 'run-sequence(build.html_css)'Message: Cannot find module '.tmp/Rx.min.js'Details: code: MODULE_NOT_FOUNDStack:Error: Cannot find module '.tmp/Rx.min.js' at Function.Module._resolveFilename (module.js:469:15) at Function.resolve (internal/module.js:27:19) ...
解决办法:
先执行: ./node_modules/.bin/gulp build.bundle.rxjs
,
然后npm start
.
原因是package.json中postinstall没有正确执行:
{ "postinstall": "gulp check.versions && gulp build.bundle.rxjs && npm prune && gulp webdriver && gulp print.banner"}
其中就有生成rxjs的命令.
也可以执行npm run postinstall
来安装rxjs.
参考:
https://github.com/mgechev/angular-seed/issues/1501
欢迎补充指正!
阅读全文
0 0
- Cannot find module '.tmp/Rx.min.js'
- Node.js cannot find module ***
- Node.js Cannot find module 'xxx' 问题解决
- Node.js Cannot find module 'mysql'
- node.js cannot find module "xxx"解决方法
- Node.js报错cannot find module
- Cannot find module 'invariant'
- Cannot find module 'stylus'
- react Cannot find module
- Cannot find module 'express'
- Node.js Cannot find module 'xxx' 有关问题解决
- node.js 出现cannot find module 'xxx' 解决办法
- node.js项目的Cannot find module ‘xxx’问题
- Error: Cannot find module 'core-js/fn/array/values' at Function.Module._resolveFilename (module
- React-native Cannot find module 'invariant' at Function.Module._resolveFilename (module.js:337:15)
- Cannot find module 'express-session'
- Error: Cannot find module 'express'
- Error: Cannot find module 'express'
- HTML5 4 视频
- 错误处理 ssh connection refused
- css3设置边框圆角border-radius属性
- CSDN机器学习笔记九 支持向量机
- What’s a Good Clickthrough Rate? New Benchmark Data for Google AdWords
- Cannot find module '.tmp/Rx.min.js'
- Unified Memory与unified memory managed详解
- Log4J的配置和使用
- Codeforces Round #304 (Div. 2)-C. Soldier and Cards-简单模拟
- 随笔
- 廖雪峰Python教程1轮还没学明白的(1) -- 面向对象高级编程 -- 定制类 -- 斐波那契数列
- 一阶高通滤波
- 解决端口被占用的方法
- JZOJ 1013. 【东莞市选2008】GCD与LCM