Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Following instructions on a clean NPM results in a failed installation #2

Open
kfrz opened this issue Feb 6, 2017 · 3 comments
Open

Comments

@kfrz
Copy link

kfrz commented Feb 6, 2017

kf@stretchbook:~$ npm -v
4.2.0
kf@stretchbook:~$ node -v
v6.9.4
kf@stretchbook:~$ uname -a
Linux stretchbook 4.8.0-2-amd64 #1 SMP Debian 4.8.15-2 (2017-01-04) x86_64 GNU/Linux
kf@stretchbook:~$ 

When I clone the repository and run npm install I expect the installation to be successful.

I instead see the following:

kf@stretchbook:~/work/dev/bitworks/ani-theme-master$ npm install

> [email protected] postinstall /home/kf/work/dev/bitworks/ani-theme-master
> npm run build


> [email protected] build /home/kf/work/dev/bitworks/ani-theme-master
> webpack -p --config webpack.production.config.js

Container#eachAtRule is deprecated. Use Container#walkAtRules instead.
Container#eachRule is deprecated. Use Container#walkRules instead.
Container#eachDecl is deprecated. Use Container#walkDecls instead.
Node#removeSelf is deprecated. Use Node#remove.
Hash: ba78dc5cc8b0f2745ae8
Version: webpack 1.14.0
Time: 15062ms
                                 Asset     Size  Chunks             Chunk Names
  b06871f281fee6b241d60582ae9369b9.ttf   166 kB          [emitted]  
  f4769f9bdb7466be65088239c12046d1.eot  20.1 kB          [emitted]  
  674f50d287a8c48dc19ba404d20fe713.eot   166 kB          [emitted]  
af7ae505a9eed503f8b8e6982036873e.woff2  77.2 kB          [emitted]  
 fee66e712a8a08eef5805a46892932ad.woff    98 kB          [emitted]  
 fa2772327f55d8198301fdb8bcfc8158.woff  23.4 kB          [emitted]  
448c34a56d699c29117adc64c43affeb.woff2    18 kB          [emitted]  
  c4584a3be5e75b1595685a1798c50743.png  27.1 kB          [emitted]  
  e18bbf611f2a2e43afc071aa2f4e1512.ttf  45.4 kB          [emitted]  
  912ec66d7572ff821749319396470bde.svg   444 kB          [emitted]  
  89889688147bd7575d6327160d64e760.svg   109 kB          [emitted]  
                                app.js   582 kB       0  [emitted]  main
                              1.app.js   1.1 kB       1  [emitted]  
                              2.app.js  1.11 kB       2  [emitted]  
    + 568 hidden modules

WARNING in app.js from UglifyJs
Condition always true [./~/classnames/index.js:40,2]
Dropping unreachable code [./~/classnames/index.js:46,0]
Condition always true [./~/react/lib/ReactMount.js:764,0]
Condition always true [./~/dom-helpers/util/babelHelpers.js:2,0]
Dropping unreachable code [./~/dom-helpers/util/babelHelpers.js:4,3]
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]
Side effects in initialization of unused variable _ownerDocument2 [./~/dom-helpers/activeElement.js:14,0]
Condition always true [./~/history/lib/createMemoryHistory.js:69,0]
Side effects in initialization of unused variable title [./src/components/layouts/Dashboard/index.jsx:48,8]
Side effects in initialization of unused variable state [./~/react-router/lib/Link.js:106,0]
Condition always true [./~/react-router/lib/Redirect.js:49,0]
Side effects in initialization of unused variable bsStyle [./~/react-bootstrap/lib/ButtonInput.js:46,0]
Side effects in initialization of unused variable value [./~/react-bootstrap/lib/ButtonInput.js:47,0]
Side effects in initialization of unused variable children [./~/react-bootstrap/lib/Modal.js:215,0]
Condition always true [./~/react-router/lib/IndexRedirect.js:49,0]
Condition always true [./~/react-router/lib/IndexRoute.js:46,0]
Condition always true [./~/react-router/lib/Route.js:50,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]
Side effects in initialization of unused variable sourceMap [./~/style-loader/addStyles.js:185,0]
Side effects in initialization of unused variable media [./~/style-loader/addStyles.js:203,0]
Condition always false [./~/style-loader/addStyles.js:23,0]
Dropping unreachable code [./~/style-loader/addStyles.js:24,0]
Condition always false [./~/style-loader!./~/css-loader!./~/less-loader!./src/common/styles/app.less:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/less-loader!./src/common/styles/app.less:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/less-loader!./src/common/styles/app.less:7,0]
Side effects in initialization of unused variable valueLink [./~/uncontrollable/createUncontrollable.js:90,0]
Side effects in initialization of unused variable checkedLink [./~/uncontrollable/createUncontrollable.js:91,0]

ERROR in ./src/app.jsx
Module not found: Error: Cannot resolve module 'nProgress' in /home/kf/work/dev/bitworks/ani-theme-master/src
 @ ./src/app.jsx 19:17-37

ERROR in ./src/components/pages/Login.jsx
Module not found: Error: Cannot resolve module 'jQuery' in /home/kf/work/dev/bitworks/ani-theme-master/src/components/pages
 @ ./src/components/pages/Login.jsx 27:14-31

ERROR in ./src/components/layouts/Dashboard/index.jsx
Module not found: Error: Cannot resolve module 'jQuery' in /home/kf/work/dev/bitworks/ani-theme-master/src/components/layouts/Dashboard
 @ ./src/components/layouts/Dashboard/index.jsx 25:14-31

ERROR in ./src/components/pages/dashboard/Overview/index.jsx
Module not found: Error: Cannot resolve module 'nProgress' in /home/kf/work/dev/bitworks/ani-theme-master/src/components/pages/dashboard/Overview
 @ ./src/components/pages/dashboard/Overview/index.jsx 7:17-37 16:6-26

ERROR in ./src/components/pages/dashboard/Reports/index.jsx
Module not found: Error: Cannot resolve module 'nProgress' in /home/kf/work/dev/bitworks/ani-theme-master/src/components/pages/dashboard/Reports
 @ ./src/components/pages/dashboard/Reports/index.jsx 7:17-37 16:6-26
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] requires a peer of chai@>=1.9.2 <2 but none was installed.



@kfrz
Copy link
Author

kfrz commented Feb 6, 2017

#3

This pull request fixes my issue.

Is this an NPM version thing that I don't know about? Opened a PR in case.

@kfrz kfrz closed this as completed Feb 6, 2017
@kfrz kfrz reopened this Feb 6, 2017
@Ayaz12
Copy link

Ayaz12 commented Feb 8, 2017

ask

@Ayaz12
Copy link

Ayaz12 commented Feb 8, 2017

how do I fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants