benoitvallon / react-native-nw-react-calculator

Mobile, desktop and website Apps with the same code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot find module 'postcss-filter-plugins'

recwert opened this issue · comments

when i execute npm run build:
throw the error:
`WARNING in main.js from UglifyJs
Condition always true [.//react/lib/ReactMount.js:764,0]
Dropping side-effect-free statement [./
/react-router/lib/deprecateObjectProperties.js:65,0]
Side effects in initialization of unused variable _ret [.//react-router/lib/deprecateObjectProperties.js:63,0]
Condition always true [./
/react/lib/findDOMNode.js:46,0]
Condition always true [.//react/lib/instantiateReactComponent.js:80,0]
Dropping unreachable code [./
/react/lib/shouldUpdateReactComponent.js:40,0]
Condition always true [.//react/lib/traverseAllChildren.js:158,0]
Condition always true [./
/react-router/lib/Redirect.js:97,0]
Condition always false [.//style-loader/addStyles.js:24,0]
Dropping unreachable code [./
/style-loader/addStyles.js:25,0]
Dropping unused variable r [.//es6-promise/dist/es6-promise.js:130,0]
Condition left of && always true [./
/es6-promise/dist/es6-promise.js:944,0]
Dropping unused function lib$es6$promise$utils$$isMaybeThenable [.//es6-promise/dist/es6-promise.js:19,0]
Condition always true [./
/history/lib/createMemoryHistory.js:67,0]
Condition always true [.//react-router/lib/IndexRedirect.js:58,0]
Condition always true [./
/react-router/lib/IndexRoute.js:55,0]
Condition always true [.//react-router/lib/Route.js:50,0]
Dropping side-effect-free statement [./
/react-router/lib/getComponents.js:56,0]
Side effects in initialization of unused variable _ret [.//react-router/lib/getComponents.js:54,0]
Condition always true [./
/react/lib/ReactDOMComponent.js:907,0]
Dropping side-effect-free statement [.//react/lib/ReactEventListener.js:72,0]
Dropping unused function handleTopLevelWithPath [./
/react/lib/ReactEventListener.js:98,0]
Dropping unused variable DOCUMENT_FRAGMENT_NODE_TYPE [.//react/lib/ReactEventListener.js:26,0]
Condition always false [./
/style-loader!.//css-loader!.//normalize.css/normalize.css:10,0]
Dropping unreachable code [.//style-loader!.//css-loader!.//normalize.css/normalize.css:12,0]
Side effects in initialization of unused variable update [./
/style-loader!.//css-loader!.//normalize.css/normalize.css:7,0]
Condition always false [.//style-loader!.//css-loader!./src/styles/main.css:10,0]
Dropping unreachable code [.//style-loader!.//css-loader!./src/styles/main.css:12,0]
Side effects in initialization of unused variable update [.//style-loader!.//css-loader!./src/styles/main.css:7,0]

ERROR in Cannot find module 'postcss-filter-plugins'
@ ./src/styles/main.css 4:14-78

ERROR in Cannot find module 'postcss-filter-plugins'
@ ./~/normalize.css/normalize.css 4:14-67
Warning: Task "webpack:dist" failed. Use --force to continue.

Aborted due to warnings.

npm ERR! Darwin 15.0.0
npm ERR! argv "/Users/admin/.nvm/versions/node/v5.6.0/bin/node" "/Users/admin/.nvm/versions/node/v5.6.0/lib/node_modules/cnpm/node_modules/.bin/npm" "--userconfig=/Users/admin/.cnpmrc" "--disturl=https://npm.taobao.org/mirrors/node" "--registry=https://registry.npm.taobao.org" "run" "build"
npm ERR! node v5.6.0
npm ERR! npm v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! ReactNativeNWReactCalculator@1.0.0 build: grunt build
npm ERR! Exit status 3
npm ERR!
npm ERR! Failed at the ReactNativeNWReactCalculator@1.0.0 build script 'grunt build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ReactNativeNWReactCalculator package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! grunt build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ReactNativeNWReactCalculator
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ReactNativeNWReactCalculator
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/admin/Desktop/react-native-nw-react-calculator-master/npm-debug.log
`