react-redux-universal-hot-example错误
2016-09-16 19:40
344 查看
问题: no suitable image found
ERROR in dlopen(/Users/xxx/web/react-redux-universal-hot-example/node_modules/node-sass/vendor/darwin-x64-48/binding.node, 1): no suitable image found. Did find:
[0] /Users/xxx/web/react-redux-universal-hot-example/node_modules/node-sass/vendor/darwin-x64-48/binding.node: truncated mach-o error: segment __TEXT extends to 1212416 which is past end of file 69180
解决办法: https://github.com/sass/node-sass/issues/1387
查看:node -p "console.log(require('node-sass').info)"
问题:
仔细查看npm install环节 有以下输出:
Start downloading binary at https://github.com/sass/node-sass/releases/download/v3.10.0/darwin-x64-48_binding.node
Saving to /var/folders/2r/h3svtmqn0rv5jpj5kzc9z8cw0000gn/T/phantomjs/phantomjs-2.1.1-macosx.zip
若npm install改为 cnpm install
Considering PhantomJS found at /Users/grantgu/code/web/react-redux-universal-hot-example/node_modules/.bin/phantomjs
Looks like an `npm install -g`
Could not link global install, skipping...
Downloading https://npm.taobao.org/mirrors/phantomjs/phantomjs-2.1.1-macosx.zip
Saving to /var/folders/2r/h3svtmqn0rv5jpj5kzc9z8cw0000gn/T/phantomjs/phantomjs-2.1.1-macosx.zip
Receiving...
#######最终解决方案 20161002##########
其余变动:
1.更改了node版本号:6.2.0
2. 更改了node-sass 版本号:
cnpm install
修复问题:
https://dev.to/ben/the-targetblank-vulnerability-by-example
In order to restrict the behavior
the original page needs to add a
to any link that has
However, Firefox does not support that tag, so you should actually use
ERROR in dlopen(/Users/xxx/web/react-redux-universal-hot-example/node_modules/node-sass/vendor/darwin-x64-48/binding.node, 1): no suitable image found. Did find:
[0] /Users/xxx/web/react-redux-universal-hot-example/node_modules/node-sass/vendor/darwin-x64-48/binding.node: truncated mach-o error: segment __TEXT extends to 1212416 which is past end of file 69180
解决办法: https://github.com/sass/node-sass/issues/1387
npm rebuild node-sass
查看:node -p "console.log(require('node-sass').info)"
问题:
仔细查看npm install环节 有以下输出:
Start downloading binary at https://github.com/sass/node-sass/releases/download/v3.10.0/darwin-x64-48_binding.node
Saving to /var/folders/2r/h3svtmqn0rv5jpj5kzc9z8cw0000gn/T/phantomjs/phantomjs-2.1.1-macosx.zip
若npm install改为 cnpm install
Considering PhantomJS found at /Users/grantgu/code/web/react-redux-universal-hot-example/node_modules/.bin/phantomjs
Looks like an `npm install -g`
Could not link global install, skipping...
Downloading https://npm.taobao.org/mirrors/phantomjs/phantomjs-2.1.1-macosx.zip
Saving to /var/folders/2r/h3svtmqn0rv5jpj5kzc9z8cw0000gn/T/phantomjs/phantomjs-2.1.1-macosx.zip
Receiving...
#######最终解决方案 20161002##########
其余变动:
1.更改了node版本号:6.2.0
2. 更改了node-sass 版本号:
cnpm install
修复问题:
https://dev.to/ben/the-targetblank-vulnerability-by-example
In order to restrict the behavior
window.openeraccess,
the original page needs to add a
rel="noopener"attribute
to any link that has
target="_blank".
However, Firefox does not support that tag, so you should actually use
rel="noopener noreferrer"for full coverage.
相关文章推荐
- react+redux教程(一)connect、applyMiddleware、thunk、webpackHotMiddleware
- [Redux] React Todo List Example (Filtering Todos)
- [Redux] React Todo List Example (Adding a Todo)
- react+redux教程(一)connect、applyMiddleware、thunk、webpackHotMiddleware
- react+redux教程(一)connect、applyMiddleware、thunk、webpackHotMiddleware
- [Redux] React Todo List Example (Toggling a Todo)
- [Reduc] React Counter Example
- react-redux连接react与redux入门案例[分目录结构]
- 基于react+react-router+redux+socket.io+koa开发一个聊天室
- react native and redux
- React实战-ReactJS+Redux的思考
- 为什么eclipse模拟器上可以运行app,插上真机后却不可以运行还会出现com.example.xxx这样的错误
- react论坛提问回复功能基本实现例子(react+redux)
- 深入理解React、Redux
- react-redux-react-router直通车
- react之redux新手入门
- Redux-Saga在React工程架构之的应用实践详解
- React实战-通过ToDo源码分析Redux的数据模型设计
- 基于react+redux仿饿了么
- react router animation example