Comments (5)
Can confirm it works with this in M1 Max machine:
❯ npm version
{
npm: '8.5.0',
node: '16.14.2',
v8: '9.4.146.24-node.20',
...
}
Updating to latest (18.18.2) in the same machine ends up in the same error for me:
❯ npm version
{
npm: '9.8.1',
node: '18.18.2',
v8: '10.2.154.26-node.26',
...
}
❯ make dist
[...]
ssets by status 1.32 KiB [cached] 1 asset
./src/index.tsx 39 bytes [built] [code generated] [1 error]
ERROR in ./src/index.tsx
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at filename (/private/var/folders/cv/mtjj2qh95ln7sz6l3wd2r8v80000gn/T/tmp.2kzRWN2W/mattermost-plugin-google-calendar/webapp/node_modules/babel-loader/lib/cache.js:94:23)
at /private/var/folders/cv/mtjj2qh95ln7sz6l3wd2r8v80000gn/T/tmp.2kzRWN2W/mattermost-plugin-google-calendar/webapp/node_modules/babel-loader/lib/cache.js:120:39
at Generator.next (<anonymous>)
at asyncGeneratorStep (/private/var/folders/cv/mtjj2qh95ln7sz6l3wd2r8v80000gn/T/tmp.2kzRWN2W/mattermost-plugin-google-calendar/webapp/node_modules/babel-loader/lib/cache.js:3:103)
at _next (/private/var/folders/cv/mtjj2qh95ln7sz6l3wd2r8v80000gn/T/tmp.2kzRWN2W/mattermost-plugin-google-calendar/webapp/node_modules/babel-loader/lib/cache.js:5:194)
at /private/var/folders/cv/mtjj2qh95ln7sz6l3wd2r8v80000gn/T/tmp.2kzRWN2W/mattermost-plugin-google-calendar/webapp/node_modules/babel-loader/lib/cache.js:5:364
at new Promise (<anonymous>)
at /private/var/folders/cv/mtjj2qh95ln7sz6l3wd2r8v80000gn/T/tmp.2kzRWN2W/mattermost-plugin-google-calendar/webapp/node_modules/babel-loader/lib/cache.js:5:97
webpack 5.75.0 compiled with 1 error in 480 ms
make: *** [webapp] Error 1
Potentially a dependency we need to upgrade for the latest version. In the meanwhile, try to use 16.20. You can setup different versions locally with nvm.
I will take a look at upgrading the dependencies to latest versions.
from mattermost-plugin-google-calendar.
Can you share specific versions of node and npm so I can try to replicate in my M2 Pro machine? In my work M1 it works as expected, but npm/node versions are pinned around for some projects.
from mattermost-plugin-google-calendar.
Hi @fmartingr ,
{
npm: '10.2.1',
node: '21.0.0',
acorn: '8.10.0',
ada: '2.6.10',
ares: '1.20.1',
base64: '0.5.0',
brotli: '1.1.0',
cjs_module_lexer: '1.2.2',
cldr: '43.1',
icu: '73.2',
llhttp: '9.1.2',
modules: '120',
napi: '9',
nghttp2: '1.57.0',
openssl: '3.1.3',
simdutf: '3.2.18',
tz: '2023c',
undici: '5.26.3',
unicode: '15.0',
uv: '1.46.0',
uvwasi: '0.0.19',
v8: '11.8.172.13-node.12',
zlib: '1.2.12'
}
Hope that helps!
from mattermost-plugin-google-calendar.
We've just tested it on a macBook Air M1 with these versions:
{
npm: '10.2.0',
node: '18.18.2',
acorn: '8.10.0',
ada: '2.6.0',
ares: '1.19.1',
brotli: '1.0.9',
cldr: '43.1',
icu: '73.2',
llhttp: '6.0.11',
modules: '108',
napi: '9',
nghttp2: '1.57.0',
nghttp3: '0.7.0',
ngtcp2: '0.8.1',
openssl: '3.0.10+quic',
simdutf: '3.2.14',
tz: '2023c',
undici: '5.26.3',
unicode: '15.0',
uv: '1.44.2',
uvwasi: '0.0.18',
v8: '10.2.154.26-node.26',
zlib: '1.2.13.1-motley'
}
Doesn't work either.
from mattermost-plugin-google-calendar.
Using nvm to change my node's version to 16.x and then run 'make dist' works just fine.
from mattermost-plugin-google-calendar.
Related Issues (20)
- Share summary list in channel
- Review compatibility with HA
- I assume this is dead? HOT 2
- make fails HOT 1
- Make command failed
- Make command failed HOT 4
- `/gcal viewcal` mentions "showing events for the upcoming week" but shows 2 weeks of events HOT 1
- Allow users to RSVP events in event reminders in DMs
- Allow event change notifications for Google Calendar
- Switch time inputs to `input[type="time"]`
- `/gcal viewcal` and daily summary show up declined events HOT 1
- Don't send two notifications for upcoming meeting
- Use Custom Status and times from Calendar sync HOT 3
- Unable to view calendars shared to user HOT 1
- [Request] Customizable reminder timing
- Regenerating the encryption key should delete plugin records from the key value store HOT 2
- Set a better status when in calls - Away doesn't really tell the right story HOT 1
- Missing option to link events to a channel for reminders. HOT 3
- Trying to apply a user settings fails with a 400 bad request error HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mattermost-plugin-google-calendar.