question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to build the project

See original GitHub issue

Short description of the problem:

Unable to build the project.

What behavior are you expecting?

Install all the node modules and run ionic serve with success.

Steps to reproduce: 1 - Download Zip file from Github.

2 - Extract Zip to a dir

3 - Run npm install in dir extract location

4 - Run ionic serve

[11:05:37] Finished 'sass' after 1.22 s
Caught exception:
 Error: ENOENT: no such file or directory, lstat 'c:\Users\hsantos\Desktop\ionic-conference-app-master\typings\index.d.ts'
    at Error (native)
    at Object.fs.lstatSync (fs.js:887:18)
    at Object.realpathSync (fs.js:1518:21)
    at c:\Users\hsantos\Desktop\ionic-conference-app-master\node_modules\tsify\index.js:58:38
    at Array.map (native)
    at DestroyableTransform.flush [as _flush] (c:\Users\hsantos\Desktop\ionic-conference-app-master\node_modules\tsify\index.js:58:6)
    at DestroyableTransform.<anonymous> (c:\Users\hsantos\Desktop\ionic-conference-app-master\node_modules\through2\node_modules\readable-stream\lib\_stream_transform.js:115:49)
    at DestroyableTransform.g (events.js:273:16)
    at emitNone (events.js:80:13)
    at DestroyableTransform.emit (events.js:179:7)

5 - Run another time npm install

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14

Ionic Info Cordova CLI: 6.3.1 Gulp version: CLI version 3.9.0 Gulp local: Local version 3.9.1 Ionic Framework Version: 2.0.0-beta.11 Ionic CLI Version: 2.0.0-beta.37 Ionic App Lib Version: 2.0.0-beta.20 OS: Node Version: v5.11.1

Windows 10

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
karelbecerracommented, Sep 1, 2016

A simple workaround (copy/move main.d.ts file):

‘cp typings/main.d.ts typings/index.d.ts’

more: (probably related with new ionic version 2.X) vi node_modules/ionic-gulp-browserify-typescript/index.js

var defaultOptions = { watch: false, src: [‘./app/app.ts’, ‘./typings/index.d.ts’], <--------

1reaction
napcatcommented, Sep 2, 2016

@mmazloum I forgot to mention, but I also tried to fix it running the:

typings install

I faced the same errors your are reporting.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to build project output group Content Files from
(Visual Studio 2010 Pro, .Net 4.0) I found the missing file using "Publish..." option. Right click on the web app. Up near the...
Read more >
Unable to build project output group - MSDN - Microsoft
I'm trying to learn about making an installer for a Windows desktop application I'm building, but running into an error without much info....
Read more >
Unable to build project for localization string extraction
The project can be successfully built and run. But when I export for localization, it shows this error message: Unable to build project...
Read more >
Unable to build project output group ... - Iron Speed Designer
Solution. This behavior occurs if dependency files for the Web application are missing from project. To resolve this behavior, you can replace any...
Read more >
VS2019 can't build any project - Visual Studio Feedback
I have just installed VS2019 Version 16.7. 4. I can't compile any c# project (WinForms, WPF and Console application ). and there are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found