Menu icon Foundation
foundation new not working

D:\a>foundation new abcd --libsass
Creating ./abcd
      create  abcd
Cloning into 'abcd'...
remote: Counting objects: 157, done.
rRemote: Total 157 (delta 0), reused 0 (delta 0)eceiving objects:  75% (118/157)

Receiving objects: 100% (157/157), 232.54 KiB | 99.00 KiB/s, done.
Resolving deltas: 100% (53/53), done.
Checking connectivity... done.
Installing dependencies with bower...
bower foundation#*               EPERM EPERM, mkdir 'C:\Users\User\AppData\Local
\Temp\LAPTOP1-User\bower\foundation-18764-PmeIKL'

Stack trace:
Error: EPERM, mkdir 'C:\Users\User\AppData\Local\Temp\LAPTOP1-User\bower\fo
undation-18764-PmeIKL'

Console trace:
Trace
    at StandardRenderer.error (C:\Users\User\AppData\Roaming\npm\node_modules\bo
wer\lib\renderers\StandardRenderer.js:82:17)
    at Logger.<anonymous> (C:\Users\User\AppData\Roaming\npm\node_modules\bower\
bin\bower:110:22)
    at Logger.EventEmitter.emit (events.js:95:17)
    at Logger.emit (C:\Users\User\AppData\Roaming\npm\node_modules\bower\node_mo
dules\bower-logger\lib\Logger.js:29:39)
    at C:\Users\User\AppData\Roaming\npm\node_modules\bower\lib\commands\index.j
s:40:20
    at _rejected (C:\Users\User\AppData\Roaming\npm\node_modules\bower\node_modu
les\q\q.js:797:24)
    at C:\Users\User\AppData\Roaming\npm\node_modules\bower\node_modules\q\q.js:
823:30
    at Promise.when (C:\Users\User\AppData\Roaming\npm\node_modules\bower\node_m
odules\q\q.js:1035:31)
    at Promise.promise.promiseDispatch (C:\Users\User\AppData\Roaming\npm\node_m
odules\bower\node_modules\q\q.js:741:41)
    at C:\Users\User\AppData\Roaming\npm\node_modules\bower\node_modules\q\q.js:
557:44

System info:
Bower version: 1.3.12
Node version: 0.10.26
OS: Windows_NT 6.1.7600 x64
C:/Ruby193/lib/ruby/gems/1.9.1/gems/foundation-1.0.4/lib/foundation/cli/generato
r.rb:131:in `read': No such file or directory - D:/a/abcd/bower_components/found
ation/scss/foundation/_settings.scss (Errno::ENOENT)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/foundation-1.0.4/lib/foundation
/cli/generator.rb:131:in `block (2 levels) in new'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/foundation-1.0.4/lib/foundation
/cli/generator.rb:131:in `open'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/foundation-1.0.4/lib/foundation
/cli/generator.rb:131:in `block in new'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions.rb
:184:in `block in inside'
        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:125:in `chdir'
        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:125:in `cd'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions.rb
:184:in `inside'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/foundation-1.0.4/lib/foundation
/cli/generator.rb:128:in `new'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/command.rb
:27:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/invocation
.rb:126:in `invoke_command'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor.rb:359:in
`dispatch'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/base.rb:44
0:in `start'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/foundation-1.0.4/bin/foundation
:4:in `<top (required)>'
        from C:/Ruby193/bin/foundation:23:in `load'
        from C:/Ruby193/bin/foundation:23:in `<main>'
            

         

I am using the 'foundation new abcd --libsass' command to create a new foundation project but it throws me the above error message. What is wrong?

libsass

D:\a>foundation new abcd --libsass
Creating ./abcd
      create  abcd
Cloning into 'abcd'...
remote: Counting objects: 157, done.
rRemote: Total 157 (delta 0), reused 0 (delta 0)eceiving objects:  75% (118/157)

Receiving objects: 100% (157/157), 232.54 KiB | 99.00 KiB/s, done.
Resolving deltas: 100% (53/53), done.
Checking connectivity... done.
Installing dependencies with bower...
bower foundation#*               EPERM EPERM, mkdir 'C:\Users\User\AppData\Local
\Temp\LAPTOP1-User\bower\foundation-18764-PmeIKL'

Stack trace:
Error: EPERM, mkdir 'C:\Users\User\AppData\Local\Temp\LAPTOP1-User\bower\fo
undation-18764-PmeIKL'

Console trace:
Trace
    at StandardRenderer.error (C:\Users\User\AppData\Roaming\npm\node_modules\bo
wer\lib\renderers\StandardRenderer.js:82:17)
    at Logger.<anonymous> (C:\Users\User\AppData\Roaming\npm\node_modules\bower\
bin\bower:110:22)
    at Logger.EventEmitter.emit (events.js:95:17)
    at Logger.emit (C:\Users\User\AppData\Roaming\npm\node_modules\bower\node_mo
dules\bower-logger\lib\Logger.js:29:39)
    at C:\Users\User\AppData\Roaming\npm\node_modules\bower\lib\commands\index.j
s:40:20
    at _rejected (C:\Users\User\AppData\Roaming\npm\node_modules\bower\node_modu
les\q\q.js:797:24)
    at C:\Users\User\AppData\Roaming\npm\node_modules\bower\node_modules\q\q.js:
823:30
    at Promise.when (C:\Users\User\AppData\Roaming\npm\node_modules\bower\node_m
odules\q\q.js:1035:31)
    at Promise.promise.promiseDispatch (C:\Users\User\AppData\Roaming\npm\node_m
odules\bower\node_modules\q\q.js:741:41)
    at C:\Users\User\AppData\Roaming\npm\node_modules\bower\node_modules\q\q.js:
557:44

System info:
Bower version: 1.3.12
Node version: 0.10.26
OS: Windows_NT 6.1.7600 x64
C:/Ruby193/lib/ruby/gems/1.9.1/gems/foundation-1.0.4/lib/foundation/cli/generato
r.rb:131:in `read': No such file or directory - D:/a/abcd/bower_components/found
ation/scss/foundation/_settings.scss (Errno::ENOENT)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/foundation-1.0.4/lib/foundation
/cli/generator.rb:131:in `block (2 levels) in new'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/foundation-1.0.4/lib/foundation
/cli/generator.rb:131:in `open'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/foundation-1.0.4/lib/foundation
/cli/generator.rb:131:in `block in new'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions.rb
:184:in `block in inside'
        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:125:in `chdir'
        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:125:in `cd'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/actions.rb
:184:in `inside'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/foundation-1.0.4/lib/foundation
/cli/generator.rb:128:in `new'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/command.rb
:27:in `run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/invocation
.rb:126:in `invoke_command'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor.rb:359:in
`dispatch'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/thor-0.19.1/lib/thor/base.rb:44
0:in `start'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/foundation-1.0.4/bin/foundation
:4:in `<top (required)>'
        from C:/Ruby193/bin/foundation:23:in `load'
        from C:/Ruby193/bin/foundation:23:in `<main>'
            

         

I am using the 'foundation new abcd --libsass' command to create a new foundation project but it throws me the above error message. What is wrong?

Jonathan about 5 years ago

same problem here, I'm going to try this out with some other "command line-less" programs like Koala or Scout, witch are free and includes Sass-Less compilers and compass

Marek about 5 years ago

Hi, for me it´s working. It seems that you need some more: "MS Visual Studio 2012 Express" should be installed too. Some of the Node Modules need´s it.
And if you´re working with a standard User, you should start the Shell with Admin.