lukeed / bee3d

Support Forum for Bee3D Slider, found @ http://www.lukeed.com/demo/bee3D
MIT License
7 stars 2 forks source link

npm i -D fly-autoprefixer Error #36

Closed fiona-manzella closed 8 years ago

fiona-manzella commented 8 years ago

Hey! Downloaded your library from Code Canyon, and saw this issue was "closed" a few months ago: https://github.com/lukeed/bee3d/issues/30

But I am still seeing the same error. When I run npm install i get a couple of deprecation errors

npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

but it seems to run ok. npm run fly just returns

  - Error: Did you forget to `npm i -D fly-autoprefixer`?
  -     at ~/website_repo/wp-content/themes/prismtheme/js/bee3d-slider-js/node_modules/fly/lib/fly.js 91:10
  -     at Array.forEach (native)
  -     at new Fly (~/website_repo/wp-content/themes/prismtheme/js/bee3d-slider-js/node_modules/fly/lib/fly.js 89:10)
  -     at Object.module.exports [as spawn] (~/website_repo/wp-content/themes/prismtheme/js/bee3d-slider-js/node_modules/fly/lib/cli/spawn.js 24:9)
  -     at next (native)
  -     at onFulfilled (~/website_repo/wp-content/themes/prismtheme/js/bee3d-slider-js/node_modules/fly/node_modules/co/index.js 65:19)
message: Did you forget to `npm i -D fly-autoprefixer`?

Is there a fix I can run for this?

lukeed commented 8 years ago

hey there, I just submitted an update because someone else emailed me with a similar issue.

In your package.json, change the fly dependency from ^1.3.0 to 1.3.0 (no "^"). Then re-install all modules with npm.

rm -rf node_modules
npm install
fiona-manzella commented 8 years ago

Hey! Thanks for the fast response. I gave that a shot but am still seeing the same error message. Tried a second time after removing the carrot prefix from all devDependencies but no dice. Thoughts?

lukeed commented 8 years ago

Hmm... please paste your full stack trace? And I'll be able to tell what OS you're on with that, but what about Node version?

fiona-manzella commented 8 years ago

Updating node and npm worked like a charm! Thanks!

lukeed commented 8 years ago

Cool, cheers!