Predix_Logo
  • Categories
    • Questions
    • Predix | Updates
      • Pricing
      • Product
    • Deloitte - Private
    • How-To
    • Accenture-Private
  • Explore
    • Topics
    • Questions
    • Articles
    • Feedback or Feature Requests
  • Sign in
  • Home /
  • Questions /
avatar image
0
Question by yizhuo.zhang@ge.com · Dec 01, 2016 at 06:09 PM · dashboard-seed

npm install error in Predix Seed

node-sass error when I run npm install for Predix seed node version:v4.4.3 npm version:2.15.1 system: windows 7 x64.

ERR! build error ERR! stack Error: C:\windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe failed with exit code: 1 ERR! stack at ChildProcess.onExit (C:\302018215\Predix Seed\predix-seed-develop\node_modules\node-sass\node_modu \node-gyp\lib\build.js:276:23) ERR! stack at emitTwo (events.js:87:13) ERR! stack at ChildProcess.emit (events.js:172:7) ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12) ERR! System Windows_NT 6.1.7601 ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\302018215\\Predix Seed\\predix-seed-develop\\node_modules\\n -sass\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsas dflags=" "--libsass_library=" ERR! cwd C:\302018215\Predix Seed\predix-seed-develop\node_modules\node-sass ERR! node -v v4.4.3 ERR! node-gyp -v v3.4.0 ERR! not ok ld failed with error code: 1 ERR! Windows_NT 6.1.7601 ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "ins l" ERR! node v4.4.3 ERR! npm v2.15.1 ERR! code 128

Comment
Add comment
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

  • Sort: 
avatar image
0
Best Answer

Answer by Greg Stroup · Dec 06, 2016 at 03:40 PM

The Predix Seed app should work on Windows 7 with Node 4. You probably hit a network problem downloading one of the packages. Also, we recently removed some dependencies from the seed app, so the installation should be easier. Can you please pull the latest code from Github and try again? Thanks.

Comment
Add comment · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Micaela Connors · Aug 23, 2017 at 07:23 AM

If anyone else is still having this problem, I recently encountered the same error on Windows 10 and fixed it following these instructions for installing node-gyp on Windows: https://github.com/nodejs/node-gyp

Option 1 outlined here didn't work for me, so basically here's what fixed it for me:

  • Install Visual C++ Build Tools using the Default Install option.

  • I already had Python2.7, but also did npm config set python python2.7

  • Then npm config set msvs_version 2015

  • And, find your path to Python and set it: npm config set python /path/to/executable/python2.7

Comment
Add comment · Show 5 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Greg Stroup ♦ · Aug 23, 2017 at 08:51 AM 0
Share

Thanks for adding these details! Also note, that that the predix-seed app has been replaced by the predix-webapp-starter app. I don't think you'll run into problems with the webapp-starter, but I'm not positive about windows.

avatar image Micaela Connors Greg Stroup ♦ · Aug 24, 2017 at 05:56 AM 0
Share

Actually, this was a problem that I encountered earlier this week with the current webapp-starter, not the seed.

avatar image Greg Stroup ♦ Micaela Connors · Aug 24, 2017 at 10:38 AM 0
Share

OK, good to know. Thank you. I just noticed you're on Windows 7 too. Sorry about that. I have tested on Windows 10 with no issues, but not Windows 7. Maybe ask your boss for a new laptop. : ) Just kidding. Thanks for sharing your solution.

avatar image Micaela Connors Greg Stroup ♦ · Aug 25, 2017 at 05:49 AM 0
Share

No problem! Again, to clarify, I am on Windows 10.

avatar image Greg Stroup ♦ Micaela Connors · Aug 25, 2017 at 08:59 AM 0
Share

Oh, I see, the original poster was using windows 7. Well, we're working on a new release of the web app starter, and we'll test it out on windows 10. Thanks.

Follow this Question

Answers Answers and Comments

62 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

View seed just reloads constantly - no views 1 Answer

Predix seed grunt dist error 4 Answers

Error when retrieving user information on callback from login using grunt 1 Answer

predix seed URL resulting 404 In Cloud 2 Answers

Predix-seed UAA returns a 500 response 2 Answers

GE Monogram
  • Legal
  • Cookies
  • Forum Terms
  • Contact Us
  • Copyright © 2017 General Electric Company. All rights reserved.


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Submit your feedback or feature request
  • Categories
  • Questions
  • Predix | Updates
    • Pricing
    • Product
  • Deloitte - Private
  • How-To
  • Accenture-Private
  • Explore
  • Topics
  • Questions
  • Articles
  • Feedback or Feature Requests