Comments (11)
I am unable to reproduce it. I ran your configuration without any error.
Which node version are you using?
from grunt-ng-constant.
It's v0.10.21
from grunt-ng-constant.
Comment removed. See configs below.
from grunt-ng-constant.
Can you reproduce it when you are not using your generateEnvConfig
function and only execute grunt ngconstant:development
?
It would be nice if you could create a minimal example project where I can reproduce it.
from grunt-ng-constant.
If I leave everything apart of ng-constant from Gruntfile.js it works. Seems like some module interfering with it. Digging for more details
from grunt-ng-constant.
Alright, here goes minimal setup: https://gist.github.com/dmitryevseev/7428655
It boils down for me to ng-constant
+ jshint
.
from grunt-ng-constant.
It's resolved after updating jshint config (see new revision of gist). Still not sure why jshint task was breaking ng-constant.
from grunt-ng-constant.
Thats strage cause I am using jshint too for testing. What was exactly your change in the jshint config?
from grunt-ng-constant.
Yep, that's it
from grunt-ng-constant.
It seemed that app_files
variable was not defined, which caused the error. I don't know why this happened in the ngconstant
task instead of jshint
but this was a configuration error.
Closed for now.
from grunt-ng-constant.
@mlegenhausen Thanks for your time spent to help with this!
from grunt-ng-constant.
Related Issues (20)
- Unable to write "undefined" file HOT 4
- Add space option for backwards compability HOT 1
- Set value for a constant file with differents targets HOT 1
- Release 0.5.0 HOT 4
- Constant works only with string values, no support for functions HOT 3
- support function type HOT 8
- Release 1.0.0 HOT 3
- Objects and Function as constatnt. HOT 1
- DOCS: The example doesn't work well for generated constant value files HOT 3
- Pull Constants from .json File? HOT 1
- Usage in index.html HOT 3
- Is it possible to write a constant to an already existing module and not create a new one? HOT 1
- Add useStrict option to configuration HOT 6
- Dynamic constants HOT 1
- possible to add multiple ngconstants to a task? HOT 3
- options.deps in false by default HOT 1
- Update lodash please
- will the config file be built in main js file or will be inserted in index.html file? HOT 5
- Issue with no-shadow-restricted-names ESLint rule HOT 1
- Git vulnerability - Required updated version of merge plugin to ^1.2.1 HOT 1
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 grunt-ng-constant.