When init new mean project, javascript files can't defined in html #978

Closed
ugurgungezerler opened this Issue Dec 23, 2014 · 11 comments

Projects

None yet

8 participants

@ugurgungezerler

When init new mean project, javascript files can't defined in html or in aggregated.js

@wladiston

Same problem here... I tried to downgrade the npm but not worked

@hugotown

I have the same problem ...

I wonder, you have implemented some kind of releases of the "stable-version"? I want to prevent clone what is currently in the repository without testing whether it works? ...

@FlorianKoerner

Same here

@liorkesos
Member

I'll check.
We need to have mean init clone "0.4.2" and not "latest"

@liorkesos liorkesos closed this Dec 23, 2014
@liorkesos liorkesos reopened this Dec 23, 2014
@Felizardo

+1

@Felizardo

screen shot 2014-12-23 at 11 10 58 am

mean status:\

MacFeliz:fundoDSJ Felizardo$ mean status

    MEAN Status
    -----------

    MEAN VERSION: 0.4.2

    DB connection successful!

    MongoDB URI: mongodb://localhost/mean-dev

    checking meanio and global mean-cli versions

/usr/local/lib/node_modules/mean-cli/node_modules/npm/node_modules/read-installed/read-installed.js:362
  Object.keys(deps).forEach(function (d) {
         ^
TypeError: Object.keys called on non-object
    at Function.keys (native)
    at unmarkExtraneous (/usr/local/lib/node_modules/mean-cli/node_modules/npm/node_modules/read-installed/read-installed.js:362:10)
    at /usr/local/lib/node_modules/mean-cli/node_modules/npm/node_modules/read-installed/read-installed.js:137:5
    at next (/usr/local/lib/node_modules/mean-cli/node_modules/npm/node_modules/read-installed/read-installed.js:185:14)
    at /usr/local/lib/node_modules/mean-cli/node_modules/npm/node_modules/read-installed/read-installed.js:169:14
    at Object.oncomplete (evalmachine.<anonymous>:107:15)
@liorkesos liorkesos added a commit that closed this issue Dec 23, 2014
@liorkesos liorkesos hardcoding assetmanager 1.1.1
Fixes #978 
npm install assetmanager@1.1.1 if you get an undefined error like in #978
3cb6e15
@liorkesos liorkesos closed this in 3cb6e15 Dec 23, 2014
@liorkesos
Member

basically to fix in this sitiation run
npm install assetmanager@1.1.1 .
Some change in assetmanager 1.1.2 is causing this. fixed by hardcoding package.json

@ugurgungezerler

thanks for solution 👍

@davecyen

Thanks. I had the same issue and this resolved it.

@hugotown

Thanks 👍
Solved!

@liorkesos liorkesos added a commit that referenced this issue Dec 23, 2014
@liorkesos liorkesos hardcoded devDependencies
To avoid bugs like #978
cfa7c14
@schapira

now its work good for me, thanks.
play time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment