Comments (4)
Hi @augustomurri,
It is crashing with optional chaining operator π€.
I have no idea why isn't not working properly.
Could you use recommended version from .nvmrc
file https://github.com/Oksydan/falcon/blob/v2.3.1/_dev/.nvmrc altho it should work properly with node 16.
from falcon.
Mmm i am not very handy with node
root@TSUNAMINUTRITION-COM:/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev# nvm install 14.17.3
Downloading and installing node v14.17.3...
Downloading https://nodejs.org/dist/v14.17.3/node-v14.17.3-linux-x64.tar.xz...
############################################################################################################################################################################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v14.17.3 (npm v6.14.13)
root@TSUNAMINUTRITION-COM:/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev# node --version
v14.17.3
root@TSUNAMINUTRITION-COM:/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev# npm run build
> [email protected] build /var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev
> webpack --progress --mode=production --env stats=errors-only
10% building 0/8 entries 8/8 dependencies 0/8 modules/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/bin/esbuild:2
throw new Error(`esbuild: Failed to install correctly
^
Error: esbuild: Failed to install correctly
Make sure you don't have "ignore-scripts" set to true. You can check this with
"npm config get ignore-scripts". If that returns true you can reset it back to
false using "npm config set ignore-scripts false" and then reinstall esbuild.
If you're using npm v7, make sure your package-lock.json file contains either
"lockfileVersion": 1 or the code "hasInstallScript": true. If it doesn't have
either of those, then it is likely the case that a known bug in npm v7 has
corrupted your package-lock.json file. Regenerating your package-lock.json file
should fix this issue.
at Object.<anonymous> (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/bin/esbuild:2:7)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
at internal/main/run_main_module.js:17:47
[webpack-cli] HookWebpackError: The service is no longer running
at makeWebpackError (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/webpack/lib/HookWebpackError.js:48:9)
at /var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/webpack/lib/Compilation.js:3060:12
at eval (eval at create (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:85:1)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
-- inner error --
Error: The service is no longer running
at /var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:1261:29
at sendRequest (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:610:14)
at start (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:1259:9)
at Object.transform2 [as transform] (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:1309:5)
at /var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:1829:55
at new Promise (<anonymous>)
at Object.transform (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:1829:14)
at ESBuildMinifyPlugin.transform (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:1660:62)
at /var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild-loader/dist/minify-plugin.js:75:39
at Array.map (<anonymous>)
caused by plugins in Compilation.hooks.processAssets
Error: The service is no longer running
at /var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:1261:29
at sendRequest (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:610:14)
at start (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:1259:9)
at Object.transform2 [as transform] (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:1309:5)
at /var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:1829:55
at new Promise (<anonymous>)
at Object.transform (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:1829:14)
at ESBuildMinifyPlugin.transform (/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild/lib/main.js:1660:62)
at /var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev/node_modules/esbuild-loader/dist/minify-plugin.js:75:39
at Array.map (<anonymous>)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `webpack --progress --mode=production --env stats=errors-only`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-04-11T14_41_28_627Z-debug.log
root@TSUNAMINUTRITION-COM:/var/www/tsunaminutrition.com/themes/tsunaminutrition/_dev#
from falcon.
Ok solved by installing esbuild
npm install esbuild
from falcon.
Thatβs odd. Esbuild should be installed with esbuild-loader.
I happy that you managed to solve it. I am closing this issue. Feel free to open new issue if you face any problem.
from falcon.
Related Issues (20)
- π [BUG] - [FIX] promo code click doesn't work, wrong class to the link HOT 2
- π [BUG] - [FIX] in the checkout page the promo code is not added by click to the cart summary in ajax mode HOT 1
- Some resource not correctly linked after first installation HOT 6
- π [BUG] - unknown tag 'appendParamToUrl' when customer is set to a new group and only this one HOT 3
- π [BUG] - is_shoppingcart in displayNav2 hooks not work HOT 3
- π [BUG] - [Fix] writing error in customer/order-detail.tpl HOT 2
- π [REQUEST] - have the possibility of easily choosing a font-family different from the default one HOT 1
- π [REQUEST] - Replace twitter icon with the new X icon HOT 1
- π [REQUEST] - add an option to is_searchbar to add a category selection HOT 4
- π [REQUEST] - Reduce the preview.png size HOT 2
- π [BUG] - BIG problem with child theme - only the theme.css and theme.js files are loaded, the other three types of files are not loaded listing, product and checkout HOT 1
- π [BUG] - The preload tag is missing when the css compression is active HOT 3
- π [BUG] - [FIX] Graphical issue with ps_checkout module in payment list HOT 1
- π [BUG] - is_themecore doesn't create webp images HOT 7
- π [BUG] - [FIX] is_imageslider wrong use of the legend field, it should be used for the alt_text HOT 2
- π [BUG] - [FIX] into ps_languageselector.tpl and ps_currencyselector.tpl it is necessary to change aria-labelledby to aria-label to avoid an accessibility error HOT 2
- π [REQUEST] - is_searchbar add a field to its configuration page to choose the number of items to show in the window HOT 2
- [IMPROVEMENT] - sort-orders.tpl and per-page.tpl it is necessary to add aria-label to their select tag HOT 1
- π [BUG] - is_searchbar javascript error - TypeError: Cannot read properties of undefined (reading 'update') HOT 7
- π [BUG] - Some fix to do for the Product microdata 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 falcon.