简体   繁体   中英

Installing SASS with npm. TypeError

I am new to sass and I want to install it. I already have Node.js and I typed in npm install -g sass

I don't know why, but whenever I do sass --version it gives me a TypeError. 在此处输入图片说明

I have NO idea what this error means. I have little experience with the command line. Maybe I typed the command incorrectly? Thanks and sorry for my lack of experience in this.

I just had this issue as well on Ubuntu.

Installing an earlier version of sass resolved the issue, eg npm install -g sass@1.5.1 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM