playground icon indicating copy to clipboard operation
playground copied to clipboard

typings: not found when npm run build

Open lily0101 opened this issue 8 years ago • 1 comments

I just followed the instruction in ReadMe. my environment is ubuntu16.04. But I got the error below: ` typings install && copyfiles analytics.js dist && catw node_modules/material-design-lite/material.min.js node_modules/d3/d3.min.js node_modules/seedrandom/seedrandom.min.js > dist/lib.js

sh: 1: typings: not found npm ERR! weird error 127 npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0 npm ERR! weird error 1 npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0 `

I don't know what's wrong. I have done the commands are below:

sudo apt-get install nodejs sudo apt-get install npm sudo ln -s /usr/bin/nodejs /usr/bin/node sudo apt-get install nodejs-legacy

please help me!

lily0101 avatar Nov 27 '17 08:11 lily0101

I solved it by using npm install -g typescripts typings catw. but when I run npm run build in windows 10. it can't get any response in terminal. just stop there, no finishing, no output.

lily0101 avatar Nov 27 '17 09:11 lily0101