saberland/saber

Fails to compile with 0.9.1 - @babel/runtime/generator module not found #483

andreasvirkus posted onGitHub

<!-- Please don't delete this template or we'll close your issue -->

<!-- Before creating an issue please make sure you are using the latest version of Saber. -->

<!-- Issues which contain questions or support requests will be closed. -->

<!-- Please ask questions via following several ways. -->

<!-- https://chat.saber.land/ -->

<!-- https://stackoverflow.com/questions/ask?tags=saberjs -->

Bug report

Running saber fails to compile the dev bundle

Steps to reproduce

Clone this branch: https://github.com/andreasvirkus/cottage/tree/refactor/saber git clone git@github.com:andreasvirkus/cottage.git

What is expected?

Running saber should compile the dev bundle and start up the development server.

What is actually happening?

The compiler throws an error

Other relevant information

When downgrading to 0.8.1, it runs fine (but doesn't respect the permalinks option in my config - will open up a separate issue for that).

  • Result of running saber -v: 0.9.1
  • Is Saber a global or local install? local install
  • Which package manager did you use for the install? npm
  • Does this issue occur when all plugins are disabled? yes

Works fine for me, maybe try reinstalling your packages?

posted by egoist over 5 years ago

Interesting 🤔 I've done the following 2-3x before submitting this issue:

rm -rf node_modules/ package-lock.json
npm cache clean --force
npm i

I just realised I forgot to attach the error itself 🤦‍♂ Here's the error that I receive: <img width="842" alt="Screenshot 2019-09-27 at 21 35 51" src="https://user-images.githubusercontent.com/9140811/65816941-4a8fd000-e20a-11e9-9346-8fd911de0d78.png">

posted by andreasvirkus over 5 years ago

Is there a specific reason why saber is looking under ./node_modules/saber/node_modules/@babel instead of ./node_modules/@babel? There's no node_modules directory under ./node_modules/saber (and I don't think there should be, right?)

Edit: if it's of any help, saber build works fine with 0.9.1 🤔

posted by andreasvirkus over 5 years ago

The dev server builds fine with 0.10.2 🤷‍♂ Thanks for looking into it and sorry for troubling!

posted by andreasvirkus over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests