ahomu / rx.observable.combinetemplate

Generate values based on the Observable and object template. Similar to `Bacon.combineTemplate`
MIT License
14 stars 2 forks source link

lazy-cache Cannot find module 'kind-of'. /index.js #2

Open almeynman opened 9 years ago

almeynman commented 9 years ago

importing the library I first get webpack warning:

WARNING in ./~/clone-deep/utils.js
Critical dependencies:
7:34-41 require function is used in a way in which dependencies cannot be statically extracted
 @ ./~/clone-deep/utils.js 7:34-41

WARNING in ./~/clone-deep/LICENSE
Module parse failed: /Users/almas/Projects/react-rx-combinators/node_modules/clone-deep/LICENSE Line 1: Unexpected identifier
You may need an appropriate loader to handle this file type.
| The MIT License (MIT)
| 
| Copyright (c) 2014-2015, Jon Schlinkert.
 @ ./~/clone-deep ^\.\/.*$

WARNING in ./~/clone-deep/README.md
Module parse failed: /Users/almas/Projects/react-rx-combinators/node_modules/clone-deep/README.md Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
| # clone-deep [![NPM version](https://badge.fury.io/js/clone-deep.svg)](http://badge.fury.io/js/clone-deep)  [![Build Status](https://travis-ci.org/jonschlinkert/clone-deep.svg)](https://travis-ci.org/jonschlinkert/clone-deep)
| 
| > Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.
 @ ./~/clone-deep ^\.\/.*$

WARNING in ./~/clone-deep/package.json
Module parse failed: /Users/almas/Projects/react-rx-combinators/node_modules/clone-deep/package.json Line 2: Unexpected token :
You may need an appropriate loader to handle this file type.
| {
|   "_args": [
|     [
|       "clone-deep@^0.2.0",
 @ ./~/clone-deep ^\.\/.*$

And if I try to use combineTemplate function I get the following error in console: lazy-cache Cannot find module 'kind-of'. /index.js

Zolmeister commented 9 years ago

+1

gyzerok commented 9 years ago

+1

doowb commented 8 years ago

@almasakchabayev try using the unlazy loader in your webpack build.