Comments (8)
Did you define those properties in your model in Sails?
Here's the doc for defining models in Sails:
http://sailsjs.org/documentation/concepts/models-and-orm/models
from generator-angular-crud.
yes of course i have defined propoerties in the model.
This is the model
module.exports = {
attributes: {
name: 'string',
address: 'string',
state: 'string',
country: 'string'
}
};
from generator-angular-crud.
Yes.
This is the file which contains the models please take a look on it
2016-02-23 17:04 GMT+01:00 Jose Luis Monteagudo [email protected]:
Did you define those properties in your model in Sails?
Here's the doc for defining models in Sails:
http://sailsjs.org/documentation/concepts/models-and-orm/models—
Reply to this email directly or view it on GitHub
#5 (comment)
.
from generator-angular-crud.
By the way, After running the server i got this error :
error: Sending 500 ("Server Error") response:
TypeError: actionUtil.populateEach is not a function
at findRecords
(C:\Users\user\Desktop\GestionCommande\GestionCommandeServer
api\blueprints\find.js:48:22)
2016-02-23 17:12 GMT+01:00 Fahmi Ben Salah [email protected]:
Yes.
This is the file which contains the models please take a look on it2016-02-23 17:04 GMT+01:00 Jose Luis Monteagudo [email protected]
:Did you define those properties in your model in Sails?
Here's the doc for defining models in Sails:
http://sailsjs.org/documentation/concepts/models-and-orm/models—
Reply to this email directly or view it on GitHub
#5 (comment)
.
from generator-angular-crud.
Hello Mr Jose Luis,
I have upgraded sails and the error is fixed but rest one thing i hope you
answer me .
When i click view list of customers nothing is displayed , the list is
empty despite the file localDiskDb contains data and i have this error
GET http://localhost:1337/client?limit=5&skip=0 500 (Internal Server Error)
so how can i fixt it ?
Than you
2016-02-23 17:25 GMT+01:00 Fahmi Ben Salah [email protected]:
By the way, After running the server i got this error :
error: Sending 500 ("Server Error") response:
TypeError: actionUtil.populateEach is not a function
at findRecords
(C:\Users\user\Desktop\GestionCommande\GestionCommandeServer
api\blueprints\find.js:48:22)2016-02-23 17:12 GMT+01:00 Fahmi Ben Salah [email protected]:
Yes.
This is the file which contains the models please take a look on it2016-02-23 17:04 GMT+01:00 Jose Luis Monteagudo <[email protected]
:
Did you define those properties in your model in Sails?
Here's the doc for defining models in Sails:
http://sailsjs.org/documentation/concepts/models-and-orm/models—
Reply to this email directly or view it on GitHub
#5 (comment)
.
from generator-angular-crud.
There is an error in your server.
If you get this address ( http://localhost:1337/client?limit=5&skip=0 ) in your Internet Browser then you will get an error. Check in the terminal console that is running Sails the error that throws and then you will be able to guest which is the problem.
from generator-angular-crud.
Hello Jose,
please how can i add the name of my application in the url ? when i start
my application i want the url be like this
"localhost/myapplicationName:3000 and not like this localhost:3000
Thanks.
2016-02-23 18:01 GMT+01:00 Jose Luis Monteagudo [email protected]:
There is an error in your server.
If you get this address ( http://localhost:1337/client?limit=5&skip=0 )
in your Internet Browser then you will get an error. Check in the terminal
console that is running Sails the error that throws and then you will be
able to guest which is the problem.—
Reply to this email directly or view it on GitHub
#5 (comment)
.
from generator-angular-crud.
Hello, Jose Luis
¿How I solve the problem?
error: Sending 500 ("Server Error") response:
TypeError: actionUtil.populateEach is not a function
at findRecords (C:\xampp\htdocs\sails\pruebaAngular\CustumerManagementServer\api\blueprints\find.js:48:22)
from generator-angular-crud.
Related Issues (9)
- Problem with nested views??
- Use it with any rest CRUD HOT 1
- Postgres table names
- Error to run app HOT 1
- Problem in method GET HOT 1
- How can i present associations between classes
- TypeError: actionUtil.populateEach is not a function at findRecords - api\blueprints\find.js:48:22 HOT 4
- Remove a feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-angular-crud.