npm list --depth=0)node -v): 8.11.2npm -v): 5.6.0yarn -v): 1.7.0On a new installation of laravel spark after running composer install, npm install, and npm run dev I'm getting an error
I've tried upgrading laravel mix to 2.1.11. I've tried replacing ^2.0 with 2.0. I've replaced every package that had ^ to be very specific. I googled. I tried replacing npm with yarn to install
npm
> @ dev /Users/joseph/Code/dataproof
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
95% emitting
ERROR Failed to compile with 50 errors 10:12:26 PM
These dependencies were not found:
* kiosk/add-discount in ./resources/assets/js/spark-components/kiosk/add-discount.js
* kiosk/profile in ./resources/assets/js/spark-components/kiosk/profile.js
* settings/payment-method/update-payment-method-stripe in ./resources/assets/js/spark-components/settings/payment-method/update-payment-method-stripe.js
* kiosk/users in ./resources/assets/js/spark-components/kiosk/users.js
* kiosk/metrics in ./resources/assets/js/spark-components/kiosk/metrics.js
* kiosk/announcements in ./resources/assets/js/spark-components/kiosk/announcements.js
* settings/payment-method/redeem-coupon in ./resources/assets/js/spark-components/settings/payment-method/redeem-coupon.js
* kiosk/kiosk in ./resources/assets/js/spark-components/kiosk/kiosk.js
* settings/payment-method/update-payment-method-braintree in ./resources/assets/js/spark-components/settings/payment-method/update-payment-method-braintree.js
* settings/payment-method/update-vat-id in ./resources/assets/js/spark-components/settings/payment-method/update-vat-id.js
* settings/invoices/update-extra-billing-information in ./resources/assets/js/spark-components/settings/invoices/update-extra-billing-information.js
* settings/invoices/invoice-list in ./resources/assets/js/spark-components/settings/invoices/invoice-list.js
* settings/subscription/cancel-subscription in ./resources/assets/js/spark-components/settings/subscription/cancel-subscription.js
* settings/subscription/subscribe-stripe in ./resources/assets/js/spark-components/settings/subscription/subscribe-stripe.js
* settings/invoices in ./resources/assets/js/spark-components/settings/invoices.js
* settings/payment-method-braintree in ./resources/assets/js/spark-components/settings/payment-method-braintree.js
* settings/payment-method-stripe in ./resources/assets/js/spark-components/settings/payment-method-stripe.js
* settings/subscription/resume-subscription in ./resources/assets/js/spark-components/settings/subscription/resume-subscription.js
* settings/subscription/update-subscription in ./resources/assets/js/spark-components/settings/subscription/update-subscription.js
* settings/subscription/subscribe-braintree in ./resources/assets/js/spark-components/settings/subscription/subscribe-braintree.js
* settings/security/update-password in ./resources/assets/js/spark-components/settings/security/update-password.js
* settings/subscription in ./resources/assets/js/spark-components/settings/subscription.js
* settings/api/tokens in ./resources/assets/js/spark-components/settings/api/tokens.js
* settings/api/create-token in ./resources/assets/js/spark-components/settings/api/create-token.js
* settings/api in ./resources/assets/js/spark-components/settings/api.js
* settings/teams/team-members in ./resources/assets/js/spark-components/settings/teams/team-members.js
* settings/security/disable-two-factor-auth in ./resources/assets/js/spark-components/settings/security/disable-two-factor-auth.js
* settings/security in ./resources/assets/js/spark-components/settings/security.js
* settings/security/enable-two-factor-auth in ./resources/assets/js/spark-components/settings/security/enable-two-factor-auth.js
* settings/teams/team-membership in ./resources/assets/js/spark-components/settings/teams/team-membership.js
* settings/teams/mailed-invitations in ./resources/assets/js/spark-components/settings/teams/mailed-invitations.js
* settings/teams/send-invitation in ./resources/assets/js/spark-components/settings/teams/send-invitation.js
* settings/teams/update-team-name in ./resources/assets/js/spark-components/settings/teams/update-team-name.js
* settings/teams/update-team-photo in ./resources/assets/js/spark-components/settings/teams/update-team-photo.js
* settings/teams/team-profile in ./resources/assets/js/spark-components/settings/teams/team-profile.js
* settings/teams/current-teams in ./resources/assets/js/spark-components/settings/teams/current-teams.js
* settings/teams/pending-invitations in ./resources/assets/js/spark-components/settings/teams/pending-invitations.js
* settings/teams/team-settings in ./resources/assets/js/spark-components/settings/teams/team-settings.js
* settings/teams in ./resources/assets/js/spark-components/settings/teams.js
* settings/teams/create-team in ./resources/assets/js/spark-components/settings/teams/create-team.js
* settings/profile/update-contact-information in ./resources/assets/js/spark-components/settings/profile/update-contact-information.js
* settings/profile/update-profile-photo in ./resources/assets/js/spark-components/settings/profile/update-profile-photo.js
* settings/settings in ./resources/assets/js/spark-components/settings/settings.js
* settings/profile in ./resources/assets/js/spark-components/settings/profile.js
* auth/register-stripe in ./resources/assets/js/spark-components/auth/register-stripe.js
* auth/register-braintree in ./resources/assets/js/spark-components/auth/register-braintree.js
* navbar/navbar in ./resources/assets/js/spark-components/navbar/navbar.js
* notifications/notifications in ./resources/assets/js/spark-components/notifications/notifications.js
* spark in ./resources/assets/js/app.js
* spark-bootstrap in ./resources/assets/js/app.js
To install them, you can run: npm install --save kiosk/add-discount kiosk/profile settings/payment-method/update-payment-method-stripe kiosk/users kiosk/metrics kiosk/announcements settings/payment-method/redeem-coupon kiosk/kiosk settings/payment-method/update-payment-method-braintree settings/payment-method/update-vat-id settings/invoices/update-extra-billing-information settings/invoices/invoice-list settings/subscription/cancel-subscription settings/subscription/subscribe-stripe settings/invoices settings/payment-method-braintree settings/payment-method-stripe settings/subscription/resume-subscription settings/subscription/update-subscription settings/subscription/subscribe-braintree settings/security/update-password settings/subscription settings/api/tokens settings/api/create-token settings/api settings/teams/team-members settings/security/disable-two-factor-auth settings/security settings/security/enable-two-factor-auth settings/teams/team-membership settings/teams/mailed-invitations settings/teams/send-invitation settings/teams/update-team-name settings/teams/update-team-photo settings/teams/team-profile settings/teams/current-teams settings/teams/pending-invitations settings/teams/team-settings settings/teams settings/teams/create-team settings/profile/update-contact-information settings/profile/update-profile-photo settings/settings settings/profile auth/register-stripe auth/register-braintree navbar/navbar notifications/notifications spark spark-bootstrap
fs.js:646
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open '/Users/joseph/Code/dataproof/public/css/app-rtl.css'
at Object.fs.openSync (fs.js:646:18)
at Object.fs.readFileSync (fs.js:551:33)
at File.read (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/File.js:163:19)
at File.version (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/File.js:172:25)
at Manifest.hash (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/Manifest.js:52:65)
at assets.data.files.map.file (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/tasks/VersionFilesTask.js:14:26)
at Array.map (<anonymous>)
at VersionFilesTask.run (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/tasks/VersionFilesTask.js:11:39)
at CustomTasksPlugin.runTask (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/webpackPlugins/CustomTasksPlugin.js:33:14)
at Mix.tasks.forEach.task (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/webpackPlugins/CustomTasksPlugin.js:9:44)
at Array.forEach (<anonymous>)
at Compiler.compiler.plugin.stats (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/webpackPlugins/CustomTasksPlugin.js:9:23)
at Compiler.applyPlugins (/Users/joseph/Code/dataproof/node_modules/tapable/lib/Tapable.js:61:14)
at emitRecords.err (/Users/joseph/Code/dataproof/node_modules/webpack/lib/Compiler.js:264:11)
at Compiler.emitRecords (/Users/joseph/Code/dataproof/node_modules/webpack/lib/Compiler.js:371:38)
at emitAssets.err (/Users/joseph/Code/dataproof/node_modules/webpack/lib/Compiler.js:258:10)
at applyPluginsAsyncSeries1.err (/Users/joseph/Code/dataproof/node_modules/webpack/lib/Compiler.js:364:12)
at next (/Users/joseph/Code/dataproof/node_modules/tapable/lib/Tapable.js:218:11)
at Compiler.compiler.plugin (/Users/joseph/Code/dataproof/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4)
at Compiler.applyPluginsAsyncSeries1 (/Users/joseph/Code/dataproof/node_modules/tapable/lib/Tapable.js:222:13)
at Compiler.afterEmit (/Users/joseph/Code/dataproof/node_modules/webpack/lib/Compiler.js:361:9)
at require.forEach.err (/Users/joseph/Code/dataproof/node_modules/webpack/lib/Compiler.js:350:15)
at /Users/joseph/Code/dataproof/node_modules/async/dist/async.js:473:16
at iteratorCallback (/Users/joseph/Code/dataproof/node_modules/async/dist/async.js:1064:13)
at /Users/joseph/Code/dataproof/node_modules/async/dist/async.js:969:16
at /Users/joseph/Code/dataproof/node_modules/graceful-fs/graceful-fs.js:43:10
at FSReqWrap.oncomplete (fs.js:135:15)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev 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/joseph/.npm/_logs/2018-06-07T05_12_26_587Z-debug.log
Are you sure that
./resources/assets/js/spark-components/
exists ?
I don't seem to be able to replicate this, try upgrade your node and npm versions.
@themsaid i'm 100% sure from today morning i was working on one app and its worked fine. accidentally i've updated npm then only this happen.

Finally i've got update from Node.js - read more here - https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/
after updating this everything works fine ๐
now my node -v is v8.11.2 and npm -v is 5.6.0
@ankurk91 - yes I see ./resources/assets/js/spark-components/ exists and things like auth, kiosk, navbar, notifcations, and settings are there. @themsaid and @joeljerushan I'll uninstall node, npm, and yarn and get back to you.
I ran brew uninstall node and re-installed it.
v10.4.0
6.1.0
I ran the same steps as above and have the same issue. I thought maybe I should say that I installed this through spark installer. Again, I just bought Spark yesterday. I created a new app just to test that.
โ ๎ฐ ~/Code ๎ฐ spark new dataproof
Crafting application...
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 70 installs, 0 updates, 0 removals
- Installing doctrine/inflector (v1.3.0): Loading from cache
- Installing doctrine/lexer (v1.0.1): Loading from cache
- Installing dragonmantank/cron-expression (v2.2.0): Loading from cache
- Installing erusev/parsedown (1.7.1): Loading from cache
- Installing vlucas/phpdotenv (v2.4.0): Loading from cache
- Installing symfony/css-selector (v4.1.0): Loading from cache
- Installing tijsverkoyen/css-to-inline-styles (2.2.1): Loading from cache
- Installing symfony/polyfill-php72 (v1.8.0): Loading from cache
- Installing symfony/polyfill-mbstring (v1.8.0): Loading from cache
- Installing symfony/var-dumper (v4.1.0): Loading from cache
- Installing symfony/routing (v4.1.0): Loading from cache
- Installing symfony/process (v4.1.0): Loading from cache
- Installing symfony/polyfill-ctype (v1.8.0): Loading from cache
- Installing symfony/http-foundation (v4.1.0): Loading from cache
- Installing symfony/event-dispatcher (v4.1.0): Loading from cache
- Installing psr/log (1.0.2): Loading from cache
- Installing symfony/debug (v4.1.0): Loading from cache
- Installing symfony/http-kernel (v4.1.0): Loading from cache
- Installing symfony/finder (v4.1.0): Loading from cache
- Installing symfony/console (v4.1.0): Loading from cache
- Installing egulias/email-validator (2.1.4): Loading from cache
- Installing swiftmailer/swiftmailer (v6.0.2): Loading from cache
- Installing paragonie/random_compat (v2.0.14): Loading from cache
- Installing ramsey/uuid (3.7.3): Loading from cache
- Installing psr/simple-cache (1.0.1): Loading from cache
- Installing psr/container (1.0.0): Loading from cache
- Installing symfony/translation (v4.1.0): Loading from cache
- Installing nesbot/carbon (1.25.0): Loading from cache
- Installing monolog/monolog (1.23.0): Loading from cache
- Installing league/flysystem (1.0.45): Loading from cache
- Installing laravel/framework (v5.6.24): Loading from cache
- Installing fideloper/proxy (4.0.0): Loading from cache
- Installing jakub-onderka/php-console-color (0.1): Loading from cache
- Installing nikic/php-parser (v4.0.2): Loading from cache
- Installing jakub-onderka/php-console-highlighter (v0.3.2): Loading from cache
- Installing dnoegel/php-xdg-base-dir (0.1): Loading from cache
- Installing psy/psysh (v0.9.5): Loading from cache
- Installing laravel/tinker (v1.0.7): Loading from cache
- Installing fzaninotto/faker (v1.7.1): Loading from cache
- Installing hamcrest/hamcrest-php (v2.0.0): Loading from cache
- Installing mockery/mockery (1.1.0): Loading from cache
- Installing filp/whoops (2.2.0): Loading from cache
- Installing nunomaduro/collision (v2.0.2): Loading from cache
- Installing webmozart/assert (1.3.0): Loading from cache
- Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
- Installing phpdocumentor/type-resolver (0.4.0): Loading from cache
- Installing phpdocumentor/reflection-docblock (4.3.0): Loading from cache
- Installing phpunit/php-token-stream (3.0.0): Loading from cache
- Installing sebastian/version (2.0.1): Loading from cache
- Installing sebastian/resource-operations (1.0.0): Loading from cache
- Installing sebastian/recursion-context (3.0.0): Loading from cache
- Installing sebastian/object-reflector (1.1.1): Loading from cache
- Installing sebastian/object-enumerator (3.0.3): Loading from cache
- Installing sebastian/global-state (2.0.0): Loading from cache
- Installing sebastian/exporter (3.1.0): Loading from cache
- Installing sebastian/environment (3.1.0): Loading from cache
- Installing sebastian/diff (3.0.0): Loading from cache
- Installing sebastian/comparator (3.0.0): Loading from cache
- Installing phpunit/php-timer (2.0.0): Loading from cache
- Installing phpunit/php-text-template (1.2.1): Loading from cache
- Installing phpunit/php-file-iterator (2.0.0): Loading from cache
- Installing theseer/tokenizer (1.1.0): Loading from cache
- Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
- Installing phpunit/php-code-coverage (6.0.7): Loading from cache
- Installing doctrine/instantiator (1.1.0): Loading from cache
- Installing phpspec/prophecy (1.7.6): Loading from cache
- Installing phar-io/version (1.0.1): Loading from cache
- Installing phar-io/manifest (1.0.1): Loading from cache
- Installing myclabs/deep-copy (1.8.0): Loading from cache
- Installing phpunit/phpunit (7.2.4): Loading from cache
symfony/routing suggests installing doctrine/annotations (For using the annotation loader)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/dependency-injection (For loading routes from a service)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/routing suggests installing symfony/yaml (For using the YAML loader)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/browser-kit ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
symfony/console suggests installing symfony/lock ()
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium extension for use with the SodiumRandomGenerator)
ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator)
ramsey/uuid suggests installing ircmaxell/random-lib (Provides RandomLib for use with the RandomLibAdapter)
ramsey/uuid suggests installing moontoast/math (Provides support for converting UUID to 128-bit integer (in string form).)
ramsey/uuid suggests installing ramsey/uuid-console (A console application for generating UUIDs with ramsey/uuid)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as Doctrine field type.)
symfony/translation suggests installing symfony/config ()
symfony/translation suggests installing symfony/yaml ()
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
league/flysystem suggests installing spatie/flysystem-dropbox (Allows you to use Dropbox storage)
league/flysystem suggests installing srmklive/flysystem-dropbox-v2 (Allows you to use Dropbox storage for PHP 5 applications)
laravel/framework suggests installing aws/aws-sdk-php (Required to use the SQS queue driver and SES mail driver (~3.0).)
laravel/framework suggests installing doctrine/dbal (Required to rename columns and drop SQLite columns (~2.6).)
laravel/framework suggests installing guzzlehttp/guzzle (Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (~6.0).)
laravel/framework suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).)
laravel/framework suggests installing league/flysystem-cached-adapter (Required to use the Flysystem cache (~1.0).)
laravel/framework suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
laravel/framework suggests installing league/flysystem-sftp (Required to use the Flysystem SFTP driver (~1.0).)
laravel/framework suggests installing nexmo/client (Required to use the Nexmo transport (~1.0).)
laravel/framework suggests installing pda/pheanstalk (Required to use the beanstalk queue driver (~3.0).)
laravel/framework suggests installing predis/predis (Required to use the redis cache and queue drivers (~1.0).)
laravel/framework suggests installing pusher/pusher-php-server (Required to use the Pusher broadcast driver (~3.0).)
laravel/framework suggests installing symfony/dom-crawler (Required to use most of the crawler integration testing tools (~4.0).)
laravel/framework suggests installing symfony/psr-http-message-bridge (Required to psr7 bridging features (~1.0).)
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit.)
filp/whoops suggests installing whoops/soap (Formats errors as SOAP responses)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.6.0)
phpunit/phpunit suggests installing ext-xdebug (*)
phpunit/phpunit suggests installing phpunit/php-invoker (^2.0)
Generating optimized autoload files
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
> @php artisan key:generate
Application key [base64:6s+rgnulAn+wXczs9refaECjszljO8/RXtTYdFrENr4=] set successfully.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: fideloper/proxy
Discovered Package: laravel/tinker
Discovered Package: nunomaduro/collision
Package manifest generated successfully.
Application ready! Build something amazing.
Downloading Spark...
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 13 installs, 0 updates, 0 removals
- Installing stripe/stripe-php (v5.9.2): Loading from cache
- Installing sabberworm/php-css-parser (8.1.0): Loading from cache
- Installing phenx/php-svg-lib (v0.3.2): Loading from cache
- Installing phenx/php-font-lib (0.5.1): Loading from cache
- Installing dompdf/dompdf (v0.8.2): Loading from cache
- Installing laravel/cashier (v7.1.1): Loading from cache
- Installing psr/http-message (1.0.1): Loading from cache
- Installing guzzlehttp/psr7 (1.4.2): Loading from cache
- Installing intervention/image (2.4.2): Loading from cache
- Installing guzzlehttp/promises (v1.3.1): Loading from cache
- Installing guzzlehttp/guzzle (6.3.3): Loading from cache
- Installing firebase/php-jwt (v5.0.0): Loading from cache
- Installing laravel/spark-aurelius (dev-master): Symlinking from ./spark
intervention/image suggests installing ext-imagick (to use Imagick based image processing.)
intervention/image suggests installing intervention/imagecache (Caching extension for the Intervention Image library)
Writing lock file
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: fideloper/proxy
Discovered Package: intervention/image
Discovered Package: laravel/cashier
Discovered Package: laravel/tinker
Discovered Package: nunomaduro/collision
Package manifest generated successfully.
Updating Configuration Values: โ
Updating Environment File: โ
Updating Routes File: โ
Updating Controllers: โ
Updating Middleware: โ
Updating HTTP Kernel: โ
Installing Images: โ
Installing Database Migrations: โ
Installing Eloquent Models: โ
Installing Service Providers: โ
Installing JavaScript & Sass Assets: โ
Installing Language Files: โ
Installing Views: โ
Laravel Spark installed. Create something amazing!
Would you like to install the NPM dependencies? (yes/no) [yes]:
> y
Installing NPM Dependencies...
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
> [email protected] install /Users/joseph/Code/dataproof/node_modules/fsevents
> node install
[fsevents] Success: "/Users/joseph/Code/dataproof/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
> [email protected] install /Users/joseph/Code/dataproof/node_modules/node-sass
> node scripts/install.js
Cached binary found at /Users/joseph/.npm/node-sass/4.9.0/darwin-x64-64_binding.node
> [email protected] postinstall /Users/joseph/Code/dataproof/node_modules/webpack/node_modules/uglifyjs-webpack-plugin
> node lib/post_install.js
> [email protected] postinstall /Users/joseph/Code/dataproof/node_modules/node-sass
> node scripts/build.js
Binary found at /Users/joseph/Code/dataproof/node_modules/node-sass/vendor/darwin-x64-64/binding.node
Testing binary
Binary is fine
> [email protected] postinstall /Users/joseph/Code/dataproof/node_modules/gifsicle
> node lib/install.js
โ gifsicle pre-build test passed successfully
> [email protected] postinstall /Users/joseph/Code/dataproof/node_modules/mozjpeg
> node lib/install.js
โ mozjpeg pre-build test passed successfully
> [email protected] postinstall /Users/joseph/Code/dataproof/node_modules/optipng-bin
> node lib/install.js
โ optipng pre-build test passed successfully
> [email protected] postinstall /Users/joseph/Code/dataproof/node_modules/pngquant-bin
> node lib/install.js
โ pngquant pre-build test passed successfully
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
added 1559 packages from 771 contributors and audited 19064 packages in 53.116s
found 17 moderate severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
Would you like to compile your assets? (yes/no) [yes]:
> y
Running Build Script...
> @ dev /Users/joseph/Code/dataproof
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
95% emitting
ERROR Failed to compile with 50 errors 6:57:22 AM
These dependencies were not found:
* kiosk/add-discount in ./resources/assets/js/spark-components/kiosk/add-discount.js
* kiosk/profile in ./resources/assets/js/spark-components/kiosk/profile.js
* kiosk/metrics in ./resources/assets/js/spark-components/kiosk/metrics.js
* kiosk/users in ./resources/assets/js/spark-components/kiosk/users.js
* kiosk/kiosk in ./resources/assets/js/spark-components/kiosk/kiosk.js
* kiosk/announcements in ./resources/assets/js/spark-components/kiosk/announcements.js
* settings/payment-method/redeem-coupon in ./resources/assets/js/spark-components/settings/payment-method/redeem-coupon.js
* settings/payment-method/update-payment-method-braintree in ./resources/assets/js/spark-components/settings/payment-method/update-payment-method-braintree.js
* settings/payment-method/update-payment-method-stripe in ./resources/assets/js/spark-components/settings/payment-method/update-payment-method-stripe.js
* settings/payment-method/update-vat-id in ./resources/assets/js/spark-components/settings/payment-method/update-vat-id.js
* settings/invoices/invoice-list in ./resources/assets/js/spark-components/settings/invoices/invoice-list.js
* settings/invoices/update-extra-billing-information in ./resources/assets/js/spark-components/settings/invoices/update-extra-billing-information.js
* settings/invoices in ./resources/assets/js/spark-components/settings/invoices.js
* settings/payment-method-braintree in ./resources/assets/js/spark-components/settings/payment-method-braintree.js
* settings/subscription/cancel-subscription in ./resources/assets/js/spark-components/settings/subscription/cancel-subscription.js
* settings/payment-method-stripe in ./resources/assets/js/spark-components/settings/payment-method-stripe.js
* settings/subscription/resume-subscription in ./resources/assets/js/spark-components/settings/subscription/resume-subscription.js
* settings/subscription/update-subscription in ./resources/assets/js/spark-components/settings/subscription/update-subscription.js
* settings/subscription/subscribe-braintree in ./resources/assets/js/spark-components/settings/subscription/subscribe-braintree.js
* settings/api/create-token in ./resources/assets/js/spark-components/settings/api/create-token.js
* settings/subscription/subscribe-stripe in ./resources/assets/js/spark-components/settings/subscription/subscribe-stripe.js
* settings/subscription in ./resources/assets/js/spark-components/settings/subscription.js
* settings/api/tokens in ./resources/assets/js/spark-components/settings/api/tokens.js
* settings/api in ./resources/assets/js/spark-components/settings/api.js
* settings/security/disable-two-factor-auth in ./resources/assets/js/spark-components/settings/security/disable-two-factor-auth.js
* settings/security/enable-two-factor-auth in ./resources/assets/js/spark-components/settings/security/enable-two-factor-auth.js
* settings/security/update-password in ./resources/assets/js/spark-components/settings/security/update-password.js
* settings/security in ./resources/assets/js/spark-components/settings/security.js
* settings/teams/team-members in ./resources/assets/js/spark-components/settings/teams/team-members.js
* settings/teams/mailed-invitations in ./resources/assets/js/spark-components/settings/teams/mailed-invitations.js
* settings/teams/send-invitation in ./resources/assets/js/spark-components/settings/teams/send-invitation.js
* settings/teams/team-membership in ./resources/assets/js/spark-components/settings/teams/team-membership.js
* settings/teams/update-team-name in ./resources/assets/js/spark-components/settings/teams/update-team-name.js
* settings/teams/update-team-photo in ./resources/assets/js/spark-components/settings/teams/update-team-photo.js
* settings/teams/team-profile in ./resources/assets/js/spark-components/settings/teams/team-profile.js
* settings/teams/team-settings in ./resources/assets/js/spark-components/settings/teams/team-settings.js
* settings/teams/current-teams in ./resources/assets/js/spark-components/settings/teams/current-teams.js
* settings/teams/pending-invitations in ./resources/assets/js/spark-components/settings/teams/pending-invitations.js
* settings/teams in ./resources/assets/js/spark-components/settings/teams.js
* settings/teams/create-team in ./resources/assets/js/spark-components/settings/teams/create-team.js
* settings/profile/update-contact-information in ./resources/assets/js/spark-components/settings/profile/update-contact-information.js
* settings/profile/update-profile-photo in ./resources/assets/js/spark-components/settings/profile/update-profile-photo.js
* settings/profile in ./resources/assets/js/spark-components/settings/profile.js
* settings/settings in ./resources/assets/js/spark-components/settings/settings.js
* auth/register-stripe in ./resources/assets/js/spark-components/auth/register-stripe.js
* auth/register-braintree in ./resources/assets/js/spark-components/auth/register-braintree.js
* navbar/navbar in ./resources/assets/js/spark-components/navbar/navbar.js
* notifications/notifications in ./resources/assets/js/spark-components/notifications/notifications.js
* spark in ./resources/assets/js/app.js
* spark-bootstrap in ./resources/assets/js/app.js
To install them, you can run: npm install --save kiosk/add-discount kiosk/profile kiosk/metrics kiosk/users kiosk/kiosk kiosk/announcements settings/payment-method/redeem-coupon settings/payment-method/update-payment-method-braintree settings/payment-method/update-payment-method-stripe settings/payment-method/update-vat-id settings/invoices/invoice-list settings/invoices/update-extra-billing-information settings/invoices settings/payment-method-braintree settings/subscription/cancel-subscription settings/payment-method-stripe settings/subscription/resume-subscription settings/subscription/update-subscription settings/subscription/subscribe-braintree settings/api/create-token settings/subscription/subscribe-stripe settings/subscription settings/api/tokens settings/api settings/security/disable-two-factor-auth settings/security/enable-two-factor-auth settings/security/update-password settings/security settings/teams/team-members settings/teams/mailed-invitations settings/teams/send-invitation settings/teams/team-membership settings/teams/update-team-name settings/teams/update-team-photo settings/teams/team-profile settings/teams/team-settings settings/teams/current-teams settings/teams/pending-invitations settings/teams settings/teams/create-team settings/profile/update-contact-information settings/profile/update-profile-photo settings/profile settings/settings auth/register-stripe auth/register-braintree navbar/navbar notifications/notifications spark spark-bootstrap
fs.js:145
throw err;
^
Error: ENOENT: no such file or directory, open '/Users/joseph/Code/dataproof/public/css/app-rtl.css'
at Object.fs.openSync (fs.js:579:3)
at Object.fs.readFileSync (fs.js:485:33)
at File.read (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/File.js:163:19)
at File.version (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/File.js:172:25)
at Manifest.hash (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/Manifest.js:52:65)
at assets.data.files.map.file (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/tasks/VersionFilesTask.js:14:26)
at Array.map (<anonymous>)
at VersionFilesTask.run (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/tasks/VersionFilesTask.js:11:39)
at CustomTasksPlugin.runTask (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/webpackPlugins/CustomTasksPlugin.js:33:14)
at Mix.tasks.forEach.task (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/webpackPlugins/CustomTasksPlugin.js:9:44)
at Array.forEach (<anonymous>)
at Compiler.compiler.plugin.stats (/Users/joseph/Code/dataproof/node_modules/laravel-mix/src/webpackPlugins/CustomTasksPlugin.js:9:23)
at Compiler.applyPlugins (/Users/joseph/Code/dataproof/node_modules/tapable/lib/Tapable.js:61:14)
at emitRecords.err (/Users/joseph/Code/dataproof/node_modules/webpack/lib/Compiler.js:264:11)
at Compiler.emitRecords (/Users/joseph/Code/dataproof/node_modules/webpack/lib/Compiler.js:371:38)
at emitAssets.err (/Users/joseph/Code/dataproof/node_modules/webpack/lib/Compiler.js:258:10)
at applyPluginsAsyncSeries1.err (/Users/joseph/Code/dataproof/node_modules/webpack/lib/Compiler.js:364:12)
at next (/Users/joseph/Code/dataproof/node_modules/tapable/lib/Tapable.js:218:11)
at Compiler.compiler.plugin (/Users/joseph/Code/dataproof/node_modules/webpack/lib/performance/SizeLimitsPlugin.js:99:4)
at Compiler.applyPluginsAsyncSeries1 (/Users/joseph/Code/dataproof/node_modules/tapable/lib/Tapable.js:222:13)
at Compiler.afterEmit (/Users/joseph/Code/dataproof/node_modules/webpack/lib/Compiler.js:361:9)
at require.forEach.err (/Users/joseph/Code/dataproof/node_modules/webpack/lib/Compiler.js:350:15)
at /Users/joseph/Code/dataproof/node_modules/async/dist/async.js:473:16
at iteratorCallback (/Users/joseph/Code/dataproof/node_modules/async/dist/async.js:1064:13)
at /Users/joseph/Code/dataproof/node_modules/async/dist/async.js:969:16
at /Users/joseph/Code/dataproof/node_modules/graceful-fs/graceful-fs.js:43:10
at FSReqWrap.oncomplete (fs.js:171:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev 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/joseph/.npm/_logs/2018-06-07T13_57_22_609Z-debug.log
@JeffreyWay ?
I have the same error!!!!!
I run php artisan spark:update
and bammmm
Just the same error:
npm run dev
@ dev /home/vagrant/Code/cogniteum
cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
95% emitting
ERROR Failed to compile with 66 errors 3:54:52 PM
These dependencies were not found:
To install them, you can run: npm install --save babel-runtime/regenerator vue-slider-component settings/payment-method/update-payment-method-stripe settings/payment-method/redeem-coupon kiosk/users settings/payment-method/update-payment-method-braintree settings/payment-method/update-vat-id kiosk/metrics kiosk/add-discount kiosk/profile kiosk/announcements settings/invoices/update-extra-billing-information kiosk/kiosk settings/invoices/invoice-list settings/payment-method-braintree settings/payment-method-stripe settings/teams/team-profile notifications/notifications settings/subscription/subscribe-stripe settings/subscription/subscribe-braintree settings/api settings/subscription/cancel-subscription settings/security/disable-two-factor-auth settings/invoices settings/subscription/resume-subscription settings/api/create-token settings/subscription/update-subscription settings/api/tokens settings/subscription settings/teams/team-members settings/teams/update-team-name settings/security settings/security/update-password settings/teams/mailed-invitations settings/security/enable-two-factor-auth settings/teams/team-settings settings/teams/pending-invitations settings/teams/update-team-photo settings/teams/send-invitation settings/teams/create-team settings/profile/update-profile-photo auth/register-braintree settings/teams/team-membership settings/profile settings/profile/update-contact-information settings/teams settings/teams/current-teams settings/settings auth/register-stripe navbar/navbar lodash vue-touch spark spark-bootstrap
Asset Size Chunks Chunk Names
/js/app.js 733 kB 0 [emitted] [big] /js/app
/js/sweetalert.min.js 17 kB [emitted]
/css/app-rtl.css 223 kB [emitted]
ERROR in ./node_modules/css-loader??ref--9-2!./node_modules/postcss-loader/lib??postcss!./node_modules/resolve-url-loader??ref--9-4!./node_modules/sass-loader/lib/loader.js??ref--9-5!./resources/assets/sass/app-rtl.scss
Module build failed: Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (64)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v4.7.2
at module.exports (/home/vagrant/Code/cogniteum/node_modules/node-sass/lib/binding.js:13:13)
at Object.
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.
at Module._compile (internal/modules/cjs/loader.js:702:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
at Module.load (internal/modules/cjs/loader.js:612:32)
at tryModuleLoad (internal/modules/cjs/loader.js:551:12)
at Function.Module._load (internal/modules/cjs/loader.js:543:3)
at Module.require (internal/modules/cjs/loader.js:650:17)
at require (internal/modules/cjs/helpers.js:20:18)
and onnnnnnnnnnn....
@Pattern88 I was able to fix this by moving the spark installer to a different directory. I had a the spark-installer in my ~/Code/spark-installer as well as my new project dataproof
When I moved that the installer to $HOME everything worked perfectly.
@JeffreyWay ^
Most helpful comment
@ankurk91 - yes I see
./resources/assets/js/spark-components/exists and things like auth, kiosk, navbar, notifcations, and settings are there. @themsaid and @joeljerushan I'll uninstall node, npm, and yarn and get back to you.