New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libsass problem #73
Comments
I have exactly the same issue on linux mint. I did find this, which is possibly related: sass/node-sass#1579 But I've not had any joy with it yet. To be honest I'm not even sure where node_modules/meteor/mss/node_modules/node-sass/ is supposed to be? |
I haven't gotten anywhere either... for starters I don't know how to debug the meteor build process... The only thing I found was that the meteor link in ~/.meteor/meteor still pointed to the 1.4.1.2 meteor. I manually changed it but it didn't change anything. BTW I was thinking the same about those weird paths... |
I'm getting the same thing.
|
Has anyone had luck with this? I've stuck and having a tough go figuring out. It looks like it might be an issue with node-sass being called within the plugin. |
Same problem here. |
@nathantreid Same error with the latest 1.4.2 RC (1.4.2-rc.2) |
Just an FYI for those still having the problem, I found it works when reverting back to version 2.2.2. I'm on 1.4.2-rc.1 |
I'm getting the same issue on |
I'm traveling right now, but will look into this as soon as I can. |
Thanks @nathantreid |
Did some more digging... it seems to me that node-sass is included in the plugin for some reason (even though the readme says it is should be a user install). The mss_plugin.js seems to include a node-sass/lib/extensions.js, which is responsible for trying to find the binaries at the virtual path location. |
OK, more digging... downloading the package from github and putting it in a (newly created) directory in my meteor app directory made version 2.3.0 work for me. This makes me belive that something went wrong while creating the npm package... |
@gregorybleiker could you explain this more in detail? I'm having trouble following your steps, mainly, what is "the package" and which "(newly created) directory"? |
@neopostmodern: /somedir/yourapp will have directories like client/, server/, imports/ and so on. In /somedir/yourapp create the directory packages: /somedir/yourapp/packages In /somedir/yourapp/packages clone the github of 2.3, so you should end up with the contents in /somedir/yourapp/packages/nathantreid_css-modules Then in /somedir/yourapp/.meteor/packages include nathantreid:css-modules (without version number) This should pick up the version in the packages directory. Personally I renamed the package to my:css-modules (and the directory in packages to packages/my_css-modules and the contents of packages/my_css-modules/package.js but I don't know if that is really necessary... |
Mh, strange. Doesn't work for me. Prior to your steps I get this error: While processing files with nathantreid:css-modules (for target web.browser):
native: ENOENT: no such file or directory, scandir '/node_modules/meteor/mss/node_modules/node-sass/vendor' Then I do mss: updating npm dependencies -- app-module-path, camelcase, cjson, colors, common-tags, css-modules-loader-core, lru-cache, path-is-absolute, postcss, postcss-modules-local-by-default, postcss-modules-extract-imports,
postcss-modules-scope, postcss-modules-values, ramda, recursive-readdir, string-template...
Segmentation fault (core dumped) Then
Then While loading plugin `mss` from package `nathantreid:css-modules`:
packages/modules-runtime.js:109:19: Cannot find module './fibers'
at require (packages/modules-runtime.js:109:19)
at meteorInstall.node_modules.meteor.mss.node_modules.fibers.future.js (<runJavaScript-4>:13736:13)
at fileEvaluate (packages/modules-runtime.js:181:9)
at Module.require (packages/modules-runtime.js:106:16)
at Module.Mp.import (/home/neopostmodern/.meteor/packages/modules/.0.7.7.127y3t4++os+web.browser+web.cordova/npm/node_modules/reify/lib/runtime.js:70:16)
at meteorInstall.node_modules.meteor.mss.stylus-processor.js (<runJavaScript-4>:1171:142)
at fileEvaluate (packages/modules-runtime.js:181:9)
at require (packages/modules-runtime.js:106:16)
at <runJavaScript-4>:14790:1
at <runJavaScript-4>:14799:3 Can't get beyond that. |
At least it seems to be picking up the version in packages... |
@gregorybleiker Thanks for all the digging you did. I messed up the publish of 2.3.0, and have just published 2.3.1 to address that. Please give it a try! |
Causes SIGSEGV. If I remove the package it runs well. Re-adding causes SIGSEGV. Setup: Meteor |
I have the same issue. For now sticking with fourseven:scss |
I've just updated to the latest of |
Oh.. Now I'm doing this:
and I'm getting the segmentation fault again... EDIT: |
Doesn't work for me, even when cloning from GitHub. Still SIGSEGV. |
@nathantreid - any word if this will fix? If not, can you recommend an alternative? |
The old version works for me, but super slow on my larger app to build & rebuild. I get the same issue as you with the current version
…On Dec 23, 2016, 04:59, at 04:59, neopostmodern ***@***.***> wrote:
@nathantreid - any word if this will fix? If not, can you recommend an
alternative?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#73 (comment)
|
I'm planning to really dig into this over Christmas break (so next week). Without having looked into it, I think the issue you are now having is the same as #81. |
Maybe related to sass/node-sass#1757? |
Is anyone still experiencing this after taking into account sass/node-sass#1757? |
Yes, I think it's still occurring for me. I rebuilt the node-sass package using these commands. I commented the
|
@neopostmodern Sorry for the delayed response; when you rebuilt using this command:
Did you adjust it for Meteor? All npm, node, or yarn commands should be prefixed with meteor (or you can just use nvm to switch to the meteor node version). In this case, it should be |
Oh, I in fact hadn't. Unfortunately, it still throws the same error when prefixing it accordingly. |
Hi
I tried to update my meteor 1.4.2 beta13 and now I'm stuck... anybody have a pointer what might be wrong here? I've nuked .meteor in home and in project and node_modules etc... but to no avail. I'm on arch linux.
Any help welcome.
The text was updated successfully, but these errors were encountered: