Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

yarn build failed with errors #57

Open
PsidomPC opened this issue Aug 15, 2018 · 5 comments
Open

yarn build failed with errors #57

PsidomPC opened this issue Aug 15, 2018 · 5 comments

Comments

@PsidomPC
Copy link

Cloned the github repo instead of following the one in README as it errors out as well, but when I do yarn build, I ran into the following error, what could be the issue? I already reinstalled nodejs to be the latest LTS:

yarn run v1.9.4
$ rimraf build && yarn ember-install && yarn build-ember && yarn build-vanilla && yarn build-webpack
$ cd src/ember-app && yarn && cd ../..
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
info fsevents@1.1.3: The platform "win32" is incompatible with this module.
info "fsevents@1.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[4/5] Linking dependencies...
warning " > ember-data@2.14.11" has unmet peer dependency "ember-inflector@^2.0.0".
[5/5] Building fresh packages...
$ bower install
$ cd src/ember-app && ember build --output-path ../../build/ember-app/ --environment production && cd ../..
cleaning up...
Build failed.
Build Canceled: Broccoli Builder ran into an error with Funnel plugin. 💥
ENOENT: no such file or directory, lstat 'C:\Users\XXX\VuePwa\single-spa-examples\src\ember-app\tmp\funnel-input_base_path-WvLdHVls.tmp\bower_components\single-spa-ember\amd\single-spa-ember.js'
Error: ENOENT: no such file or directory, lstat 'C:\Users\XXX\VuePwa\single-spa-examples\src\ember-app\tmp\funnel-input_base_path-WvLdHVls.tmp\bower_components\single-spa-ember\amd\single-spa-ember.js'
at Object.fs.lstatSync (fs.js:941:11)
at symlinkWindows (C:\Users\XXX\VuePwa\single-spa-examples\src\ember-app\node_modules\symlink-or-copy\index.js:106:25)
at Function.symlinkOrCopySync [as sync] (C:\Users\XXX\VuePwa\single-spa-examples\src\ember-app\node_modules\symlink-or-copy\index.js:63:5)
at Funnel._copy (C:\Users\XXX\VuePwa\single-spa-examples\src\ember-app\node_modules\broccoli-funnel\index.js:492:19)
at Funnel.processFile (C:\Users\XXX\VuePwa\single-spa-examples\src\ember-app\node_modules\broccoli-funnel\index.js:475:8)
at Funnel.applyPatch [as _applyPatch] (C:\Users\XXX\VuePwa\single-spa-examples\src\ember-app\node_modules\broccoli-funnel\index.js:389:12)
at Funnel. (C:\Users\XXX\VuePwa\single-spa-examples\src\ember-app\node_modules\broccoli-funnel\index.js:343:10)
at Array.forEach ()
at Funnel.processFilters (C:\Users\XXX\VuePwa\single-spa-examples\src\ember-app\node_modules\broccoli-funnel\index.js:342:11)
at Funnel.build (C:\Users\XXX\VuePwa\single-spa-examples\src\ember-app\node_modules\broccoli-funnel\index.js:258:10)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@joshalling
Copy link
Contributor

@PsidomPC I ran into the same error when I ran yarn build. It seems to be a problem specific to the ember framework. You can still run yarn start and the app will work with all the frameworks except ember.

@windust211
Copy link

same with my situation, now i am stuck by two issues.One is how to remove the emberjs part from the project and continue my building work, the other is how to install them online when building is done, thx!

@JerzyLesniak
Copy link

I have same problem and when i run yarn start, webpack server starts running but all i can see at localhost:8080 is 404 page not found. I'm was tryin to build ember&react app and now i don't think this library is good solution.

@filoxo
Copy link

filoxo commented Jan 13, 2019

@JerzyLesniak before making accusations that "this library is [not] a good solution", try actually solving this issue yourself. You're essentially asking for others to fix it for you, and that's not a sustainable model for open source. The current maintainers of single-spa don't use ember and I'm sure they'd appreciate help from anyone who knows ember well to fix this issue.

To everyone else, the error as I see it from the logs others have posted is that bower_components\single-spa-ember\amd\single-spa-ember.js doesn't exist. Maybe something/someone needs to run bower first? Clearly the issue is with the ember configuration, not necessarily single-spa.

@resourceF
Copy link

@PsidomPC I ran into the same error when I ran yarn build. It seems to be a problem specific to the ember framework. You can still run yarn start and the app will work with all the frameworks except ember.
What should I do if I want to build?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants