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

index.js not in v1.7.2 NPM package? #416

Closed
deakster opened this issue Feb 27, 2016 · 2 comments
Closed

index.js not in v1.7.2 NPM package? #416

deakster opened this issue Feb 27, 2016 · 2 comments

Comments

@deakster
Copy link

After doing an npm install bourbon-neat and then trying to require("bourbon-neat") in node, I get the error:

SyntaxError: /app/available_modules/1456578798000/bourbon-neat/app/assets/stylesheets/_neat.scss:7 @import "neat-helpers"; ^ Unexpected token ILLEGAL

The reason appears to be that the index.js file that is in the github repo isn't in the bourbon-neat folder that's installed via NPM, so we don't get back the object with an includePaths field. Instead, the require() call seems to pick the _neat.scss file, which it tries to load as a javascript file.

You can re-create the issue here:
https://tonicdev.com/npm/bourbon-neat

@tysongach
Copy link
Contributor

It was just recently merged and we haven’t had a chance to cut the release yet.

@tysongach
Copy link
Contributor

@deakster We just released 1.7.3, which includes index.js: https://github.com/thoughtbot/neat/releases/tag/v1.7.3

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