You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling element-web fails on FreeBSD with the following error:
ModuleNotFoundError: Module not found: Error: Can't resolve '../component-index'
in '/usr/ports/net-im/element-web/work/element-web-1.7.7/src/vector'
This can be trace back to:
$ node_modules/.bin/reskindex -h src/header
Error moving new index into place: Error: ENOENT: no such file or directory, rename 'src/component-index.js.tmp' -> 'src/component-index.js'
Surprisingly, the rename happens before component-index.js.tmp is written out.
This is FreeBSD 12.2-RELEASE, node 15.2.0, yarn 1.22.4_1
Note that it used to work before, so I assume something changed in the way node or yarn works.
A quick work around is to run reskindex twice.
Steps to reproduce
In the makefile of my port I have:
do-build:
{
cd ${WRKSRC};
pwd;
yarn install;
cp config.sample.json config.json;
DIST_VERSION="${DISTVERSION}" yarn dist;
rm config.json;
}
The result is that I can't compile element-web anymore.
Logs being sent: yes/no
Version information
Platform: web (in-browser) or desktop?
For the web app:
Browser: Chrome, Safari, Firefox? which version?
OS: Windows, macOS, Ubuntu, Arch Linux, etc?
URL: develop.element.io / app.element.io / somewhere else? If a private server, what version of Element Web?
For the desktop app:
OS: Windows, macOS, Ubuntu, Arch Linux, etc?
Version: 1.x.y
The text was updated successfully, but these errors were encountered:
Description
Compiling element-web fails on FreeBSD with the following error:
ModuleNotFoundError: Module not found: Error: Can't resolve '../component-index'
in '/usr/ports/net-im/element-web/work/element-web-1.7.7/src/vector'
This can be trace back to:
$ node_modules/.bin/reskindex -h src/header
Error moving new index into place: Error: ENOENT: no such file or directory, rename 'src/component-index.js.tmp' -> 'src/component-index.js'
Surprisingly, the rename happens before component-index.js.tmp is written out.
This is FreeBSD 12.2-RELEASE, node 15.2.0, yarn 1.22.4_1
Note that it used to work before, so I assume something changed in the way node or yarn works.
A quick work around is to run reskindex twice.
Steps to reproduce
In the makefile of my port I have:
do-build:
{
cd ${WRKSRC};
pwd;
yarn install;
cp config.sample.json config.json;
DIST_VERSION="${DISTVERSION}" yarn dist;
rm config.json;
}
The result is that I can't compile element-web anymore.
Logs being sent: yes/no
Version information
For the web app:
For the desktop app:
The text was updated successfully, but these errors were encountered: