vue-admin icon indicating copy to clipboard operation
vue-admin copied to clipboard

node 8 doesn't seem to be supported, yet

Open MartinP7r opened this issue 7 years ago • 1 comments

node-sass is not installing correctly and throwing errors. i found it very hard to find out the core of the problem, being that node-sass isn't supporting node > v7 yet. maybe you could make a note of that in your readme. just consider this an FYI and close if you see fit

MartinP7r avatar Jul 04 '17 02:07 MartinP7r

This is no problem. node-sass can work under node8.

I deleted the node_modules folder, then use nvm installed node 8 and switch over the past, the final implementation of npm i and npm run dev, there is no problem, you can access the browser in normal.

You have switched the node version in the middle, maybe you should rebuild it with --force (you can see the message in the error message):

npm rebuild node-sass --force

huguangju avatar Jul 08 '17 01:07 huguangju