ThisJustin Posted June 29, 2021 Posted June 29, 2021 Hello, I'm wondering if anyone has had success installing the local development server on a Apple M1 (ARM64) device? I keep running into an error, and I'm not sure what the issue is. Error log is below. Thanks in advance! justineverett@MacBook-Air template % sudo npm install @squarespace/server npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! code 1 npm ERR! path /Users/justineverett/Alimentaria/template/node_modules/@squarespace/server npm ERR! command failed npm ERR! command sh -c node scripts/execif.js --exists=build npm run bundle && npm run cleanupscript npm ERR! Executing: npm run bundle npm ERR! npm ERR! > @squarespace/server@1.8.2 bundle npm ERR! > node scripts/bundlejre.js --accept --clear -tz -j 8u131 -o build/distributions/runtimes/jre npm ERR! npm ERR! Bundling compatible JRE (This may take a while) npm ERR! /Users/justineverett/Alimentaria/template/node_modules/@squarespace/server/scripts/utils/jreurl.js:36 npm ERR! var sortedVersions = versions.sort().reverse(); npm ERR! ^ npm ERR! npm ERR! TypeError: Cannot read property 'sort' of undefined npm ERR! at getVersion (/Users/justineverett/Alimentaria/template/node_modules/@squarespace/server/scripts/utils/jreurl.js:36:33) npm ERR! at module.exports (/Users/justineverett/Alimentaria/template/node_modules/@squarespace/server/scripts/utils/jreurl.js:51:13) npm ERR! at main (/Users/justineverett/Alimentaria/template/node_modules/@squarespace/server/scripts/bundlejre.js:53:13) npm ERR! at Object.<anonymous> (/Users/justineverett/Alimentaria/template/node_modules/@squarespace/server/scripts/bundlejre.js:79:1) npm ERR! at Module._compile (node:internal/modules/cjs/loader:1109:14) npm ERR! at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10) npm ERR! at Module.load (node:internal/modules/cjs/loader:989:32) npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:829:14) npm ERR! at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) npm ERR! at node:internal/main/run_main_module:17:47 npm ERR! Command failed: npm run bundle npm ERR! A complete log of this run can be found in: npm ERR! /Users/justineverett/.npm/_logs/2021-06-29T19_05_01_492Z-debug.log paul2009 1
Alexander_SQSP Posted June 30, 2021 Posted June 30, 2021 Hello @ThisJustin, Thanks for posting your question! This error is caused by an issue our end, I'm sorry for the trouble. Unfortunately the Development Server does not support the ARM-based architecture your M1 Mac is using. I made a record of this for our Engineering to review, however I do not not currently have an ETA for this implementation. Feel free to post in the thread if you have any additional questions! paul2009, Amaya_SQSP and ThisJustin 1 2 Build together: Together, we make up a community of Squarespace professionals. Lean on your fellow community members for support and welcome diverse perspectives. Work in progress: Trust that we are all working for the collective good of Circle members and their clients. Keep it light mode: Balance productivity with joyful creativity and curiosity.
jamestill Posted February 2, 2022 Posted February 2, 2022 hey, bumping to see if there is a fix or work around anyone has found. I'm dealing with the same Warning messages. ThisJustin 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment