Comments (8)
What version of npm and node are you using, I would like try to recreate the issue.
from generator-mongoose.
Node is 0.12.2 and NPM is 2.7.5
I fixed the mkdir
and readFileAsString
deprecation issues here and am now getting errors with the index.html
:
ReferenceError: /Users/mimiflynn/Projects/generator-mongoose/app/templates/views/index.html:11
9| <div class="container">
10| <div class="navbar-header">
>> 11| <a class="navbar-brand" href="javascript:"><%= siteName %></a>
12| </div>
13| </div>
14| </div>
siteName is not defined
at eval (eval at <anonymous> (/Users/mimiflynn/Projects/generator-mongoose/node_modules/yeoman-generator/node_modules/mem-fs-editor/node_modules/ejs/lib/ejs.js:455:12), <anonymous>:11:28)
at /Users/mimiflynn/Projects/generator-mongoose/node_modules/yeoman-generator/node_modules/mem-fs-editor/node_modules/ejs/lib/ejs.js:482:14
at Object.exports.render (/Users/mimiflynn/Projects/generator-mongoose/node_modules/yeoman-generator/node_modules/mem-fs-editor/node_modules/ejs/lib/ejs.js:316:13)
at copy.process (/Users/mimiflynn/Projects/generator-mongoose/node_modules/yeoman-generator/node_modules/mem-fs-editor/actions/copy-tpl.js:18:18)
at applyProcessingFunc (/Users/mimiflynn/Projects/generator-mongoose/node_modules/yeoman-generator/node_modules/mem-fs-editor/actions/copy.js:12:16)
at EditionInterface.exports._copySingle (/Users/mimiflynn/Projects/generator-mongoose/node_modules/yeoman-generator/node_modules/mem-fs-editor/actions/copy.js:55:24)
at EditionInterface.exports.copy (/Users/mimiflynn/Projects/generator-mongoose/node_modules/yeoman-generator/node_modules/mem-fs-editor/actions/copy.js:22:17)
at EditionInterface.module.exports [as copyTpl] (/Users/mimiflynn/Projects/generator-mongoose/node_modules/yeoman-generator/node_modules/mem-fs-editor/actions/copy-tpl.js:16:8)
at MongooseGenerator.template (/Users/mimiflynn/Projects/generator-mongoose/node_modules/yeoman-generator/lib/actions/actions.js:134:11)
at MongooseGenerator.copy (/Users/mimiflynn/Projects/generator-mongoose/node_modules/yeoman-generator/lib/actions/actions.js:43:10)
from generator-mongoose.
On one computer I am running
node v0.10.36
npm 2.8.4
On another I am running:
node v0.12.3
npm 2.9.1
I couldn't recreate the issue.
@arvindr21 can you try to recreate this issue? What version of node and npm are you on?
@mimiflynn Can you update your npm?
from generator-mongoose.
Node: v0.12.0
npm: 2.10.0
I'm getting the same issue.
from generator-mongoose.
hmmm, what version of yo is everyone using?
I am using [email protected]
from generator-mongoose.
Ok I was able to recreate it.
Working on a fix now.
I was npm linked local to the module and was getting different results.
Will have solution soon, thanks everyone.
from generator-mongoose.
from generator-mongoose.
@mimiflynn & @hanhanx let me know if all is good.
from generator-mongoose.
Related Issues (12)
- /views/index.html Cannot read property 'get' of undefined HOT 6
- Configurable sub-generator? HOT 4
- Update package dependencies
- Sub Generator Failing Tests in Travis HOT 1
- Cannot call method 'slugify' of undefined HOT 4
- Version 0.0.5 will not install on a clean windows install due to "latest" on yo dependency
- Travis build failing because of path HOT 4
- undefined exception occurring when grunt is run
- TypeError: Cannot read property 'Base' of undefined
- Storing nested object? HOT 2
- Gruntfile.js error: Error: Running "watch" task Waiting... Warning: watch ENOSPC HOT 2
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-mongoose.