PINE64
Axolotl on PinePhone / Mobian - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Axolotl on PinePhone / Mobian (/showthread.php?tid=12047)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


RE: Axolotl on PinePhone / Mobian - arno_nuehm - 01-26-2021

(01-25-2021, 05:17 PM)arno_nuehm Wrote:
(01-19-2021, 04:16 PM)dukla2000 Wrote:
(12-16-2020, 07:06 PM)arno_nuehm Wrote: ...
Axolotl 0.9.0.1 is now running with qmlscene on the latest fde-image (20201215). I updated the Mobian Wiki - Manual install.
...

 I have just followed the steps under "Manual install" with no major problems (BTW npm install ran about 25 minutes) until
Code:
mobian@duklapp:~/go/src/github.com/nanu-c/axolotl/axolotl-web$ npm run build

> axolotl-web@0.1.0 build
> vue-cli-service build


⠹  Building for production...

ERROR  Failed to compile with 3 errors                                                                                                                    22:09:47

error  in ./src/assets/dark.scss

Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Node Sass does not yet support your current environment: Linux Unsupported architecture (arm64) with Node.js 12.x
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
    at module.exports (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/node-sass/lib/binding.js:13:13)
    at Object.<anonymous> (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at getDefaultSassImplementation (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/sass-loader/dist/getDefaultSassImplementation.js:24:10)
    at getSassImplementation (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/sass-loader/dist/getSassImplementation.js:19:72)
    at Object.loader (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/sass-loader/dist/index.js:40:61)
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/webpack/lib/NormalModule.js:316:20
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at runSyncOrAsync (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:143:3)
    at iterateNormalLoaders (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at Array.<anonymous> (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/graceful-fs/graceful-fs.js:115:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)

@ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js& 33:2-30
@ ./src/App.vue?vue&type=script&lang=js&
@ ./src/App.vue
@ ./src/main.js
@ multi ./src/main.js

error  in ./src/assets/light.scss

Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Node Sass does not yet support your current environment: Linux Unsupported architecture (arm64) with Node.js 12.x
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
    at module.exports (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/node-sass/lib/binding.js:13:13)
    at Object.<anonymous> (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at getDefaultSassImplementation (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/sass-loader/dist/getDefaultSassImplementation.js:24:10)
    at getSassImplementation (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/sass-loader/dist/getSassImplementation.js:19:72)
    at Object.loader (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/sass-loader/dist/index.js:40:61)
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/webpack/lib/NormalModule.js:316:20
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at runSyncOrAsync (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:143:3)
    at iterateNormalLoaders (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at Array.<anonymous> (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:55:16)
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:91:9
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/graceful-fs/graceful-fs.js:115:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)

@ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js& 35:2-31
@ ./src/App.vue?vue&type=script&lang=js&
@ ./src/App.vue
@ ./src/main.js
@ multi ./src/main.js

error  in ./src/components/Message.vue?vue&type=style&index=0&id=b1b7f866&lang=scss&scoped=true&

Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Error: Node Sass does not yet support your current environment: Linux Unsupported architecture (arm64) with Node.js 12.x
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.14.1
    at module.exports (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/node-sass/lib/binding.js:13:13)
    at Object.<anonymous> (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at getDefaultSassImplementation (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/sass-loader/dist/getDefaultSassImplementation.js:24:10)
    at getSassImplementation (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/sass-loader/dist/getSassImplementation.js:19:72)
    at Object.loader (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/sass-loader/dist/index.js:40:61)
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/webpack/lib/NormalModule.js:316:20
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at runSyncOrAsync (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:143:3)
    at iterateNormalLoaders (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:232:2)
    at iterateNormalLoaders (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at context.callback (/home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/cache-loader/dist/index.js:147:7
    at /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web/node_modules/graceful-fs/graceful-fs.js:57:14
    at FSReqCallback.oncomplete (fs.js:156:23)

@ ./src/components/Message.vue?vue&type=style&index=0&id=b1b7f866&lang=scss&scoped=true& 1:0-532 1:548-551 1:553-1082 1:553-1082
@ ./src/components/Message.vue
@ ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/pages/MessageList.vue?vue&type=script&lang=js&
@ ./src/pages/MessageList.vue?vue&type=script&lang=js&
@ ./src/pages/MessageList.vue
@ ./src/router/router.js
@ ./src/main.js
@ multi ./src/main.js

ERROR  Build failed with errors.
npm ERR! code 1
npm ERR! path /home/mobian/go/src/github.com/nanu-c/axolotl/axolotl-web
npm ERR! command failed
npm ERR! command sh -c vue-cli-service build

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/mobian/.npm/_logs/2021-01-19T22_09_48_338Z-debug.log
mobian@duklapp:~/go/src/github.com/nanu-c/axolotl/axolotl-web$

I absolutely haven't a clue what I am doing - I am merely following the recipe, so any suggestions welcome!

TIA

Previous step seems to have been fine:
Code:
mobian@duklapp:~/go/src/github.com/nanu-c/axolotl/axolotl-web$ npm install

added 1753 packages, and audited 1820 packages in 25m

7 packages are looking for funding
  run `npm fund` for details

1 low severity vulnerability

To address all issues, run:
  npm audit fix

Run `npm audit` for details.
mobian@duklapp:~/go/src/github.com/nanu-c/axolotl/axolotl-web$


Hello there,

I tested the manual install of Axolotl 0.9.4 with a fresh Mobian (FDE-Installer 20201215) and all the latest updates. And I got the same error message at
Code:
npm run build

I will post an issue on github tomorrow; hopefully 0.9.5 fixes that. I'm still running 0.9.0.1 on my daily driver...

Cheers


Issue resolved.

The rebuild of node-sass didn't work the first time. The second time takes much longer but leads to a successful npm run build.


RE: Axolotl on PinePhone / Mobian - dukla2000 - 01-28-2021

(01-26-2021, 03:25 PM)arno_nuehm Wrote: ...
Issue resolved.

The rebuild of node-sass didn't work the first time. The second time takes much longer but leads to a successful npm run build.

A huge thank you - started again on a fresh debos build and have Axolotl up and running. First pass through had same errors for re-started from rebuild of node-sass and all went fine.

This is soo exciting: Signal was the one app that I really have missed on my PP - I have migrated lots to Telegram but will be looking to move back to Axolotl!

Thank you again


RE: Axolotl on PinePhone / Mobian - arno_nuehm - 01-29-2021

(01-28-2021, 05:47 PM)dukla2000 Wrote:
(01-26-2021, 03:25 PM)arno_nuehm Wrote: ...
Issue resolved.

The rebuild of node-sass didn't work the first time. The second time takes much longer but leads to a successful npm run build.

A huge thank you - started again on a fresh debos build and have Axolotl up and running. First pass through had same errors for re-started from rebuild of node-sass and all went fine.

This is soo exciting: Signal was the one app that I really have missed on my PP - I have migrated lots to Telegram but will be looking to move back to Axolotl!

Thank you again


Glad to hear!


RE: Axolotl on PinePhone / Mobian - ragreenburg - 01-31-2021

I'm so confused how this seems to be working for everyone. I've run the code for the manual install 4 times at this point and it hasn't worked yet. It also isn't spitting out errors to me so I don't know why it isn't working. The last thing that pops up is a message about how a sqlite 3 function my return address of local variables.


RE: Axolotl on PinePhone / Mobian - arno_nuehm - 02-01-2021

(01-31-2021, 07:29 PM)ragreenburg Wrote: I'm so confused how this seems to be working for everyone. I've run the code for the manual install 4 times at this point and it hasn't worked yet. It also isn't spitting out errors to me so I don't know why it isn't working. The last thing that pops up is a message about how a sqlite 3 function my return address of local variables.

Hi,

that is indeed obscure. Are you running Mobian with all latest updates? And have you performed every command step-by-step?

If you can provide more details here, someone might find a clue.

I will update to Axolotl 0.9.6 today, too. So let's see, if that works for me.

Cheers


RE: Axolotl on PinePhone / Mobian - ragreenburg - 02-01-2021

(02-01-2021, 08:48 AM)arno_nuehm Wrote:
(01-31-2021, 07:29 PM)ragreenburg Wrote: I'm so confused how this seems to be working for everyone. I've run the code for the manual install 4 times at this point and it hasn't worked yet. It also isn't spitting out errors to me so I don't know why it isn't working. The last thing that pops up is a message about how a sqlite 3 function my return address of local variables.

Hi,

that is indeed obscure. Are you running Mobian with all latest updates? And have you performed every command step-by-step?

If you can provide more details here, someone might find a clue.

I will update to Axolotl 0.9.6 today, too. So let's see, if that works for me.

Cheers
I am up to date on Mobian and basically what I did was take the code section for the Manual Installation and made that into a shell script and just ran that.


RE: Axolotl on PinePhone / Mobian - arno_nuehm - 02-01-2021

(02-01-2021, 12:02 PM)ragreenburg Wrote:
(02-01-2021, 08:48 AM)arno_nuehm Wrote:
(01-31-2021, 07:29 PM)ragreenburg Wrote: I'm so confused how this seems to be working for everyone. I've run the code for the manual install 4 times at this point and it hasn't worked yet. It also isn't spitting out errors to me so I don't know why it isn't working. The last thing that pops up is a message about how a sqlite 3 function my return address of local variables.

Hi,

that is indeed obscure. Are you running Mobian with all latest updates? And have you performed every command step-by-step?

If you can provide more details here, someone might find a clue.

I will update to Axolotl 0.9.6 today, too. So let's see, if that works for me.

Cheers
I am up to date on Mobian and basically what I did was take the code section for the Manual Installation and made that into a shell script and just ran that.


My installation of 0.9.6 went fine.

Please follow the commands in the code section step-by-step - it's uncomfortable, but it works. And let me know, if it worked for you.


RE: Axolotl on PinePhone / Mobian - ragreenburg - 02-01-2021

(02-01-2021, 12:11 PM)arno_nuehm Wrote:
(02-01-2021, 12:02 PM)ragreenburg Wrote:
(02-01-2021, 08:48 AM)arno_nuehm Wrote:
(01-31-2021, 07:29 PM)ragreenburg Wrote: I'm so confused how this seems to be working for everyone. I've run the code for the manual install 4 times at this point and it hasn't worked yet. It also isn't spitting out errors to me so I don't know why it isn't working. The last thing that pops up is a message about how a sqlite 3 function my return address of local variables.

Hi,

that is indeed obscure. Are you running Mobian with all latest updates? And have you performed every command step-by-step?

If you can provide more details here, someone might find a clue.

I will update to Axolotl 0.9.6 today, too. So let's see, if that works for me.

Cheers
I am up to date on Mobian and basically what I did was take the code section for the Manual Installation and made that into a shell script and just ran that.


My installation of 0.9.6 went fine.

Please follow the commands in the code section step-by-step - it's uncomfortable, but it works. And let me know, if it worked for you.
I am getting the sqlite3 error on this line when I do it line by line:

env GOOS=linux GOARCH=arm64 go build -o build/linux-arm64/axolotl .

So should I just try and flash my SD card again and try from there?


RE: Axolotl on PinePhone / Mobian - arno_nuehm - 02-01-2021

(02-01-2021, 01:04 PM)ragreenburg Wrote:
(02-01-2021, 12:11 PM)arno_nuehm Wrote:
(02-01-2021, 12:02 PM)ragreenburg Wrote:
(02-01-2021, 08:48 AM)arno_nuehm Wrote:
(01-31-2021, 07:29 PM)ragreenburg Wrote: I'm so confused how this seems to be working for everyone. I've run the code for the manual install 4 times at this point and it hasn't worked yet. It also isn't spitting out errors to me so I don't know why it isn't working. The last thing that pops up is a message about how a sqlite 3 function my return address of local variables.

Hi,

that is indeed obscure. Are you running Mobian with all latest updates? And have you performed every command step-by-step?

If you can provide more details here, someone might find a clue.

I will update to Axolotl 0.9.6 today, too. So let's see, if that works for me.

Cheers
I am up to date on Mobian and basically what I did was take the code section for the Manual Installation and made that into a shell script and just ran that.


My installation of 0.9.6 went fine.

Please follow the commands in the code section step-by-step - it's uncomfortable, but it works. And let me know, if it worked for you.
I am getting the sqlite3 error on this line when I do it line by line:

env GOOS=linux GOARCH=arm64 go build -o build/linux-arm64/axolotl .

So should I just try and flash my SD card again and try from there?


No, spare yourself the work.

Was it an sqlite3 error or just a warning? And was the go build successful?

If it was just a warning and the build was successful, do the last two cp-commands and create the desktop-files.

It should work then.


RE: Axolotl on PinePhone / Mobian - ragreenburg - 02-01-2021

(02-01-2021, 02:32 PM)arno_nuehm Wrote:
(02-01-2021, 01:04 PM)ragreenburg Wrote:
(02-01-2021, 12:11 PM)arno_nuehm Wrote:
(02-01-2021, 12:02 PM)ragreenburg Wrote:
(02-01-2021, 08:48 AM)arno_nuehm Wrote: Hi,

that is indeed obscure. Are you running Mobian with all latest updates? And have you performed every command step-by-step?

If you can provide more details here, someone might find a clue.

I will update to Axolotl 0.9.6 today, too. So let's see, if that works for me.

Cheers
I am up to date on Mobian and basically what I did was take the code section for the Manual Installation and made that into a shell script and just ran that.


My installation of 0.9.6 went fine.

Please follow the commands in the code section step-by-step - it's uncomfortable, but it works. And let me know, if it worked for you.
I am getting the sqlite3 error on this line when I do it line by line:

env GOOS=linux GOARCH=arm64 go build -o build/linux-arm64/axolotl .

So should I just try and flash my SD card again and try from there?


No, spare yourself the work.

Was it an sqlite3 error or just a warning? And was the go build successful?

If it was just a warning and the build was successful, do the last two cp-commands and create the desktop-files.

It should work then.
It works so that I can see the app icon though it unfortunately isn't launching.