Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Can't run $ npm start without error #358

Open
erok415 opened this issue Apr 3, 2020 · 3 comments
Open

Can't run $ npm start without error #358

erok415 opened this issue Apr 3, 2020 · 3 comments

Comments

@erok415
Copy link

erok415 commented Apr 3, 2020

emulsify version (see releases):
[email protected]

node version:
v8.17.0

npm (or yarn) version:
6.13.4

What you did:
After running $ npm install, I'm having issues running $ npm start

What happened:

> [email protected] start /Users/ErikCochran/Sites/GitHub/evat/web/themes/custom/eventsat
> gulp compile && gulp theme

[10:29:10] Using gulpfile ~/Sites/GitHub/evat/web/themes/custom/eventsat/gulpfile.js
[10:29:10] Starting 'imagemin'...
[10:29:10] Finished 'imagemin' after 87 ms
[10:29:10] Starting 'icons'...
[10:29:10] Finished 'icons' after 18 ms
[10:29:10] Starting 'pl:scss-to-yaml'...
[10:29:10] Finished 'pl:scss-to-yaml' after 11 ms
[10:29:10] Starting 'pl:full'...
configuring pattern lab...
[10:29:12] gulp-imagemin: Minified 0 images
PHP Notice:  Array to string conversion in /[project-hidden ThemeName]/pattern-lab/vendor/twig/twig/src/Environment.php(497) : eval()'d code on line 39
PHP Warning:  strtr() expects parameter 1 to be string, array given in [project-hidden ThemeName]/pattern-lab/vendor/twig/twig/src/Extension/CoreExtension.php on line 521
PHP Notice:  Array to string conversion in [project-hidden ThemeName]/pattern-lab/vendor/twig/twig/src/Environment.php(497) : eval()'d code on line 51
PHP Notice:  Array to string conversion in [project-hidden ThemeName]/pattern-lab/vendor/twig/twig/src/Environment.php(497) : eval()'d code on line 156
PHP Notice:  Array to string conversion in [project-hidden ThemeName]/pattern-lab/vendor/twig/twig/src/Environment.php(497) : eval()'d code on line 70
PHP Notice:  Array to string conversion in [project-hidden ThemeName]/pattern-lab/vendor/twig/twig/src/Environment.php(497) : eval()'d code on line 51
PHP Notice:  Array to string conversion in [project-hidden ThemeName]/pattern-lab/vendor/twig/twig/src/Environment.php(497) : eval()'d code on line 70
PHP Notice:  Array to string conversion in [project-hidden ThemeName]/pattern-lab/vendor/twig/twig/src/Environment.php(497) : eval()'d code on line 51
PHP Warning:  strip_tags() expects parameter 1 to be string, array given in [project-hidden ThemeName]/pattern-lab/vendor/twig/twig/src/Environment.php(497) : eval()'d code on line 63
PHP Notice:  Array to string conversion in [project-hidden ThemeName]/pattern-lab/vendor/twig/twig/src/Environment.php(497) : eval()'d code on line 62
PHP Fatal error:  Uncaught Twig\Error\SyntaxError: Unknown "url" function in "{#
/**
 * @file
 * Template for the order receipt.
 *
 * Available variables:
 * - order_entity: The order entity.
 * - billing_information: The billing information.
 * - shipping_information: The shipping information.
 * - payment_method: The payment method.
 * - totals: An array of order totals values with the following keys:
 *   - subtotal: The order subtotal price.
 *   - adjustments: An array of adjustment totals:
 *     - type: The adjustment type.
 *     - label: The adjustment label.
 *     - total: The adjustment total price.
 *     - weight: The adjustment weight, taken from the adjustment type.
 *   - total: The order total price.
 *
 * @ingroup themeable
 */
#}
<table style="margin: 15px auto 0 auto; max-width: 768px; font-family: arial,sans-serif;">
  <tbody>
  <tr>
    <td>
      <table style="margin-left: auto; margin-right: auto; max-width: 768px; text-align: center;">
        <tbody>
        <tr>
          <td>
            <a href=" in /[project-hidden ThemeName]/pattern-lab/vendor/twig/twig/src/ExpressionParser.php on line 758

Fatal error: Uncaught Twig\Error\SyntaxError: Unknown "url" function in "{#
/**
 * @file
 * Template for the order receipt.
 *
 * Available variables:
 * - order_entity: The order entity.
 * - billing_information: The billing information.
 * - shipping_information: The shipping information.
 * - payment_method: The payment method.
 * - totals: An array of order totals values with the following keys:
 *   - subtotal: The order subtotal price.
 *   - adjustments: An array of adjustment totals:
 *     - type: The adjustment type.
 *     - label: The adjustment label.
 *     - total: The adjustment total price.
 *     - weight: The adjustment weight, taken from the adjustment type.
 *   - total: The order total price.
 *
 * @ingroup themeable
 */
#}
<table style="margin: 15px auto 0 auto; max-width: 768px; font-family: arial,sans-serif;">
  <tbody>
  <tr>
    <td>
      <table style="margin-left: auto; margin-right: auto; max-width: 768px; text-align: center;">
        <tbody>
        <tr>
          <td>
            <a href=" in [project-hidden]/web/themes/custom/[theme]/pattern-lab/vendor/twig/twig/src/ExpressionParser.php on line 758
Error with code 255 after running: php pattern-lab/core/console --generate
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! [email protected] start: `gulp compile && gulp theme`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the [email protected] start 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!     /Users/ErikCochran/.npm/_logs/2020-04-03T17_29_13_290Z-debug.log

Reproduction repository (if necessary):

Problem description:
I can't run npm install

Suggested solution:

@welcome
Copy link

welcome bot commented Apr 3, 2020

Thanks for opening your first issue here! Be sure to follow the issue template!

@erok415
Copy link
Author

erok415 commented Apr 3, 2020

FYI, after running npm install, this is the output:

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=0.10.0 <7"} (current: {"node":"13.12.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN [email protected] requires a peer of gulp@>=4 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.

added 1898 packages from 1601 contributors and audited 21457 packages in 225.95s

51 packages are looking for funding
  run `npm fund` for details

found 25 vulnerabilities (8 low, 1 moderate, 15 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

@evanmwillhite
Copy link
Contributor

@erok415 thank you for letting us know, but we recently deprecated this package in lieu of releasing the new Emulsify - see the README for details. Here are some quick links in case they help:

If you or anyone is interested in maintaining this deprecated package, we are open to making that access possible. But Four Kitchens is pouring all our time/energy into the other now. Thanks again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants