Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need clearer instructions around modifying themes/CSS #2

Open
Frijol opened this issue Aug 4, 2017 · 4 comments
Open

Need clearer instructions around modifying themes/CSS #2

Frijol opened this issue Aug 4, 2017 · 4 comments

Comments

@Frijol
Copy link
Member

Frijol commented Aug 4, 2017

I don't use gulp much, but haven't figured out how to use it as per the Readme instructions here.

I tried running it as shown in the readme, got:

path.js:7
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received null
    at assertPath (path.js:7:11)
    at Object.basename (path.js:1355:5)
    at Liftoff.buildEnvironment (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:113:52)
    at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:181:32)
    at module.exports (/usr/local/lib/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
    at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:174:9)
    at /usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:148:9
    at /usr/local/lib/node_modules/gulp/node_modules/v8flags/index.js:31:11
    at FSReqWrap.oncomplete (fs.js:123:15)

ran a npm i -g gulp because my gulp is probably really out of date, tried again and got

[10:46:23] Local gulp not found in ~/tesselwww/themes
[10:46:23] Try running: npm install gulp

so I ran npm i gulp as suggested, tried again with the gulp watch and got

[10:47:10] No gulpfile found

What am I missing?

@tcr
Copy link
Member

tcr commented Aug 9, 2017

Apparently I can't tell the difference between gulp and grunt :)

Can you re-run the instructions in the README now? grunt should work, and I've corrected the path to the themes folder.

@Frijol
Copy link
Member Author

Frijol commented Aug 9, 2017

Ah, much better.

Well, except the error:

➜  tessel git:(master) grunt watch
Loading "Gruntfile.js" tasks...ERROR
>> SyntaxError: Unexpected token )
Warning: Task "watch" not found. Use --force to continue.

Aborted due to warnings.

@tcr
Copy link
Member

tcr commented Aug 9, 2017

@Frijol You're in this folder? https://github.com/tessel/tesselwww/tree/master/themes/tessel

Can you try destroying your node_modules/ folder and re-running npm i? And then make sure the Gruntfile.js is the same as in on Github?

@Frijol
Copy link
Member Author

Frijol commented Aug 15, 2017

all checked, same error.

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

No branches or pull requests

2 participants