Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Node 7 support #1766

Closed
4 of 5 tasks
xzyfer opened this issue Oct 25, 2016 · 12 comments
Closed
4 of 5 tasks

Node 7 support #1766

xzyfer opened this issue Oct 25, 2016 · 12 comments

Comments

@xzyfer
Copy link
Contributor

xzyfer commented Oct 25, 2016

Currently blocked on AppVeyor supporting Node 7.

@xzyfer
Copy link
Contributor Author

xzyfer commented Oct 26, 2016

The AppVeyor update is scheduled for the 30th.

@am11 could I possibly bother you to build the Windows Node 7 binaries for 3.10.1?

@am11
Copy link
Contributor

am11 commented Oct 26, 2016

Hey @xzyfer, :)
I have built node-sass current master (bd6d7a3) with v7.0.0 x86 and x64, and found two failing tests with both:

  5906 passing (2m)
  322 pending
  2 failing

  1) cli node-sass sass/ --output css/ should not error if output directory is a symlink:
     Error: EEXIST: file already exists, mkdir 'C:\Users\Adeel\Source\Repos\node-sass\test\fixtures\input-directory\css'
      at Object.fs.mkdirSync (fs.js:846:18)
      at Context.<anonymous> (C:\Users\Adeel\Source\Repos\node-sass\test\cli.js:582:10)
      at callFnAsync (C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runnable.js:349:8)
      at Test.Runnable.run (C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runnable.js:301:7)
      at Runner.runTest (C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runner.js:422:10)
      at C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runner.js:528:12
      at next (C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runner.js:342:14)
      at C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runner.js:352:7
      at next (C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runner.js:284:14)
      at Immediate.<anonymous> (C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runner.js:320:5)

  2) cli node-sass --follow --output output-dir input-dir should compile with the --follow option:
     Error: EEXIST: file already exists, mkdir 'C:\Users\Adeel\Source\Repos\node-sass\test\fixtures\follow\input-dir'
      at Object.fs.mkdirSync (fs.js:846:18)
      at Context.<anonymous> (C:\Users\Adeel\Source\Repos\node-sass\test\cli.js:623:10)
      at callFnAsync (C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runnable.js:349:8)
      at Test.Runnable.run (C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runnable.js:301:7)
      at Runner.runTest (C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runner.js:422:10)
      at C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runner.js:528:12
      at next (C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runner.js:342:14)
      at C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runner.js:352:7
      at next (C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runner.js:284:14)
      at Immediate.<anonymous> (C:\Users\Adeel\Source\Repos\node-sass\node_modules\mocha\lib\runner.js:320:5)



npm ERR! Test failed.  See above for more details.

Is it still good to go? I will send a PR to binaries repo afterwards.

@xzyfer
Copy link
Contributor Author

xzyfer commented Oct 26, 2016

Life saver @am11.

I think those tests are due to the test suite not cleaning up after itself properly. Nothing to worry about.

@nikolowry
Copy link

Just giving a heads up that ArchLinux updated to 7.0.0 today. So there might be an influx of Linux devs opening/adding-to issues in the next couple days if a new release doesn't happen. Any eta?

Regardless thanks for maintaining one of the most important packages in the Node-ecosystem. I'll just sudo pacman -U /var/cache/pacman/pkg/nodejs-6.9.1-1-x86_64.pkg.tar.xz for now.

@tleunen
Copy link

tleunen commented Nov 2, 2016

Looks like node 7 is available on appveyor: http://help.appveyor.com/discussions/suggestions/1132-make-nodejs-7-available

@xzyfer
Copy link
Contributor Author

xzyfer commented Nov 2, 2016

Thanks for the heads up @nikolowry.

It's worthing noting that the latest node-sass will install and work perfectly fine on Node 7. This is largely a meta issue so we know when to update some copy and CI config.

@nikolowry
Copy link

nikolowry commented Nov 2, 2016

@xzyfer I didn't initially rm -rf node_modules && npm install after update. Just went directly to my project repo dir and ran npm run serve - which is when I saw the unsupported version note.

So just a user-error! Thanks again

@xzyfer
Copy link
Contributor Author

xzyfer commented Nov 2, 2016

@nikolowry correct. You should always do a fresh install when change Node version or environments (i.e. mounting into a container). This is because native extensions are compiled against the current os and Node version.

@anaibol
Copy link
Contributor

anaibol commented Nov 3, 2016

can we please push to npm?

@kyrylkov
Copy link

kyrylkov commented Nov 3, 2016

@anaibol latest 3.11.1 is there already https://www.npmjs.com/package/node-sass

@anaibol
Copy link
Contributor

anaibol commented Nov 3, 2016

Cool! It says "Supported Node.js versions 0.10, 0.12, 1, 2, 3, 4, 5, and 6."

anaibol added a commit to anaibol/node-sass that referenced this issue Nov 3, 2016
@kyrylkov
Copy link

kyrylkov commented Nov 3, 2016

The latest v3.11.1 release supports Node.js 7 on all platforms except FreeBSD. See GitHub release notes.

rgladwell added a commit to rgladwell/blog.gladwell.me that referenced this issue Nov 22, 2016
Fixed a build issue on Node 7 caused by the following issue:

sass/node-sass#1766
@xzyfer xzyfer closed this as completed Jan 7, 2017
rg-wood pushed a commit to grislyeye/grislyeye.com that referenced this issue May 12, 2022
Fixed a build issue on Node 7 caused by the following issue:

sass/node-sass#1766
rg-wood added a commit to grislyeye/grislyeye.com that referenced this issue May 12, 2022
Fixed a build issue on Node 7 caused by the following issue:

sass/node-sass#1766
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants