Comments (9)
Is error disappears if you remove Meteor-Files package?
BTW, something is wrong inside fibers
npm package, but Meteor-Files does/t use it.
from meteor-files.
yes if i remove meteor files, the errors are gone.
=> Exited with code: 8
=> Your application is crashing. Waiting for file change.
^C
✘ ✝ ~/dev/nexushubs/lawflow/lawflow-system meteor remove ostrio:files
Changes to your project's package version selections:
ostrio:cookies removed from your project
ostrio:files removed from your project
ostrio:jsextensions removed from your project
from meteor-files.
meteor list
accounts-password 1.1.1 Password support for accounts
aldeed:collection2 2.5.0 Automatic validation of insert and update operations on the client and server.
aldeed:template-extension 3.4.3 Adds template features currently missing from the templating package
coffeescript 1.0.6 Javascript dialect with fewer braces and semicolons
dburles:collection-helpers 1.0.3 Transform your collections with helpers that you define
dburles:mongo-collection-instances 0.3.4 Access your Mongo instances
fortawesome:fontawesome 4.4.0 Font Awesome (official): 500+ scalable vector icons, customizable via CSS, Retina friendly
iron:router 1.0.9 Routing specifically designed for Meteor
jparker:crypto-md5 0.1.1 MD5 algorithm for CryptoJS, standard secure algorithms
matb33:collection-hooks 0.8.0 Extends Mongo.Collection with before/after hooks for insert/update/remove/find/findOne
maximum:server-transform 0.4.0 Meteor package to transform documents on publish
meteor-platform 1.2.2 Include a standard set of Meteor packages in your app
meteorhacks:fast-render 2.10.0 Render your app before the DDP connection even comes alive - magic?
meteorhacks:npm 1.5.0 Use npm modules with your Meteor App
meteorhacks:subs-manager 1.6.2 Subscriptions Manager for Meteor
mquandalle:jade 0.4.3_1 Jade template language
mquandalle:stylus 1.1.1 Expressive, dynamic, robust CSS
msavin:mongol 1.1.5 The insanely handy development package for Meteor.
npm-container 1.1.0+ Contains all your npm dependencies
peerlibrary:blaze-components 0.13.0 Reusable components for Blaze
tmeasday:publish-counts 0.7.2 Publish the count of a cursor, in real time
zeroasterisk:throttle 0.3.2 A secure means of limiting interactions (emails, etc)
zeroasterisk:throttle-accounts 0.0.3 A secure means of limiting account login/create attempts
zimme:active-route 2.3.2 Active route helpers
from meteor-files.
i comment out this file it works but i don't know why
faker = Meteor.npmRequire 'faker'
#
if Meteor.isServer
#
Meteor.drop()
# add admin user
unless Meteor.users.findOne { username: 'admin' }
Accounts.createUser
username: 'admin'
password: 'admin'
isAdmin: true
profile:
displayName: '管理员'
mobile: faker.phone.phoneNumber()
avatarHash: CryptoJS.MD5('admin').toString()
status:
notes: _.random 50, 500
projects: _.random 50, 500
tasks: _.random 50, 500
comments: _.random 50, 500
circles: _.random 50, 500
posts: _.random 50, 500
_(5).times ->
Meteor.users.insert
createdAt: faker.date.past()
username: faker.name.findName()
isAdmin: true
profile:
displayName: faker.name.findName()
mobile: faker.phone.phoneNumber()
avatarHash: CryptoJS.MD5(faker.lorem.sentence()).toString()
status:
notes: _.random 50, 500
projects: _.random 50, 500
tasks: _.random 50, 500
comments: _.random 50, 500
circles: _.random 50, 500
posts: _.random 50, 500
# add n organizations
_(10).times ->
Organizations.direct.insert
title: faker.lorem.sentence()
desc: faker.lorem.sentences()
tel: faker.phone.phoneNumber()
createdAt: faker.date.past()
# add demo user to an random organization
unless Meteor.users.findOne { username: 'demo' }
Accounts.createUser
username: 'demo'
password: 'demo'
organizationId: (_.sample Organizations.find().fetch())._id
profile:
displayName: '演示用户'
mobile: faker.phone.phoneNumber()
avatarHash: CryptoJS.MD5('demo').toString()
status:
notes: _.random 50, 500
projects: _.random 50, 500
tasks: _.random 50, 500
comments: _.random 50, 500
circles: _.random 50, 500
posts: _.random 50, 500
# add test user to an random organization
unless Meteor.users.findOne { username: 'test' }
Accounts.createUser
username: 'test'
password: 'test'
organizationId: (_.sample Organizations.find().fetch())._id
profile:
displayName: '测试用户'
mobile: faker.phone.phoneNumber()
avatarHash: CryptoJS.MD5('test').toString()
status:
notes: _.random 50, 500
projects: _.random 50, 500
tasks: _.random 50, 500
comments: _.random 50, 500
circles: _.random 50, 500
posts: _.random 50, 500
# random users
_(5).times ->
Meteor.users.insert
createdAt: faker.date.past()
username: faker.name.findName()
organizationId: (_.sample Organizations.find().fetch())._id
profile:
displayName: faker.name.findName()
mobile: faker.phone.phoneNumber()
avatarHash: CryptoJS.MD5(faker.lorem.sentence()).toString()
status:
notes: _.random 50, 500
projects: _.random 50, 500
tasks: _.random 50, 500
comments: _.random 50, 500
circles: _.random 50, 500
posts: _.random 50, 500
# feed tasks
_(100).times ->
Tasks.direct.insert
userId: (_.sample Meteor.users.find().fetch())._id
createdAt: faker.date.past()
content: faker.lorem.sentences()
completed: _.sample [true, false]
important: _.sample [true, false]
# feed projects
_(10).times ->
Projects.direct.insert
userId: (_.sample Meteor.users.find().fetch())._id
createdAt: faker.date.past()
title: faker.lorem.sentence()
desc: faker.lorem.sentences()
content: faker.lorem.sentences()
completed: false
# feed announcements
_(30).times ->
Announcements.direct.insert
userId: Meteor.users.findOne { username: 'admin' }
createdAt: faker.date.past()
title: faker.lorem.sentence()
desc: faker.lorem.sentences()
content: faker.lorem.sentences() + faker.lorem.sentences() + faker.lorem.sentences()
# feed posts
_(30).times ->
Posts.direct.insert
userId: Meteor.users.findOne { username: 'admin' }
createdAt: faker.date.past()
title: faker.lorem.sentence()
desc: faker.lorem.sentences()
content: faker.lorem.sentences()
# feed notes
_(100).times ->
Notes.direct.insert
userId: (_.sample Meteor.users.find().fetch())._id
createdAt: faker.date.past()
content: faker.lorem.sentences()
# feed comments for notes
_(100).times ->
Comments.direct.insert
userId: (_.sample Meteor.users.find().fetch())._id
noteId: (_.sample Notes.find().fetch())._id
createdAt: faker.date.past()
content: faker.lorem.sentences()
# feed circles
_(100).times ->
Circles.direct.insert
userId: (_.sample Meteor.users.find().fetch())._id
createdAt: faker.date.past()
content: faker.lorem.sentences()
# feed comments for circles
_(100).times ->
Comments.direct.insert
userId: (_.sample Meteor.users.find().fetch())._id
circleId: (_.sample Circles.find().fetch())._id
createdAt: faker.date.past()
content: faker.lorem.sentences()
from meteor-files.
@crapthings sorry I didn't get you. It is somehow solved now?
from meteor-files.
@crapthings any news on your end? Does it work with latest release?
from meteor-files.
it works after i create a new project
i dont know why the faker breaks meteor file
let me try it when i finish work
from meteor-files.
@crapthings okay, keep this thread updated please
from meteor-files.
Hi @crapthings if this issue doesn't appear on your end anymore, don't you mind to close it?
from meteor-files.
Related Issues (20)
- Async support HOT 23
- [FilesCollection.ServiceFile] Path "/assets/app/uploads/ServiceFileCollection" is not writable! HOT 2
- How to change item metadata before it is inserted into the collection? HOT 9
- How do I update a filesCollection after Server side Write created? HOT 1
- Get user ip on upload HOT 9
- Since Meteor 2.11 - Exception in setTimeout callback: TypeError: fs.remove is not a function HOT 9
- Question: Can you store directly in GridFS? HOT 2
- Question: Save link in database?
- Update aws-sdk to v3 in 'Use AWS:S3 As Storage' Documentation HOT 4
- Files.load -> options.fileName is not in filepath HOT 2
- FilesCollection.find(...).each() not working properly? HOT 1
- HTTP uploads not working, multi-instance/cluster environment NGINX balanced HOT 5
- onAfterUpload not throwing error in uploader.on('end') HOT 5
- Cannot stream a video with filenames longer than 80 characters HOT 1
- wrong custom error message when using HTTP
- Make Meteor-Files compatible with meteor-desktop? HOT 4
- Uncaught error when uploading an empty file
- Help Wanted: Method '_FilesCollectionAbort_attachments' not found [404] HOT 1
- Match error: Unknown key in field HOT 5
- User can not be determined in protected callback in Firefox HOT 5
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 meteor-files.