Open illusionfield opened 10 years ago
Same here, using OSX and get error: package 'compileSass' is built for incompatible architecture
at startup
+1
temporary solution: "cd ~/.meteor/packages/particle4dev:sass/{version-number}
plugin.compileSass.os.linux.x86_64 directory name change: plugin.compileSass.os.osx.x86_64
unipackage.json: find this line: "path": "plugin.compileSass.os.linux.x86_64/program.json" change: "path": "plugin.compileSass.os.osx.x86_64/program.json" (save :)) enter folder program.json: linux word change osx see before :) cd npm/compileSass folder and delete all contents
navigate terminal this folder and run te command: npm install node-sass
so now I use it for the time being
@illusionfield Hi, i just added you to admin. Now you can build and publish osx/64 version. Thank you.
@illusionfield I tried the solution you posted but it didn't work for me. I also tried using your fork of meteor-sass as a package. I can run my application with no errors now, but it doesn't seem to be compiling any sass stylesheets.
@particle4dev Me a little more complicated, this new package manager,maybe but in the distant future the situation will be better I hope I didn't make a mistake what can cause serious problem. If yes, let me know.
now tried it, so Apple users can install it: meteor add particle4dev:sass@0.2.5-osx
I hope someone can help how make multiple architecture the should be published under the same version number. I think this was promised in the description. It didn't work.
@illusionfield Thank you. i have little research for this topic. As far as I know, to support OSX architecture (or Linux if you using OSX ), i have to log into OSX machine then run publish-for-arch. Example: meteor publish-for-arch particle4dev:sass@0.2.5 it will upload a osx-compatible build to the package for version 0.2.5. Im linux fan and dont have any osx device so hope you can help me out :)
I read this and tried it. this result, even and now:
Last login: Thu Aug 28 05:14:38 from 192.168.62.203 hoffyx@hoffy-imac:~$ meteor publish-for-arch particle4dev:sass@0.2.5 Refreshing package metadata. This may take a moment. compileSass: updating npm dependencies -- node-sass... Bundling build... Creating package build... Uploading build... Publishing package build... Error from package server: Cannot override existing build [403]
I now see the meteor was hurt update. I think to solve the problem, but freaked out at first. Now I'm watching what's wrong (---------------------------) /Users/hoffyx/.meteor/packages/meteor-tool/.1.0.26.60jrlg++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/dev_bundle/lib/nodemodules/fibers/future.js:173 throw(ex); ^ Error: Version lock for particle4dev:sass should never change. Recorded as {"pluginDependencies":{"compileSass":{}},"dependencies":{"meteor":"1.0.2","underscore":"1.0.0"},"toolVersion":"meteor-tool@1.0.25"}, calculated as {"dependencies":{"underscore":"1.0.0","meteor":"1.0.2"},"pluginDependencies":{"compileSass":{}},"toolVersion":"meteor-tool@1.0.26"} at .extend.recordDependencyVersions (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.26.60jrlg++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/package-source.js:1438:13) at Object.determineBuildTimeDependencies (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.26.60jrlg++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:266:19) at /Users/hoffyx/.meteor/packages/meteor-tool/.1.0.26.60jrlg++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands-packages.js:408:20 at /Users/hoffyx/.meteor/packages/meteor-tool/.1.0.26.60jrlg++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x8664/tools/buildmessage.js:186:11 at .extend.withValue (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.26.60jrlg++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14) at /Users/hoffyx/.meteor/packages/meteor-tool/.1.0.26.60jrlg++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x8664/tools/buildmessage.js:183:27 at .extend.withValue (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.26.60jrlg++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14) at /Users/hoffyx/.meteor/packages/meteor-tool/.1.0.26.60jrlg++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x8664/tools/buildmessage.js:181:16 at .extend.withValue (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.26.60jrlg++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14) at Object.capture (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.26.60jrlg++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:172:21) at main.registerCommand.name as func at /Users/hoffyx/.meteor/packages/meteor-tool/.1.0.26.60jrlg++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/main.js:1212:23
Error from package server: Cannot override existing build [403] ==> It seems like osx-compatible build is really published. Thanks.
please see my forked version, I specified modify a few minor things, I think can benefit the users. if you agree with the changes you might want to live update
This is good news! Quickly I tried. I've unfortunately something is still not right ... I would think a hammer will solve the problem :)
hoffyx@hoffy-imac:~/Desktop$ meteor create b
b: created.
To run your new app:
cd b
meteor
hoffyx@hoffy-imac:~/Desktop$ cd b
hoffyx@hoffy-imac:~/Desktop/b$ meteor add particle4dev:sass
downloading particle4dev:sass at version 0.2.5 ... done
added particle4dev:sass at version 0.2.5
particle4dev:sass: SASS for meteor
hoffyx@hoffy-imac:~/Desktop/b$ meteor
downloading particle4dev:sass at version 0.2.5 ... done
[[[[[ ~/Desktop/b ]]]]]
=> Started proxy.
=> Started MongoDB.
downloading particle4dev:sass at version 0.2.5 ... done
downloading particle4dev:sass at version 0.2.5 ... done
downloading particle4dev:sass at version 0.2.5 ... done
downloading particle4dev:sass at version 0.2.5 ... done
downloading particle4dev:sass at version 0.2.5 ... done
=> Errors prevented startup:
While building the application:
error: package `compileSass` is built for incompatible architecture
=> Your application has errors. Waiting for file change.
^C
hoffyx@hoffy-imac:~/Desktop/b$ meteor remove particle4dev:sass
removed particle4dev:sass from project
Removed top-level dependency on particle4dev:sass.
hoffyx@hoffy-imac:~/Desktop/b$ meteor add particle4dev:sass@0.2.5-osx
downloading particle4dev:sass at version 0.2.5-osx ... done
added particle4dev:sass at version 0.2.5-osx
particle4dev:sass: SASS for meteor
hoffyx@hoffy-imac:~/Desktop/b$ meteor
[[[[[ ~/Desktop/b ]]]]]
=> Started proxy.
=> Started MongoDB.
=> Started your app.
=> App running at: http://localhost:3000/
@illusionfield Hi, I just publish new version: 0.2.6. Could you help me to upload osx-compatible build for package. I hope all problem will solve.
done, I did it 0.9.0.1 meteor solved, it's all right, it works perfectly
@illusionfield i just released a new version of package with some bug fixes: support .sass file and source map. Help me to compatible with osx architecture. Thanks.
Evidently. Many thanks for your development. This will be the extension what I will use in the future.
I almost experienced this problem with the:
Error: Version lock for particle4dev:sass should never change. Recorded as {"pluginDependencies":{"compileSass":{}},"dependencies":{"meteor":"1.0.2","underscore":"1.0.0"},"toolVersion":"meteor-tool@1.0.26"}, calculated as {"dependencies":{"underscore":"1.0.0","meteor":"1.0.2"},"pluginDependencies":{"compileSass":{}},"toolVersion":"meteor-tool@1.0.27"}
at _.extend.recordDependencyVersions (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.27.1hlv28f++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/package-source.js:1438:13)
at Object.determineBuildTimeDependencies (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.27.1hlv28f++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/compiler.js:266:19)
at /Users/hoffyx/.meteor/packages/meteor-tool/.1.0.27.1hlv28f++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands-packages.js:408:20
at /Users/hoffyx/.meteor/packages/meteor-tool/.1.0.27.1hlv28f++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:186:11
at _.extend.withValue (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.27.1hlv28f++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
at /Users/hoffyx/.meteor/packages/meteor-tool/.1.0.27.1hlv28f++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:183:27
at _.extend.withValue (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.27.1hlv28f++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
at /Users/hoffyx/.meteor/packages/meteor-tool/.1.0.27.1hlv28f++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:181:16
at _.extend.withValue (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.27.1hlv28f++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/fiber-helpers.js:112:14)
at Object.capture (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.27.1hlv28f++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/buildmessage.js:172:21)
at main.registerCommand.name [as func] (/Users/hoffyx/.meteor/packages/meteor-tool/.1.0.27.1hlv28f++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/commands-packages.js:380:31)
at /Users/hoffyx/.meteor/packages/meteor-tool/.1.0.27.1hlv28f++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/main.js:1224:23
hoffyx@hoffy-imac:~/work/holvet/packages/particle4dev:sass$ meteor publish-for-arch particle4dev:sass@0.2.7-osx
I don't know what can be in the background. I don't understand why does it not work. As a quick solution, I will use like the last time that I solved this problem: particle4dev:sass@0.2.5-osx.
Which version of meteor you're using ? I think we arent using same version of meteor.I am using meteor 0.9.0.1 and tool 1.0.26.
I would not thought that the "meteor-tool" is updated. Sorry about it, at the moment I am using "meteor@0.9.1", "meteor-tool@1.0.27" ( I wasn't aware that it was updated) - so I was a bit superficial.
So the solution could be: could you prepare an update for meteor@0.9.1 After it could you publish a new version using this parameters particle4dev:sass@0.2.7.1 When you are done it, I will try to use publish-for-arch
Done, version 0.2.8 are released !
thx, i'm ready. please tagging github the new version, because in terms of new "meteor add" instead of it, it do not work correctly.
Hi, just add you to the repo. Feel free to push updates if you want. Sorry, I'm kinda busy this week :D Thanks
@illusionfield just found out that it didn't throw error when compile is failed, Fixed !!! Help me to compatible with osx architecture. sorry if I did bother you
hi, was already done. I can see the update immediately do it.
thus verifiable:
meteor show particle4dev:sass@version
hoffy@hoffy-imac:~/work$ meteor show particle4dev:sass@0.2.9
Refreshing package metadata. This may take a moment.
Version 0.2.9 : SASS for meteor
Architectures: os.linux.x86_64+web.browser+web.cordova os.osx.x86_64+web.browser+web.cordova
Maintained by particle4dev,illusionfield at https://github.com/particle4dev/meteor-sass.git.
I use all development this package.
@illusionfield Hey, i just update node sass to 0.9.4. Now we can use source map in chrome devtools, it pretty awesome :D. Help me to compatible with osx architecture. Really busy here because I have a few project coming along. Feel free to push updates if you want. Many thanks.
@particle4dev I think the recent update to 0.9.4 is breaking things for OS X users.
I get Package particle4dev:sass has no compatible build for version 0.3.01
.
I've tried doing meteor add particle4dev:sass@0.2.9
, but I still get the same error.
@illusionfield your version works for me when trying to get sass working for Meteor on OS X.
For anyone having trouble with this package on a Mac:
meteor add illusionfield:meteor-sass
@alecjacobs Hey, you can clone this repo into packages folder and run it like local package. btw it is 0.3.0 not 0.3.01
working
~$ meteor publish-for-arch particle4dev:sass@0.3.0
compileSass: updating npm dependencies -- node-sass...
Bundling build...
Creating package build...
Uploading build...
Publishing package build...
Published particle4dev:sass, version 0.3.0
Done!
finally extended
: SASS for meteor
Architectures: os.linux.x86_64+web.browser+web.cordova os.osx.x86_64+web.browser+web.cordova
Maintained by particle4dev and illusionfield.
You can find the git repository at https://github.com/particle4dev/meteor-sass.git.
@alecjacobs q0.2.9 Which did not work? 0.2.9 or 0.2.9-c 0.2.9-c quick include path support (more info more info how-what: https://github.com/illusionfield/meteor-extensible-ui) I have not noticed an error
Hi, I apologize in advance, I do not speak English...
I'm using OSX and I would like to create a "publish-for-arch" osx/64 version, if I sensed for now only linux build available this NPM depends. how can I supplement the package, or what solutions exist to the problem? many thanks