Giter VIP home page Giter VIP logo

Comments (4)

Karnith avatar Karnith commented on July 20, 2024

No, there isn't. I'll take a look, but it sounds like the less compiler isn't working. Everything should be copied to .tmp/public when it runs. Can you post the output of sails lift --verbose here for me?

The only "dependency" is the word grunt in the default hooks js and the hook folder grunt in the core.

from machinepack-sailsgulpify.

netlander avatar netlander commented on July 20, 2024

I must be missing something because if I delete the .tmp/public folder and lift, gulp doesn't even create the folders so it's only serving the .ejs templates from /view.

It could be the changes you pushed three days ago...

Here's the entire lift output
verbose: Setting Node environment... verbose: In this Sails app, detected special code languages: 0 [] verbose: moduleloader hook loaded successfully. verbose: Loading app config... verbose: userconfig hook loaded successfully. verbose: Exposing global variables... (you can customize/disable this by modifying the properties insails.config.globals. Set it tofalseto disable all globals.) verbose: Loading user hooks... verbose: userhooks hook loaded successfully. verbose: Loading runtime custom response definitions... verbose: Loading app services... verbose: logger hook loaded successfully. verbose: request hook loaded successfully. verbose: Loading the app's models and any custom adapters... verbose: Loading app models... verbose: Loading app adapters... verbose: Overriding ejs engine config with ejslocals to implement layout support... verbose: views hook loaded successfully. verbose: Loading blueprint middleware... verbose: blueprints hook loaded successfully. verbose: responses hook loaded successfully. verbose: controllers hook loaded successfully. verbose: Loading policy modules from app... verbose: Finished loading policy middleware logic. verbose: policies hook loaded successfully. verbose: services hook loaded successfully. verbose: csrf hook loaded successfully. verbose: cors hook loaded successfully. i18n:debug will use E:\0000.src\02.web.02\sails\sails-gulp-003\config\locales\en.json +0ms i18n:debug read E:\0000.src\02.web.02\sails\sails-gulp-003\config\locales\en.json for locale: en +1ms i18n:debug will use E:\0000.src\02.web.02\sails\sails-gulp-003\config\locales\es.json +2ms i18n:debug read E:\0000.src\02.web.02\sails\sails-gulp-003\config\locales\es.json for locale: es +0ms i18n:debug will use E:\0000.src\02.web.02\sails\sails-gulp-003\config\locales\fr.json +2ms i18n:debug read E:\0000.src\02.web.02\sails\sails-gulp-003\config\locales\fr.json for locale: fr +1ms i18n:debug will use E:\0000.src\02.web.02\sails\sails-gulp-003\config\locales\de.json +1ms i18n:debug read E:\0000.src\02.web.02\sails\sails-gulp-003\config\locales\de.json for locale: de +1ms verbose: i18n hook loaded successfully. verbose: session hook loaded successfully. verbose: Setting default Express view engine to ejs... verbose: http hook loaded successfully. verbose: Preparing socket.io... verbose: sockets hook loaded successfully. verbose: Starting ORM... verbose: orm hook loaded successfully. verbose: pubsub hook loaded successfully. verbose: Built-in hooks are ready. verbose: Instantiating registry... verbose: Loading router... verbose: Policy-controller bindings complete! verbose: All hooks were loaded successfully. verbose: Starting app at E:\0000.src\02.web.02\sails\sails-gulp-003... verbose: Running the setup logic insails.config.bootstrap(cb)... info: info: .-..-. info: info: Sails <| .-..-. info: v0.12.3 |\ info: /|.\ info: / || \ info: ,' |' \ info: .-'.-==|/_--' info:--'-------'
info: ---_--_-----**-----__
info: ____---
--**---_-----**--**_-__
info:
info: Server lifted in E:\0000.src\02.web.02\sails\sails-gulp-003
info: To see your app, visit http://localhost:1337
info: To shut down Sails, press + C at any time.

debug: -------------------------------------------------------
debug: :: Sat Apr 09 2016 21:23:35 GMT+0100 (GMT Daylight Time)

debug: Environment : development
debug: Port : 1337
debug: -------------------------------------------------------
`

from machinepack-sailsgulpify.

Karnith avatar Karnith commented on July 20, 2024

Gulp isn't running. Did you follow the full instructions on the main page of the repo? After install you need to

npm install machinepack-prompts

node node_modules/machinepack-sailsgulpify/templates/toggleEngine.js

And use gulpifysails and yes to full install. After that run the same command but use gulp instead of gulpifysails.

from machinepack-sailsgulpify.

netlander avatar netlander commented on July 20, 2024

Started from scratch following all four steps and it seems to be working.

Although I'm pretty sure I ran the last step twice, maybe not straight in a row, it's a bit unclear in the documentation that the last step:
node node_modules/machinepack-sailsgulpify/templates/toggleEngine.js
needs to run twice.

Closing the issue.
Thanks

from machinepack-sailsgulpify.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.