javascript - Not found error on browser after sails lift, -
I am creating a new app with the "sails new" command. On the running pall, I get the "Replaced" (404) error on the browser I have a locally installed shed & amp; Here are my nodes; PAL version information
vsnag @ like: ~ / sails / node_modules $ sails --version 0.10.5 vsnag @ like: ~ / sails / node_modules $ node - description v0.10.32 Pull lift with verbose options gives me
vsnag @ like: ~ / sails / app $ sails lift --verbose info: start application. .. WARNING: Package in existing directory (/ home / vsnag / sails / app). Jason can not be read: Are you sure that this is a sealed app? Warning: Warning: package.json does not list seal as dependency in the current directory ... Warning: Are you sure that `/ home / vsnag / sails / app` is a cell application? Warning: verbose: Setting the node environment ... Verbose: Please run `npm installed coffee-script 'to use copscript (Skipping for now) Verbose: Modulloader hook is successfully loaded. ...... .... Error: -------------------------------------- ---------------------------------- grunt-cli: Haughty Command Line Interface (V0.1.13) Fatal Error: Unable to find local hoarse If you are seeing this message, then the granutfile was either not searched or has not been installed locally in your project. For more information about installing and configuring Disturb, please see the Getting Started Guide: http://gruntjs.com/getting-started Error: It seems that there is a flawed error - error: please fix this , Then ** restart ** ** Restart to continue the ongoing tasks (see for example a change in property) error: or if you are stuck, see troubleshooting tips below. ...... ... Verbose: Dispatch 404 ("not found") Feedback Unread: Res.notFound () :: The view could not be found for the error page (instead of sending JSON). Description: The layout "404" could not be rendered "/ home / vs / pal / app / view / 404" The layout tried to view the file is configured as "layout.ejs", so layout @ "/ home /vsnag/sails/app/views/layout.ejs ") I I have tried the suggested solution, but not use it.
When I am comparing the body of an apple app's body science, and in & amp; They do not match with my app
vsnag @ like: ~ / sails / app $ ls -la Total 20 drwxrwxr-x 5 vsnag vsnag 4096 October 9 21:36. Drwxrwxr-x 4 vsnag vsnag 4096 Oct 10 18:54 .. drwxrwxr-x 7 vsnag vsnag 4096 October 9 21:36 api drwxrwxr-x4 vsnag vsnag 4096 October 9 21:36 config drwxrwxr-x 2 vsnag vsnag 4096 October 9 21: 36 views Give me grinfile Js, readme, app JS, .Gitiner, Package. Jason,
Any suggestions might be a problem? Or any settings that I am missing ...
Create a blank new pal app (your Home-folder) with:
$ & gt; sail lift / html>
Comments
Post a Comment