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.

"components/formio/formio.component" does not exist in the hypothetical file system!

See original GitHub issue

Hi, I m trying to setup angular-formio code in my local machine. I just cloned the repo and ran npm run build command. But the build is failing with the following error:

"components/formio/formio.component" does not exist in the hypothetical file system!

This is the complete build log:

> gulp build

[12:34:09] Using gulpfile ~\Documents\testuser\angular-formio\gulpfile.js
[12:34:09] Starting 'build'...
[12:34:09] Starting 'clean'...
[12:34:09] Starting 'clean:dist'...
[12:34:09] Starting 'clean:tmp'...
[12:34:09] Starting 'clean:build'...
[12:34:09] Finished 'clean:dist' after 5.04 ms
[12:34:10] Finished 'clean:tmp' after 786 ms
[12:34:10] Finished 'clean:build' after 792 ms
[12:34:10] Finished 'clean' after 796 ms
[12:34:10] Starting 'compile'...
[12:34:10] Starting 'clean:dist'...
[12:34:10] Finished 'clean:dist' after 1.8 ms
[12:34:10] Starting 'copy:source'...
[12:34:12] Finished 'copy:source' after 1.88 s
[12:34:12] Starting 'styles-formio'...
[12:34:12] Starting 'styles-builder'...
[12:34:12] Starting 'formio-css'...
[12:34:12] Starting 'builder-css'...
[12:34:13] Finished 'styles-formio' after 793 ms
[12:34:13] Finished 'styles-builder' after 795 ms
[12:34:13] Finished 'builder-css' after 793 ms
[12:34:13] Finished 'formio-css' after 819 ms
[12:34:13] Starting 'inline-resources'...
[12:34:14] Finished 'inline-resources' after 1.31 s
[12:34:14] Starting 'ngc'...
[12:34:14] Starting 'ngc-angular'...
[12:34:14] Starting 'ngc-auth'...
[12:34:14] Starting 'ngc-auth-angular'...
[12:34:14] Starting 'ngc-manager'...
[12:34:14] Starting 'ngc-manager-angular'...
[12:34:14] Starting 'ngc-grid'...
[12:34:14] Starting 'ngc-grid-angular'...
[12:34:14] Starting 'ngc-resource'...
[12:34:14] Starting 'ngc-resource-angular'...
[12:34:21] Finished 'ngc' after 7.23 s
[12:34:27] Finished 'ngc-angular' after 12 s
[12:34:31] Finished 'ngc-auth' after 17 s
[12:34:36] Finished 'ngc-auth-angular' after 22 s
[12:34:43] Finished 'ngc-manager' after 29 s
[12:34:50] Finished 'ngc-manager-angular' after 36 s
[12:34:55] Finished 'ngc-grid' after 40 s
[12:35:00] Finished 'ngc-grid-angular' after 46 s
[12:35:08] Finished 'ngc-resource' after 54 s
[12:35:15] Finished 'ngc-resource-angular' after 1 min
[12:35:15] Starting 'rollup:fesm'...
[12:35:15] Starting 'rollup-auth:fesm'...
[12:35:15] Starting 'rollup-grid:fesm'...
[12:35:15] Starting 'rollup-resource:fesm'...
[12:35:15] Starting 'rollup:umd'...
[12:35:15] Starting 'rollup-manager:umd'...
[12:35:15] Starting 'rollup-grid:umd'...
[12:35:15] Starting 'rollup-resource:umd'...
'lodash' is imported by build\auth\auth.service.js, but could not be resolved – treating it as an external dependency
'formiojs' is imported by build\auth\auth.service.js, but could not be resolved – treating it as an external dependency
'@angular/router' is imported by build\auth\auth.module.js, but could not be resolved – treating it as an external dependency
[12:35:16] 'rollup-auth:fesm' errored after 640 ms
[12:35:16] Error in plugin "gulp-rollup"
Message:
    "components/formio/formio.component" does not exist in the hypothetical file system!
Details:
    domainEmitter: [object Object]
    domain: [object Object]
    domainThrown: false

[12:35:16] 'compile' errored after 1.08 min
[12:35:16] 'build' errored after 1.1 min
[12:35:16] The following tasks did not complete: rollup:fesm, rollup-grid:fesm, rollup-resource:fesm, rollup:umd, rollup-manager:umd, rollup-grid:umd, rollup-resource:umd
[12:35:16] Did you forget to signal async completion?
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! angular-formio@3.9.8 build: `gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-formio@3.9.8 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\testuser\AppData\Roaming\npm-cache\_logs\2019-05-13T07_05_16_484Z-debug.log

Can someone help me set up angular-formio in local? Thanks in advance

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
asamaha1commented, May 29, 2019

using gulp-better-rollup instead of gulp-rollup fixed the build for me

1reaction
Jefreesujitcommented, May 31, 2019

@travist, @wag110894 I have updated the pull request based on @ASmeha suggestion. Kindly take a look.

https://github.com/formio/angular-formio/pull/302

Read more comments on GitHub >

github_iconTop Results From Across the Web

"components/formio/formio.component" does not exist in the ...
Hi, I m trying to setup angular-formio code in my local machine. I just cloned the repo and ran npm run build command....
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