Axolotl on PinePhone / Mobian
#21
(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.
  Reply
#22
(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
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
  Reply
#23
(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!
  Reply
#24
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.
  Reply
#25
(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
  Reply
#26
(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.
  Reply
#27
(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.
  Reply
#28
(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?
  Reply
#29
(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.
  Reply
#30
(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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  atinout binaries for mobian/debian? NeutralGrey 4 1,319 10-31-2024, 04:16 AM
Last Post: astylethargic
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 39 8,245 10-15-2024, 01:12 PM
Last Post: anonymous
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 1 799 06-25-2024, 10:38 AM
Last Post: mikehenson
  Mobian-Kicksecure? 3460p 0 809 05-26-2024, 02:09 PM
Last Post: 3460p
  Mobian repository status henrythemouse 16 12,039 04-10-2024, 10:02 AM
Last Post: diederik
  cant verify mobian image at website gnugpg penguins_rule 0 872 03-18-2024, 08:54 PM
Last Post: penguins_rule
  unofficial kali linux for pinephone help needed pinesmell 5 5,022 01-08-2024, 02:50 PM
Last Post: ERPlegend
  mobian installed to eMMC - how to install tow-boot grump_fiddle_reinstall 6 3,908 11-22-2023, 11:46 AM
Last Post: aLoop100o
  What actions needed to keep on mobian testing user641 3 2,578 09-05-2023, 06:44 AM
Last Post: Zebulon Walton
  Mobian boot failed with zstd message after upgrade. Mahgue 0 968 09-01-2023, 11:29 AM
Last Post: Mahgue

Forum Jump:


Users browsing this thread: 5 Guest(s)