question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to build on linux

See original GitHub issue

Unable to build with 4.1.2 whenever I try to make release or make dev (all), I get these errors: I followed the instructions in here https://m.conversejs.org/docs/html/development.html When I ran npm install, the directory headless was empty, so I had to run: npm install -save-dev @converse/headless which got rid of the headless related errors, and now I get these errors:

`ERROR in ./node_modules/@converse/headless/templates/field.html 1:0 Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type.

<field var="{{{o.name}}}">

| {[ if (o.value.constructor === Array) { ]} | {[ o.value.forEach(function (arrayValue) { ]}<value>{{{arrayValue}}}</value>{[ }); ]} @ ./node_modules/@converse/headless/utils/form.js 10:0-48 30:8-17 @ ./src/converse-register.js @ ./src/converse.js

ERROR in ./node_modules/@converse/headless/templates/vcard.html 1:0 Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type.

<vCard xmlns="vcard-temp">

| <FN>{{{o.fn}}}</FN> | <NICKNAME>{{{o.nickname}}}</NICKNAME> @ ./node_modules/@converse/headless/converse-vcard.js 9:0-47 98:49-58 @ ./src/converse.js `

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kalabantascommented, Mar 8, 2019

Thanks JCBrand for the prompt reply, and the excellent software, with organized code, and great plugin structure. It helps a lot in organizing the code, and isolating devlopers work from the main plugin. Hope that this turns to an industry standard. I tried the make clean && make dist , yes, it got the @converse/headless however. I get this error:

ERROR in ./node_modules/@converse/headless/templates/field.html 1:0 Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type.

<field var="{{{o.name}}}">

| {[ if (o.value.constructor === Array) { ]} | {[ o.value.forEach(function (arrayValue) { ]}<value>{{{arrayValue}}}</value>{[ }); ]} @ ./node_modules/@converse/headless/utils/form.js 10:0-48 30:8-17 @ ./src/converse-register.js @ ./src/converse.js

ERROR in ./node_modules/@converse/headless/templates/vcard.html 1:0 Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type.

<vCard xmlns="vcard-temp">

| <FN>{{{o.fn}}}</FN> | <NICKNAME>{{{o.nickname}}}</NICKNAME> @ ./node_modules/@converse/headless/converse-vcard.js 9:0-47 98:49-58 @ ./src/converse.js

Any ideas?

0reactions
jcbrandcommented, Jun 4, 2019

I think those errors are related to Lerna and lerna bootstrap --hoist not being called.

Should be fixed by now. Please reopen if you still have the same problem with the latest version in the master branch.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to generate build files for Linux · Issue #104239 - GitHub
My app used to compile/build without any issues on all platforms. A few weeks back, my operating system, Pop OS, upgraded from 21.10...
Read more >
ERROR: Failed to build linux - Unix Stack Exchange
While compiling linux, I get following error: [ALL ] CC drivers/usb/otg/ulpi_viewport.o [ALL ] LD drivers/usb/phy/built-in.o [ALL ] LD ...
Read more >
[SOLVED] Unable to Build from Source / Newbie Corner / Arch ...
Hi All,. I am having a bit of an issue with building from source and I am sure that I am doing something...
Read more >
Unable to build/install gcc9 - AUR - Manjaro Linux Forum
I am new to Manjaro and intend to install gcc9. I know version 9 is terribly outdated, but I have some code that...
Read more >
Unable to build from source (Ubuntu) - MongoDB
I have a total of 8GB ram, and 8GB swap space. While building mongo from source, the usage goes out of bounds, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found