mantrajs / kickstart-mantrajs-webpack Goto Github PK
View Code? Open in Web Editor NEWKickstart application with Mantrajs and meteor-webpack
Kickstart application with Mantrajs and meteor-webpack
I've tried npm test
, but that doesn't not seem to be configured in packages.json
.
I got the following err. Tried to run npm as admin but the err is still there. I know I know Ill get a Mac when I have the money.
npm ERR! Error: EPERM: operation not permitted, rename 'C:\Users\thpoi_000\AppDa
ta\Roaming\npm-cache\left-pad\0.0.3\package\package.json.9c8beeef26282c05de29b32
36dcf5e30' -> 'C:\Users\thpoi_000\AppData\Roaming\npm-cache\left-pad\0.0.3\packa
ge\package.json'
npm ERR! at Error (native)
npm ERR! { [Error: EPERM: operation not permitted, rename 'C:\Users\thpoi_000\A
ppData\Roaming\npm-cache\left-pad\0.0.3\package\package.json.9c8beeef26282c05de2
9b3236dcf5e30' -> 'C:\Users\thpoi_000\AppData\Roaming\npm-cache\left-pad\0.0.3\p
ackage\package.json']
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'rename',
npm ERR! path: 'C:\\Users\\thpoi_000\\AppData\\Roaming\\npm-cache\\left-pad\\0
.0.3\\package\\package.json.9c8beeef26282c05de29b3236dcf5e30',
npm ERR! dest: 'C:\\Users\\thpoi_000\\AppData\\Roaming\\npm-cache\\left-pad\\0
.0.3\\package\\package.json',
npm ERR! parent: 'line-numbers' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
Why, is this project using METEOR 1.2.1?
I thought mantra was supposed to be 1.3+ specific?
https://kadirahq.github.io/mantra/#sec-ES2015-Syntax-and-ES2015-Modules
Hi,
I've just tried hosting the public/
folder. By default, it should be in the root folder, so next to /src/
.
Perhaps it would be better to host this from /src/public
(and include it in the kickstarter)?
Related question: is there a ("best Mantra practice") way for including public resources in a Mantra module? It's a bit odd to be restricted to a public folder if a module depends on specific resources (i.e. template images).
Cheers,
Sander
Should this work with Meteor 1.3?
I'm getting the error Uncaught ReferenceError: __WebpackDevServerConfig__ is not defined
I already implementing FlowRouter SSR. but have one problem.
when defining FlowRouter.route
inside function (injectDeps)
. SSR won't working, but after defining FlowRouter.route
outside function (injectDeps)
it will work.
Hi Tomas,
Thanks for putting this boilerplate out! In regards to HMR, wouldn't it be a good idea to convert the bare react components that come bundled with Mantra's example blog app to use standard React components? Since there aren't that many (seems that mostly layout.main.jsx, post and postlist) - that way we'd get full HMR out of the box on this.
Thanks!
Dan.
Meteor 1.3 is out! I've updated webpack so I wanted to let you know so you can upgrade the packages :)
I was unable to solve this with other Mantra configurations, no usable response in the repo's as well. Can I do this with this kickstarter?
For example, I installed 'react-bootstrap' using npm, but I was unable to alter state of these components. May have something to do with state management. Not being able to reuse existing (legacy) component libraries would have me drop Mantra (kickstarter). Perhaps you(r webpack) solution can help me?
Hi - all I did was clone this and try to run it (no Meteor upgrade or anything - just as is) and am getting the following error:
ERROR in ./src/client.js
Module parse failed:src\client.js Line 1: Unexpected token
You may need an appropriate loader to handle this file type.
| import { FlowRouter } from 'meteor/kadira:flow-router';
|
| import './client/main.js';
@ multi main
Any idea why or what to try/check?
Has anyone successfully deployed a project to Modulus?
Hi Tomas,
I just installed this kickstarter. Love the Atom plugin you created(!!), so initialized it right after. Seems like it is not aligned with this kickstarter package yet. Some things I noticed:
src/client/main.js // kickstarter repo already has a similar index.js file
src/server/main.js //kickstarter repo already has a similar index.js file
src/server/methods/index.js //kickstarter repo has none
src/server/publications/index.js //kickstarter repo has none
What's your view on this?
Kind regards,
Sander
After running meteor upgrade
, the app doesn't work and raises the error:
Error: Can't find npm module 'react-addons-transition-group'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
Is it supposed to work with Meteor 1.3?
will this plugin still upgrade in the future when meteor is upgraded to (E.g. 1.4 or more)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.